< Back to all integrations
Social

Connect AI agents and workflows to Meta Lead Ads: get every lead from Facebook and Instagram forms the moment it arrives, and send outcomes back.

Book a demo
Meta Lead Ads
[ Meta Lead Ads + engini ]

Meta Lead Ads for AI agents and workflows.

engini lets your AI agents and workflows work with Meta Lead Ads: receive each lead from Facebook and Instagram lead forms the moment it is submitted, read forms and past leads, route the lead into the CRM with its campaign and ad, and send qualified and won outcomes back to Meta through the Conversions API so ads optimize for real pipeline. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Sign-inSign in with Facebook and choose the Pages whose leads engini reads
ReachLead forms, leads, ads and campaigns behind each lead, and Conversions API events
TriggersNew leads, the moment they are submitted
[ 01 / What agents can do ]

What your agent can do in Meta Lead Ads. Every tool is one you allow or leave out.

The Meta Lead Ads tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Get Lead Forms

Read the lead forms on a Page.

Read
Get Leads, Get Lead

Read submitted leads with their answers.

Read
Get Lead Source

Read the ad, ad set and campaign a lead came from.

Read

Write

Send Conversion Event

Send a qualified or won outcome back to Meta through the Conversions API.

Write

Any endpoint

Send API Request

Call any Meta Graph API endpoint, with the sign-in added for you.

Any call

Triggers

New Lead

A person submitted a Facebook or Instagram lead form.

Event

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Meta Lead Ads. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your Meta Lead Ads connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Meta Lead Ads tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects Meta Lead Ads and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Meta Lead Ads tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Meta Lead Ads and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Meta Lead Ads through engini
// .cursor/mcp.json: Cursor, connected to Meta Lead Ads through engini
{
"mcpServers": {
"engini-meta-lead-ads": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Meta Lead Ads connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“How many leads came from the agent gateway campaign this week?”
“Show the last ten leads from the demo request form.”
“Which ads bring leads that become opportunities?”
“Send last week's won deals back to Meta as conversions.”
“Which leads from yesterday have no owner in the CRM?”
“What did people answer to the company size question?”

Each request runs through the Meta Lead Ads tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Meta Lead Ads. Agents and workflows, across systems.

Marketing

Leads into the CRM in seconds

Each new lead is created in HubSpot or Salesforce with its campaign and ad, and the owner hears in Slack.

Meta Lead AdsHubSpotSalesforceSlack
Marketing

Ads that learn from pipeline

When a lead becomes an opportunity or a customer, the outcome goes back to Meta through the Conversions API.

SalesforceMeta Lead Ads
Sales

Fast follow-up

An agent enriches the lead, scores it and drafts the first email for the rep.

Meta Lead AdsClaudeOutlook
Marketing operations

Leads where people work

Leads land in a Google Sheet or Smartsheet for teams that work there.

Meta Lead AdsGoogle SheetsSmartsheet

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Meta Lead Ads and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Meta Lead Ads. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Meta Lead Ads tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Meta Lead Ads account and engini acts as that person, with their Meta Lead Ads permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ 05 / Set up ]

Connect Meta Lead Ads in three steps. Then decide what each agent may do.

Step 01

Sign in to Meta Lead Ads

Add a Meta Lead Ads connection, sign in with Facebook and choose the Pages and ad accounts. Your Page admin grants leads access to the connection.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Meta Lead Ads from Claude, ChatGPT, Cursor or your own code.

[ 06 / Questions ]

Meta Lead Ads and engini. Straight answers.

Can an AI agent write to Meta Lead Ads, or only read?

Both. engini has a tool to send conversion events back to Meta. Leads themselves are read only. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Does the agent act as me in Meta Lead Ads?

It acts as the Facebook user who signed in, with the Page and ad account access they granted. Every run is recorded under the person who started it.

Can a change in Meta Lead Ads start work?

Yes. Meta notifies engini the moment a lead form is submitted. A trigger starts a workflow, and that workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Meta Lead Ads API endpoint through the same connection, and give it only to the agents that need it.