# Facebook Lead Ads (for Business admins) + Tarvent Integrations: Connect with Zapier MCP
> zapier.com/apps/facebook-lead-ads-beta/integrations/tarvent
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Facebook Lead Ads (for Business admins) and Tarvent in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## 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

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action tarvent write audienceGroup \
  --inputs '{}'
```

## Facebook Lead Ads (for Business admins)

### Identity
Facebook lead ads make signing up for business information easy for people and more valuable for businesses. The Facebook lead ad app is useful for marketers who want to automate actions on their leads.

- App slug: facebook-lead-ads-beta
- Operations published here: 5 (2 events, 2 functions, 1 query)

### Authentication
Zapier connects to Facebook Lead Ads (for Business admins) 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 facebook-lead-ads-beta
```

### Capabilities

#### Events (2)

Events fire when something happens in Facebook Lead Ads (for Business admins). Use them to start a run.

##### New Comment on Ad
Triggers when a new comment on an Ad is created.

- Type: read · Key: `comment_on_ad`
- Requires: ad_id
- SDK: `runAction({ app: "facebook-lead-ads-beta", actionType: "read", action: "comment_on_ad" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads-beta read comment_on_ad`

##### New Lead
Triggers when a new lead is created.

- Type: read · Key: `lead`
- Requires: nothing
- Optional: form, FBLA_copy
- SDK: `runAction({ app: "facebook-lead-ads-beta", actionType: "read", action: "lead" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads-beta read lead`

#### Functions (2)

Functions change something in Facebook Lead Ads (for Business admins).

##### Create Lead Ad
Creates a new Lead Ad.

- Type: write · Key: `leadAd`
- Requires: adName, adset_id, creativeName, message, link, form, action_type, status
- Optional: description
- SDK: `runAction({ app: "facebook-lead-ads-beta", actionType: "write", action: "leadAd" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads-beta write leadAd`

##### Create Ad Statistics Report
Creates a report of Ad Statistics

- Type: write · Key: `report_adstatistics`
- Requires: date_preset
- Optional: action_attribution_windows, breakdowns, level, fields
- SDK: `runAction({ app: "facebook-lead-ads-beta", actionType: "write", action: "report_adstatistics" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads-beta write report_adstatistics`

#### Queries (1)

Queries read from Facebook Lead Ads (for Business admins) and return data. They change nothing.

##### Find Ad
Find Ad based on name.

- Type: search · Key: `find_ad`
- Requires: name
- SDK: `runAction({ app: "facebook-lead-ads-beta", actionType: "search", action: "find_ad" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads-beta search find_ad`

## Tarvent

### Identity
Tarvent marketing automation platform empowers businesses of all sizes by providing a great depth of features and customization to control every aspect of your customer's experience.

- App slug: tarvent
- Operations published here: 35 (17 events, 12 functions, 6 queries)

### Authentication
Zapier connects to Tarvent 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 tarvent
```

### Capabilities

#### Events (17)

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

##### Campaign Sent
Triggers when a campaign has been sent to a contact. WARNING: This will fire for every contact the campaign is sent to, please be careful using this trigger.

- Type: read · Key: `campaignSendFinish`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "campaignSendFinish" })`
- CLI: `npx zapier-sdk run-action tarvent read campaignSendFinish`

##### Contact Added to an Audience
Triggers when a new contact is added to an audience via import and manually.

- Type: read · Key: `contactAdded`
- Requires: action
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactAdded" })`
- CLI: `npx zapier-sdk run-action tarvent read contactAdded`

##### Campaign or Transactional Email Bounced
Triggers when a campaign or transactional email bounces (is rejected) for a contact.

- Type: read · Key: `contactBounced`
- Requires: entity, type, action
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactBounced" })`
- CLI: `npx zapier-sdk run-action tarvent read contactBounced`

##### Campaign or Transactional Link Clicked
Triggers when a link within a campaign or transactional email is clicked by a recipient.

- Type: read · Key: `contactClick`
- Requires: entity, campaignType, include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactClick" })`
- CLI: `npx zapier-sdk run-action tarvent read contactClick`

##### Contact Added or Removed From a Group
Triggers when a contact is added or removed from a group.

- Type: read · Key: `contactGroup`
- Requires: action, include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactGroup" })`
- CLI: `npx zapier-sdk run-action tarvent read contactGroup`

##### Contact Note Added
Triggers when a note is added to a contact.

- Type: read · Key: `contactNoteAdded`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactNoteAdded" })`
- CLI: `npx zapier-sdk run-action tarvent read contactNoteAdded`

##### Campaign or Transactional Email Opened
Triggers when a campaign or transactional email is opened by a recipient.

- Type: read · Key: `contactOpen`
- Requires: entity, campaignType, include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactOpen" })`
- CLI: `npx zapier-sdk run-action tarvent read contactOpen`

##### Contact Replied
Triggers when a contact replies.

- Type: read · Key: `contactReplied`
- Requires: entity, action
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactReplied" })`
- CLI: `npx zapier-sdk run-action tarvent read contactReplied`

##### Contact Status Changed
Triggers when a contact's status changes.

- Type: read · Key: `contactStatus`
- Requires: status, include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactStatus" })`
- CLI: `npx zapier-sdk run-action tarvent read contactStatus`

##### Contact Tag Added or Removed
Triggers when a tag is added or removed from a contact.

- Type: read · Key: `contactTag`
- Requires: action, include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactTag" })`
- CLI: `npx zapier-sdk run-action tarvent read contactTag`

##### Contact Unsubscribe
Triggers when a contact unsubscribes from an audience.

- Type: read · Key: `contactUnsubscribed`
- Requires: action
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactUnsubscribed" })`
- CLI: `npx zapier-sdk run-action tarvent read contactUnsubscribed`

##### Contact Profile Updated
Triggers when a contact's profile is updated.

- Type: read · Key: `contactUpdate`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "contactUpdate" })`
- CLI: `npx zapier-sdk run-action tarvent read contactUpdate`

##### Form Submission Received
Triggers when a known or unknown contact submits a sign up, profile update, or other form.

- Type: read · Key: `formSubmitted`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "formSubmitted" })`
- CLI: `npx zapier-sdk run-action tarvent read formSubmitted`

##### Landing Page Cta Performed
Triggers when a known or unknown contact performs a Call-To-Action within a landing page.

- Type: read · Key: `pagePerformed`
- Requires: include
- Optional: pageId, audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "pagePerformed" })`
- CLI: `npx zapier-sdk run-action tarvent read pagePerformed`

##### Survey Submission Received
Triggers when a known or unknown contact submits a survey.

- Type: read · Key: `surveySubmitted`
- Requires: include
- Optional: surveyId, audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "surveySubmitted" })`
- CLI: `npx zapier-sdk run-action tarvent read surveySubmitted`

##### Transaction Created
Triggers when a transactional email is created for a known or unknown contact.

- Type: read · Key: `transactionCreated`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "transactionCreated" })`
- CLI: `npx zapier-sdk run-action tarvent read transactionCreated`

##### Transaction Sent
Triggers when a transactional email is processed and sent to one or more recipients.

- Type: read · Key: `transactionSent`
- Requires: include
- Optional: audienceId, tag
- SDK: `runAction({ app: "tarvent", actionType: "read", action: "transactionSent" })`
- CLI: `npx zapier-sdk run-action tarvent read transactionSent`

#### Functions (12)

Functions change something in Tarvent.

##### Create an Audience Group
Creates an audience group in the selected audience.

- Type: write · Key: `audienceGroup`
- Requires: audienceId, name, isPublic
- Optional: description
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "audienceGroup" })`
- CLI: `npx zapier-sdk run-action tarvent write audienceGroup`

##### Add Note to Contact
Adds a note to a contact.

- Type: write · Key: `contactAddNote`
- Requires: contactId, note
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "contactAddNote" })`
- CLI: `npx zapier-sdk run-action tarvent write contactAddNote`

##### Add/Remove Contact From Audience Group
Adds or removes a contact from an audience group.

- Type: write · Key: `contactGroup`
- Requires: audienceId, contactId, action
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "contactGroup" })`
- CLI: `npx zapier-sdk run-action tarvent write contactGroup`

##### Add/Remove a Contact From a Journey
Adds or removes the contact from a journey.

- Type: write · Key: `contactJourney`
- Requires: contactId, journeyId, action
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "contactJourney" })`
- CLI: `npx zapier-sdk run-action tarvent write contactJourney`

##### Subscribe/Unsubscribe Contact From Audience
Subscribes or unsubscribe a contact in an audience.

- Type: write · Key: `contactStatus`
- Requires: contactId, status
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "contactStatus" })`
- CLI: `npx zapier-sdk run-action tarvent write contactStatus`

##### Add/Remove Contact Tag
Adds or removes a tag from contact.

- Type: write · Key: `contactTag`
- Requires: audienceId, contactId, action, tags
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "contactTag" })`
- CLI: `npx zapier-sdk run-action tarvent write contactTag`

##### Create/Update Contact
This action is used to create or update a contact in an audience.

- Type: write · Key: `create_contact`
- Requires: audienceId, email, updateAction
- Optional: groupAction, tagAction, tags, firstName, lastName, streetAddress, streetAddress2, addressLocality, addressRegion, postalCode, addressCountry, skipDoubleOptIn
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action tarvent write create_contact`

##### Generate a Custom Event
Generate a custom event in your Tarvent account.

- Type: write · Key: `customEventGen`
- Requires: customEventId, contactId
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "customEventGen" })`
- CLI: `npx zapier-sdk run-action tarvent write customEventGen`

##### Start/Stop Journey
Starts or stops a journey.

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

##### Send Campaign
Sends a copy of a campaign.

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

##### Add Contact to Suppression List
Creates a suppression filter in your account to suppress a contact.

- Type: write · Key: `suppressionFilter`
- Requires: email
- Optional: reason
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "suppressionFilter" })`
- CLI: `npx zapier-sdk run-action tarvent write suppressionFilter`

##### Send a Transactional Email
Sends a transactional email.

- Type: write · Key: `transaction`
- Requires: fromEmail, toEmail, subject, ignoreSuppressCheck
- Optional: groupName, bounceDomain, fromName, ccEmail, bccEmail, replyEmail, replyName, variables
- SDK: `runAction({ app: "tarvent", actionType: "write", action: "transaction" })`
- CLI: `npx zapier-sdk run-action tarvent write transaction`

#### Queries (6)

Queries read from Tarvent and return data. They change nothing.

##### Find Audience
Finds an audience by name or tags.

- Type: search · Key: `audience`
- Requires: nothing
- Optional: name, tags
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "audience" })`
- CLI: `npx zapier-sdk run-action tarvent search audience`

##### Find Audience Group
Finds an audience group by name.

- Type: search · Key: `audienceGroup`
- Requires: audienceId, name
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "audienceGroup" })`
- CLI: `npx zapier-sdk run-action tarvent search audienceGroup`

##### Find Campaign
Finds a campaign by name, status or tags.

- Type: search · Key: `campaign`
- Requires: nothing
- Optional: name, tags, status
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "campaign" })`
- CLI: `npx zapier-sdk run-action tarvent search campaign`

##### Find Contact
Finds a contact by your custom key data field (typically this is by email).

- Type: search · Key: `contact`
- Requires: audienceId, email
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "contact" })`
- CLI: `npx zapier-sdk run-action tarvent search contact`

##### Find Custom Event
Finds a custom event by name.

- Type: search · Key: `customEvent`
- Requires: nothing
- Optional: name
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "customEvent" })`
- CLI: `npx zapier-sdk run-action tarvent search customEvent`

##### Find Journey
Finds a journey by name, status or tags.

- Type: search · Key: `journey`
- Requires: nothing
- Optional: name, tags, status
- SDK: `runAction({ app: "tarvent", actionType: "search", action: "journey" })`
- CLI: `npx zapier-sdk run-action tarvent search journey`

## Frequently asked questions about automating with Facebook Lead Ads (for Business admins) and Tarvent

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Facebook Lead Ads (for Business admins) integrations: zapier.com/apps/facebook-lead-ads-beta/integrations.md
- Tarvent integrations: zapier.com/apps/tarvent/integrations.md
- Full page: zapier.com/apps/facebook-lead-ads-beta/integrations/tarvent
- SDK: npmjs.com/package/@zapier/zapier-sdk