# Zapier

Connect Mojobase to the other apps your business uses. A Zap can start when an email, a form response, a deal, a booking or a task arrives in Mojobase, and it can add tasks, people and deals, write email drafts and post in Chat.

Zapier works in Mojobase as you, with exactly your access, like any agent you connect. Everything it changes shows in Activity under Zapier, with Undo where that app offers it.

## Connect

Mojobase isn't in Zapier's app list yet. Open [this invite](https://zapier.com/developer/public-invite/250146/524055/37f15f9a8e6a598b74811143ead1e6c1/) once, signed in to Zapier, and accept it. Mojobase then shows among your apps in Zapier.

1. In Mojobase, open **Agents → Connected** and choose **New key**.
2. Name it Zapier, tick only the apps your Zaps need, and choose **Make key**.
3. Copy the key. It's shown only once.
4. In Zapier, add Mojobase to a Zap, choose **Connect a new account**, paste the key and choose **Connect**.

Zapier shows the connection as your email and your company's name. To connect another company, make a key there too.

## What starts a Zap (triggers)

Zapier checks Mojobase for new items every 1 to 15 minutes, depending on your Zapier plan.

| Trigger | Starts when | You can choose |
|---|---|---|
| **New Email** | An email arrives | A mailbox, a folder, and search words (like `from:acme invoice`) |
| **New Form Response** | Someone sends one of your forms. Each question's answer is a field you can use | One form |
| **New Deal** | A deal is added in Customers | |
| **Deal Changed Stage** | A deal moves to another stage | Only one stage, like Won |
| **New Booking** | Someone books a time with one of your booking links | |
| **New Task** | A task is added in Tasks | A project, or only tasks given to you |

Deal Changed Stage fires once per deal for each stage it reaches. If a deal goes back to a stage it was in before, it may not fire again for that stage.

## What a Zap can do (actions)

| Action | What it does |
|---|---|
| **Create Task** | Adds a task, with a due date and time, priority, project, labels, or a teammate to give it to |
| **Create Person** | Adds a person to Customers, filed under their company |
| **Find Person** | Finds a person by name, email or other words. Tick its option to create them if they're not there, so the Zap adds them instead |
| **Create Deal** | Adds a deal with its value, stage and person |
| **Update Deal** | Changes only the fields you fill in. Moving a deal means changing its stage |
| **Find Deal** | Finds a deal by its words. Tick its option to create it if it's not there |
| **Create Draft Email** | Writes a draft, either a new email or a reply to one from New Email. It is never sent: you check it and choose **Send** in Mojobase |
| **Send Channel Message** | Posts in a Chat channel or conversation you're in, or replies in a thread |

Zapier needs every Zap to make or change something, so a Zap whose only Mojobase step is a Find needs that create option ticked.

## The rules Zapier follows

- **It sees only what you see,** and only the apps ticked on its key. Nothing in a mailbox, calendar or space with AI switched off reaches Zapier.
- **Nothing is emailed without you.** Zapier can only write drafts.
- **Each app's own rules still apply.** For example, calendar guests wait for your approval.
- **Switch the key off** in **Agents → Connected** and every Zap that uses it stops at once. Zapier turns those Zaps off and emails you to reconnect.

## When something goes wrong

Zapier shows Mojobase's reason in your Zap history:

- **"This key doesn't open Email"** (or another app): tick that app on the key in **Agents → Connected**. If it's Calendar and you've never opened it, open Calendar in Mojobase once.
- **"Mojobase no longer takes this key"**: the key was switched off. Make a new key and reconnect Mojobase in Zapier.
- **"AI is off here"**: an owner can turn AI on in **Settings → AI**.
- **"Mojobase is busy"**: Zapier tries again shortly. A key can make up to 120 requests a minute.
