---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

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

Integrate Facebook Lead Ads (for Business admins) and Jasmin 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `facebook-lead-ads-beta` and `jasmin`, then `enable_zapier_action`. If Facebook Lead Ads (for Business admins) or Jasmin isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Create/Update Sales Item is enabled, call `jasmin_create_update_sales_item`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "jasmin",
  actionType: "write",
  action: "jasmin_create_article",
  connection: connection.id,
  inputs: {
    organization: "", // Subscription
    itemKey: "", // Item Code
    description: "", // Description
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action jasmin write jasmin_create_article \
  --inputs '{"organization":"","itemKey":"","description":""}'
```

## 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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
- MCP tool: `facebook_lead_ads_for_business_admins_new_comment_` (before it's enabled, `execute_zapier_read_action` runs it)
- 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
- MCP tool: `facebook_lead_ads_for_business_admins_new_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- 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
- MCP tool: `facebook_lead_ads_for_business_admins_create_lead_` (before it's enabled, `execute_zapier_write_action` runs it)
- 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
- MCP tool: `facebook_lead_ads_for_business_admins_create_ad_st` (before it's enabled, `execute_zapier_write_action` runs it)
- 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
- MCP tool: `facebook_lead_ads_for_business_admins_find_ad` (before it's enabled, `execute_zapier_read_action` runs it)
- 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`

## Jasmin

### Identity
Jasmin is a Cloud Management Software by PRIMAVERA BSS that allows you to track your business any time and anywhere. Jasmin allows you to manage sales, payments, stocks, receipts, orders, etc., offering you KPIs and tips for your business.

- App slug: jasmin
- Operations published here: 14 (7 events, 7 functions)

### Authentication
Zapier connects to Jasmin 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 jasmin
```

### Capabilities

#### Events (7)

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

##### New Customer
Triggers when a new customer is created.

- Type: read · Key: `jasmin_businesscore_parties`
- Requires: organization
- Optional: prefix
- MCP tool: `jasmin_new_customer` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_businesscore_parties" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_businesscore_parties`

##### New Contact
Triggers when a new contact is created.

- Type: read · Key: `jasmin_corepatterns_contacts`
- Requires: organization
- MCP tool: `jasmin_new_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_corepatterns_contacts" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_corepatterns_contacts`

##### New Invoice
Triggers when a new invoice is created.

- Type: read · Key: `jasmin_invoices`
- Requires: organization
- Optional: company
- MCP tool: `jasmin_new_invoice` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_invoices" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_invoices`

##### New Memo
Triggers when a new memo is created.

- Type: read · Key: `jasmin_memos`
- Requires: organization
- Optional: company
- MCP tool: `jasmin_new_memo` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_memos" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_memos`

##### New Sales Item
Triggers when a new Sale Item is created.

- Type: read · Key: `jasmin_salescore_salesitems`
- Requires: organization
- MCP tool: `jasmin_new_sales_item` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_salescore_salesitems" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_salescore_salesitems`

##### New Sales Order
Triggers when a new order is created.

- Type: read · Key: `jasmin_sales_orders`
- Requires: organization
- Optional: company
- MCP tool: `jasmin_new_sales_order` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_sales_orders" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_sales_orders`

##### New Delivery
Triggers when a new shipping delivery is created.

- Type: read · Key: `jasmin_shipping_delivery`
- Requires: organization
- Optional: company
- MCP tool: `jasmin_new_delivery` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "read", action: "jasmin_shipping_delivery" })`
- CLI: `npx zapier-sdk run-action jasmin read jasmin_shipping_delivery`

#### Functions (7)

Functions change something in Jasmin.

##### Create/Update Sales Item
Creates a new sales item or updates an existing sales item.

- Type: write · Key: `jasmin_create_article`
- Requires: organization, itemKey, description
- Optional: prefix, complementaryDescription, itemTaxSchema, barcode, image
- MCP tool: `jasmin_create_update_sales_item` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_article" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_article`

##### Create/Update Customer
Creates a new customer ou updates an existing customer.

- Type: write · Key: `jasmin_create_client`
- Requires: organization, partyKey, contactType, name
- Optional: prefix, customerGroup, Birthdate, gender, streetName, buildingNumber, postalZone, cityName, country, electronicMail, businessTelephone, homeTelephone, mobile, currency, paymentMethod, paymentTerm, deliveryTerm, facebook, websiteUrl, linkedIn, picture, notes, companyTaxID
- MCP tool: `jasmin_create_update_customer` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_client" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_client`

##### Create/Update Contact
Creates a new Contact.

- Type: write · Key: `jasmin_create_contact`
- Requires: organization, contactType, name
- Optional: naturalKey, currency, birthDate, gender, streetName, buildingNumber, postalZone, cityName, country, electronicMail, businessTelephone, homeTelephone, mobile, facebook, websiteUrl, linkedIn, picture, pictureThumbnail, notes, companyTaxID
- MCP tool: `jasmin_create_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_contact" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_contact`

##### Create Invoice
Creates a new invoice.

- Type: write · Key: `jasmin_create_invoice`
- Requires: organization, company, customer, itemKey, description, quantity, price, baseUnit, itemTaxSchema
- Optional: documenttype, prefix, currency, paymentMethod, paymentTerm, deliveryTerm, serie, customerDiscount, notes, priceList, warehouse, divisionFactor, product_currency, discount, billingName, billingTaxID, billingAddress, total_shipping, shippingDescription, shippingItemTaxSchema, remarks
- MCP tool: `jasmin_create_invoice` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_invoice" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_invoice`

##### Create Sales Order (Legacy)
Creates a new sales order.

- Type: write · Key: `jasmin_create_order`
- Requires: organization, customer, itemKey, description, quantity, price, baseUnit, itemTaxSchema
- Optional: documenttype, prefix, currency, paymentMethod, paymentTerm, deliveryTerm, serie, customerDiscount, parentItemKey, warehouse, product_currency, discount, removeTax, total_shipping, shipping_item, shippingDescription, notes
- MCP tool: `jasmin_create_sales_order_legacy` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_order" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_order`

##### Create Sales Order
Creates a new sales order.

- Type: write · Key: `jasmin_create_order_v2`
- Requires: organization, company, customer, itemKey, description, quantity, price, baseUnit, itemTaxSchema
- Optional: documenttype, prefix, currency, paymentMethod, paymentTerm, deliveryTerm, serie, customerDiscount, notes, priceList, warehouse, divisionFactor, product_currency, discount, billingName, billingTaxID, billingAddress, total_shipping, shipping_item, shippingDescription, remarks
- MCP tool: `jasmin_create_sales_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_order_v2" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_order_v2`

##### Create Delivery
Creates a new shipping delivery.

- Type: write · Key: `jasmin_create_shipping_delivery`
- Requires: organization, company, customer, deliveryTerm, itemKey, description, warehouse, quantity, baseUnit, price, loadingDateTime, loadingCountry, unloadingDateTime, unloadingCountry
- Optional: documenttype, prefix, currency, paymentMethod, paymentTerm, serie, customerDiscount, priceList, accountingParty, exchangeRate, loadingPostalZone, loadingCityName, loadingStreetName, loadingBuildingNumber, unloadingPostalZone, unloadingCityName, unloadingStreetName, unloadingBuildingNumber
- MCP tool: `jasmin_create_delivery` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "jasmin", actionType: "write", action: "jasmin_create_shipping_delivery" })`
- CLI: `npx zapier-sdk run-action jasmin write jasmin_create_shipping_delivery`

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

### 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
- Jasmin integrations: zapier.com/apps/jasmin/integrations.md
- Full page: zapier.com/apps/facebook-lead-ads-beta/integrations/jasmin
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk