# Prepear + Facebook Lead Ads Integrations: Connect with Zapier MCP
> zapier.com/apps/prepear/integrations/facebook-lead-ads
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Prepear and Facebook Lead Ads 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 · send_funnel_event`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "facebook-lead-ads",
  actionType: "write",
  action: "send_funnel_event",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action facebook-lead-ads write send_funnel_event \
  --inputs '{}'
```

## Prepear

### Identity
Prepear helps food bloggers sell subscriptions to their content.

- App slug: prepear
- Operations published here: 12 (12 events)

### Authentication
Zapier connects to Prepear 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 prepear
```

### Capabilities

#### Events (12)

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

##### Abandon Cart
This event occurs when a referred user creates a Prepear account during the checkout process for a Full Access or Prepear Gold subscription, but does not complete the purchase.

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

##### Gift Subscription Claimed
This event should fire when a gift recipient redeems their gift subscription.

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

##### Subscription Start
This event occurs when a referred user begins a new Prepear Gold or Full Access subscription. This will include subscriptions starting with or without a free trial.

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

##### Free User Sign-Up
This event occurs when a user signs up for a Prepear Free account and is referred by a Prepear Pro. This event does not include users who create an account during the checkout process, but never complete the checkout.

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

##### Meal Plan Start
This event should fire when a Meal Plan is added to the subscriber’s meal plan automatically by Prepear at the start of a subscription, and when the user adds a Meal Plan to the Meal Planner manually at any time during their subscription period. This event will occur for both Full Access and Prepear Gold subscribers. For fixed duration Meal Plans this event only fires when the meal plan is first added to the planner, not each time it restarts at the end of the fixed period.

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

##### Meal Plan Stop
Triggers when a user stops your meal plan.

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

##### Gift Subscription Purchase
This event occurs when a Full Access gift subscription is purchased by the gift giver. 

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

##### Subscription Canceled
This event occurs when a referred subscriber cancels their active subscription after the trial period has ended. It reflects the date the user took the action to cancel the subscription, not the actual end date of the subscription.

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

##### Subscription End
This event occurs when a referred subscriber’s subscription actually ends. For example, a user may have canceled an annual subscription 6 months into the subscription term, but have 6 months remaining on their subscription at that time. This event would fire one year after their sign-up date when their access to the service is actually revoked, not at the time the user took the action to cancel the subscription.

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

##### Subscription Start Without Trial
Triggers when a Subscription starts without a Trial. (depricated, use generic "Subscription Start" trigger)

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

##### Trial Canceled
This event occurs when a previously referred user who is on a free trial of a subscription cancels the subscription during the trial period. It reflects the date the user took the action to cancel the subscription, not the actual end date of the subscription.

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

##### Free Trial Successful Conversion
Triggers when a Free Trial is converted to a paying subscription.

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

## Facebook Lead Ads

### 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
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to Facebook Lead Ads 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
```

### Capabilities

#### Events (1)

Events fire when something happens in Facebook Lead Ads. Use them to start a run.

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

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

#### Functions (1)

Functions change something in Facebook Lead Ads.

##### Send Funnel Event
Publishes lead updates from your funnel to Meta Conversions API.

- Type: write · Key: `send_funnel_event`
- Requires: business, event_destination, lifecycle_stage_name, lead_event_source
- Optional: conversions_api_help, event_timestamp, customer_info_help, lead_id, email, phone_number, fbc, custom_data_help, value, currency, content_id, content_name, content_category, additional_data, test_event_code
- SDK: `runAction({ app: "facebook-lead-ads", actionType: "write", action: "send_funnel_event" })`
- CLI: `npx zapier-sdk run-action facebook-lead-ads write send_funnel_event`

## Frequently asked questions about automating with Prepear and Facebook Lead Ads

### 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
- Prepear integrations: zapier.com/apps/prepear/integrations.md
- Facebook Lead Ads integrations: zapier.com/apps/facebook-lead-ads/integrations.md
- Full page: zapier.com/apps/prepear/integrations/facebook-lead-ads
- SDK: npmjs.com/package/@zapier/zapier-sdk