# Zapier — Datalyse Integrations
> zapier.com/apps/datalyse/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
Datalyse is the all-in-one Cloud-based CRM, VoIP and Marketing solution your modern Engagement Contact Centre needs.

- App slug: datalyse
- Operations published here: 11 (6 events, 5 functions)

## Authentication
Zapier connects to Datalyse via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- 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 datalyse
```

## 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/datalyse/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Datalyse 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 · leads_add_note`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action datalyse write leads_add_note \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Datalyse'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: "datalyse" }).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 datalyse --page-size 50 --max-items 200 --json
```

### Events (6)

Events fire when something happens in Datalyse. Use them to start a run.

#### New Lead
Trigger when a new lead is created

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

#### New Opportunity
Trigger when a new opportunity is created

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

#### New Task
Trigger when a new task is created

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

#### Lead Updated
Trigger when a lead is updated

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

#### Opportunity Updated
Trigger when a opportunityis updated

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

#### Task Updated
Trigger when a task updated

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

### Functions (5)

Functions change something in Datalyse.

#### Add Note to an Existing Lead
Add note to lead.

- Type: write · Key: `leads_add_note`
- Requires: lead_id, text
- SDK: `runAction({ app: "datalyse", actionType: "write", action: "leads_add_note" })`
- CLI: `npx zapier-sdk run-action datalyse write leads_add_note`

#### Create New Lead
Create a new lead

- Type: write · Key: `leads_create`
- Requires: country
- Optional: leadtypedatal, ESCOMPANIES, agent_id, status, name, phone, email, add_note
- SDK: `runAction({ app: "datalyse", actionType: "write", action: "leads_create" })`
- CLI: `npx zapier-sdk run-action datalyse write leads_create`

#### Delete Lead
Delete a lead_id

- Type: write · Key: `leads_delete`
- Requires: lead_id
- SDK: `runAction({ app: "datalyse", actionType: "write", action: "leads_delete" })`
- CLI: `npx zapier-sdk run-action datalyse write leads_delete`

#### Edit Lead
Edit lead details

- Type: write · Key: `leads_edit`
- Requires: lead_id
- Optional: agent_id, status, name, phone, email, country
- SDK: `runAction({ app: "datalyse", actionType: "write", action: "leads_edit" })`
- CLI: `npx zapier-sdk run-action datalyse write leads_edit`

#### Send SMS
Send sms text to phone number

- Type: write · Key: `sendsms`
- Requires: to, from, text
- Optional: lead_id
- SDK: `runAction({ app: "datalyse", actionType: "write", action: "sendsms" })`
- CLI: `npx zapier-sdk run-action datalyse write sendsms`

## Popular integrations
- [Datalyse + TikTok Lead Generation](zapier.com/apps/datalyse/integrations/tiktok-lead-generation.md)
- [Datalyse + Datadeck](zapier.com/apps/datalyse/integrations/datadeck.md)
- [Datalyse + Facebook Messenger](zapier.com/apps/datalyse/integrations/facebook-messenger.md)
- [Datalyse + Shopify](zapier.com/apps/datalyse/integrations/shopify.md)
- [Datalyse + Stripe (Legacy)](zapier.com/apps/datalyse/integrations/stripe-legacy.md)
- [Datalyse + Mailjet](zapier.com/apps/datalyse/integrations/mailjet.md)
- [Datalyse + TikTok Conversions](zapier.com/apps/datalyse/integrations/tiktok-conversion.md)
- [Datalyse + Odoo ERP Self Hosted](zapier.com/apps/datalyse/integrations/openerp.md)

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