# Okidoki + Zapier

> Start Zaps when a goal is reached, a sale comes in or traffic jumps, and use your numbers in 8,000 apps.

Okidoki on Zapier starts your Zaps the moment something happens on your site, and lets any Zap read your numbers, make campaign links, add notes and ask Okidoki AI. Nothing in it is ever about a visitor or a customer: only totals and plain sentences.

## Connect

1. In Zapier, make a Zap and search for **Okidoki Analytics**.
2. Click **Sign in**, sign in to Okidoki, and choose the site Zapier may see (or all of them).
3. That is it. Each Zapier account or teammate connects on its own, and removing **Zapier** in Okidoki under **Settings → Connections → Apps** stops every connection and every Zap's webhook at once.

## Triggers

Triggers are instant: Okidoki sends each event to Zapier as it happens. They need Plus, like [webhooks](https://docs.okidoki.sh/webhooks).

| Trigger | Starts when |
| --- | --- |
| Goal Reached | A goal is reached, like a signup or a visit to the thank-you page. Once a day per goal, with the count so far |
| New Sales | New orders come in from a connected shop or payment platform |
| Traffic Spike | The last hour had at least three times the usual visitors |
| Weekly Check-in | Monday mornings, with last week in a few sentences |
| Site Down or Something Stopped | The site stops answering, visits, a goal or sales stop, and when each works again |
| Something Worth Knowing | Okidoki's background agent finds something worth knowing |
| New Event | Any event you pick, including quiet days and goals that go quiet |

Every trigger hands the Zap the same fields: `type`, `site`, `message` (one plain sentence, ready to post), `data` (the numbers) and `open_url`. See [the events](https://docs.okidoki.sh/webhooks#events) for what each one holds.

## Searches

| Search | Gives |
| --- | --- |
| Find Stats | Visitors, page views, bounce rate and time on site for a period, with the change from the period before and a one-line summary |
| Find Top List | Top pages, entry pages, sources, channels, campaigns, countries or devices, as a numbered list and as rows |
| Find Site | A site by its address |

## Actions

| Action | Does |
| --- | --- |
| Create Campaign Link | Makes a link with the right UTM tags, so visits and sales from it show up as one campaign |
| Add Note to Timeline | Marks something like "Newsletter sent" or "New prices", so Okidoki shows what it led to |
| Create Goal | Adds a goal: a page or an event |
| Ask Okidoki AI | Asks a question in plain words and gets a short answer. Each question uses one of your questions |

Notes and goals are made by your Zaps for you, which is part of Plus. Reading your numbers works on Free too, within the Free plan's daily reads.

## Ideas

- **New sale → Slack.** Trigger: New Sales. Action: Slack, send the `message` to #sales.
- **Monday numbers by email.** Trigger: Schedule, every Monday. Search: Find Stats for last 7 days and Find Top List for sources. Action: Gmail, send `summary` and the numbered list.
- **Newsletter goes out → note and link.** Trigger: Mailchimp or Klaviyo, campaign sent. Actions: Create Campaign Link, then Add Note to Timeline with the campaign's name.
- **Site down → SMS.** Trigger: Site Down or Something Stopped, only "The site is down". Action: SMS by Zapier.
- **Goal reached → spreadsheet.** Trigger: Goal Reached. Action: Google Sheets, add a row with the day and the count.
- **Ask on Fridays.** Trigger: Schedule, Fridays. Action: Ask Okidoki AI "What should I focus on next week?". Then post the answer to Microsoft Teams.

## Privacy

Zapier gets the same as any Okidoki app: totals and plain sentences, never a visitor, a customer, an email address or an IP address. It cannot see your account's email, team, keys or billing, or change your settings. See [Build an app](https://docs.okidoki.sh/apps) for the scopes.

