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

Integrate Scarlett Network 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 '{}'
```

## Scarlett Network

### Identity
Scarlett is a broker in a box software as a service solution tailored for mortgage brokers and lenders. Some its features include; point of sale, Compliance and Payroll

- App slug: scarlett-network
- Operations published here: 4 (4 events)

### Authentication
Zapier connects to Scarlett Network 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 scarlett-network
```

### Capabilities

#### Events (4)

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

##### Deal Updated
Triggers when deal is saved.

- Type: read · Key: `DealUpdated`
- Requires: agents
- SDK: `runAction({ app: "scarlett-network", actionType: "read", action: "DealUpdated" })`
- CLI: `npx zapier-sdk run-action scarlett-network read DealUpdated`

##### Lender Response Received
Triggers when deal response is received by lender.

- Type: read · Key: `LenderResponse`
- Requires: agents
- SDK: `runAction({ app: "scarlett-network", actionType: "read", action: "LenderResponse" })`
- CLI: `npx zapier-sdk run-action scarlett-network read LenderResponse`

##### Application Submitted by Borrower
Triggers when mortgage application is submitted by borrower.

- Type: read · Key: `OnlineApp`
- Requires: agents
- SDK: `runAction({ app: "scarlett-network", actionType: "read", action: "OnlineApp" })`
- CLI: `npx zapier-sdk run-action scarlett-network read OnlineApp`

##### Deal Submitted to Lender
Triggers when deal is submitted to lender.

- Type: read · Key: `Submission`
- Requires: agents
- SDK: `runAction({ app: "scarlett-network", actionType: "read", action: "Submission" })`
- CLI: `npx zapier-sdk run-action scarlett-network read Submission`

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

## Links
- Scarlett Network integrations: zapier.com/apps/scarlett-network/integrations.md
- Facebook Lead Ads integrations: zapier.com/apps/facebook-lead-ads/integrations.md
- Full page: zapier.com/apps/scarlett-network/integrations/facebook-lead-ads
- SDK: npmjs.com/package/@zapier/zapier-sdk