# Zapier — e-roi Integrations
> zapier.com/apps/e-roi/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
e-roi is a marketing and sales platform that connects paid media, the inbox and the CRM in one base, so every sale has a known source.

- App slug: e-roi
- Operations published here: 26 (10 events, 13 functions, 2 queries, 1 search-or-write action)

## Authentication
Zapier connects to e-roi via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection e-roi
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/e-roi/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect e-roi through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_contact_to_list`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "e-roi", owner: "me" });

const { data } = await zapier.runAction({
  app: "e-roi",
  actionType: "write",
  action: "add_contact_to_list",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action e-roi write add_contact_to_list \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing e-roi's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "e-roi" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions e-roi --page-size 50 --max-items 200 --json
```

### Events (10)

Events fire when something happens in e-roi. Use them to start a run.

#### Deal Lost
Triggers when a deal is marked as lost.

- Type: read · Key: `deal_lost`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "deal_lost" })`
- CLI: `npx zapier-sdk run-action e-roi read deal_lost`

#### Deal Stage Changed
Triggers when a deal moves to another stage of the pipeline.

- Type: read · Key: `deal_stage_changed`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "deal_stage_changed" })`
- CLI: `npx zapier-sdk run-action e-roi read deal_stage_changed`

#### Deal Won
Triggers when a deal is marked as won (a sale).

- Type: read · Key: `deal_won`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "deal_won" })`
- CLI: `npx zapier-sdk run-action e-roi read deal_won`

#### New Contact
Triggers when a new contact is created in e-roi.

- Type: read · Key: `new_contact`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_contact" })`
- CLI: `npx zapier-sdk run-action e-roi read new_contact`

#### New Conversation
Triggers when a new conversation starts in the e-roi inbox (WhatsApp, Instagram, Messenger or site chat). Runs once per conversation; to run on every customer message, use New Message Received.

- Type: read · Key: `new_conversation`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_conversation" })`
- CLI: `npx zapier-sdk run-action e-roi read new_conversation`

#### New Deal
Triggers when a new deal is created in the CRM.

- Type: read · Key: `new_deal`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_deal" })`
- CLI: `npx zapier-sdk run-action e-roi read new_deal`

#### New Form Submission
Triggers when a lead submits an e-roi form or landing page.

- Type: read · Key: `new_form_submission`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_form_submission" })`
- CLI: `npx zapier-sdk run-action e-roi read new_form_submission`

#### New Message Received
Triggers when a customer sends a message to the e-roi inbox. Runs on every message, including the first message of a new conversation (which also triggers New Conversation).

- Type: read · Key: `new_message`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_message" })`
- CLI: `npx zapier-sdk run-action e-roi read new_message`

#### New Task
Triggers when a task is scheduled on a deal.

- Type: read · Key: `new_task`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "new_task" })`
- CLI: `npx zapier-sdk run-action e-roi read new_task`

#### Updated Contact
Triggers when a contact is updated (name, email, phone, owner, tags or custom fields).

- Type: read · Key: `updated_contact`
- Requires: nothing
- SDK: `runAction({ app: "e-roi", actionType: "read", action: "updated_contact" })`
- CLI: `npx zapier-sdk run-action e-roi read updated_contact`

### Functions (13)

Functions change something in e-roi.

#### Add Contact to List
Adds a contact to a static e-roi list (used by email campaigns).

- Type: write · Key: `add_contact_to_list`
- Requires: contact_id, list_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "add_contact_to_list" })`
- CLI: `npx zapier-sdk run-action e-roi write add_contact_to_list`

#### Add Tag to Contact
Adds a CRM tag to a contact. A new tag name is created.

- Type: write · Key: `add_tag_to_contact`
- Requires: contact_id, tag
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "add_tag_to_contact" })`
- CLI: `npx zapier-sdk run-action e-roi write add_tag_to_contact`

#### Add Tag to Deal
Adds a CRM tag to a deal. A new tag name is created.

- Type: write · Key: `add_tag_to_deal`
- Requires: opportunity_id, tag
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "add_tag_to_deal" })`
- CLI: `npx zapier-sdk run-action e-roi write add_tag_to_deal`

#### Create Deal
Creates a deal in the CRM. With an email or phone, the contact is found or created first.

- Type: write · Key: `create_deal`
- Requires: title
- Optional: contact_id, contact_name, contact_email, contact_phone, pipeline_id, stage_id, value, owner_id, source, expected_close_date
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "create_deal" })`
- CLI: `npx zapier-sdk run-action e-roi write create_deal`

#### Create Note
Adds a note to a deal (timeline) or to a contact (notes field).

- Type: write · Key: `create_note`
- Requires: text
- Optional: opportunity_id, contact_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "create_note" })`
- CLI: `npx zapier-sdk run-action e-roi write create_note`

#### Create Task
Schedules a task on a deal. It goes to the deal owner unless you pick someone.

- Type: write · Key: `create_task`
- Requires: opportunity_id, title, due_at
- Optional: type, description, owner_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action e-roi write create_task`

#### Enroll Contact in Cadence
Puts a contact in a sales cadence (follow-up steps of the CRM).

- Type: write · Key: `enroll_contact_in_cadence`
- Requires: contact_id, cadence_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "enroll_contact_in_cadence" })`
- CLI: `npx zapier-sdk run-action e-roi write enroll_contact_in_cadence`

#### Mark Deal as Lost
Moves the deal to the lost stage of its pipeline, with the lost reason.

- Type: write · Key: `mark_deal_lost`
- Requires: opportunity_id, lost_reason_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "mark_deal_lost" })`
- CLI: `npx zapier-sdk run-action e-roi write mark_deal_lost`

#### Mark Deal as Won
Moves the deal to the won stage of its pipeline (a sale).

- Type: write · Key: `mark_deal_won`
- Requires: opportunity_id
- Optional: value
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "mark_deal_won" })`
- CLI: `npx zapier-sdk run-action e-roi write mark_deal_won`

#### Move Deal to Stage
Moves a deal to another stage. Required fields of the stage are checked like in the CRM.

- Type: write · Key: `move_deal_stage`
- Requires: opportunity_id, stage_id
- Optional: pipeline_id, lost_reason_id, value, estimated_value, expected_close_date, owner_id
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "move_deal_stage" })`
- CLI: `npx zapier-sdk run-action e-roi write move_deal_stage`

#### Update Contact
Updates an existing contact. Blank fields are left as they are.

- Type: write · Key: `update_contact`
- Requires: contact_id
- Optional: email, phone, name, company, source, lifecycle_stage, owner_id, marketing_opt_in, notes
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action e-roi write update_contact`

#### Update Deal
Updates a deal (title, value, owner, contact, source, close date or custom fields). Blank fields are left as they are.

- Type: write · Key: `update_deal`
- Requires: opportunity_id
- Optional: title, value, owner_id, contact_id, source, expected_close_date
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "update_deal" })`
- CLI: `npx zapier-sdk run-action e-roi write update_deal`

#### Create or Update Contact
Creates a contact, or updates it when the email or phone already exists.

- Type: write · Key: `upsert_contact`
- Requires: nothing
- Optional: email, phone, name, company, source, lifecycle_stage, owner_id, marketing_opt_in, notes
- SDK: `runAction({ app: "e-roi", actionType: "write", action: "upsert_contact" })`
- CLI: `npx zapier-sdk run-action e-roi write upsert_contact`

### Queries (2)

Queries read from e-roi and return data. They change nothing.

#### Find Contact
Finds a contact by email or phone.

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: email, phone
- SDK: `runAction({ app: "e-roi", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action e-roi search find_contact`

#### Find Deal
Finds deals by title, contact, email or phone (newest first).

- Type: search · Key: `find_deal`
- Requires: nothing
- Optional: title, contact_id, email, phone, status, pipeline_id
- SDK: `runAction({ app: "e-roi", actionType: "search", action: "find_deal" })`
- CLI: `npx zapier-sdk run-action e-roi search find_deal`

### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

#### Find or Create Contact
Finds a contact by email or phone, or creates it.

- Type: search_or_write · Key: `find_contact`
- Requires: nothing
- Optional: email, phone, name, company, source, lifecycle_stage, owner_id, marketing_opt_in, notes
- SDK: `runAction({ app: "e-roi", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action e-roi search_or_write find_contact`

## Popular integrations
- [e-roi + Airtable](zapier.com/apps/e-roi/integrations/airtable.md)
- [e-roi + ActiveCampaign](zapier.com/apps/e-roi/integrations/activecampaign.md)

## Links
- Full app page: zapier.com/apps/e-roi/integrations
- MCP: zapier.com/mcp/e-roi
- SDK: npmjs.com/package/@zapier/zapier-sdk