# Facebook Messenger + MTARGET Integrations: Connect with Zapier MCP
> zapier.com/apps/facebook-messenger/integrations/mtarget
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Facebook Messenger and MTARGET 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 · save_contact`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action mtarget write save_contact \
  --inputs '{}'
```

## Facebook Messenger

### Identity
Facebook Messenger is a messaging app and platform. Users can send messages and exchange photos, videos, stickers, audio, and other files. This app on Zapier works for conversations that are sent to and from Facebook pages and does not yet support direct messages to a user.

- App slug: facebook-messenger
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to Facebook Messenger 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-messenger
```

### Capabilities

#### Events (1)

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

##### New Message Sent to Page
Triggers when a new Message is sent to a page.

- Type: read · Key: `message`
- Requires: page
- SDK: `runAction({ app: "facebook-messenger", actionType: "read", action: "message" })`
- CLI: `npx zapier-sdk run-action facebook-messenger read message`

#### Functions (1)

Functions change something in Facebook Messenger.

##### Send Message From Page
Send a message to a user from a page.

- Type: write · Key: `send_message`
- Requires: page, recipient_id, text
- Optional: response_msg
- SDK: `runAction({ app: "facebook-messenger", actionType: "write", action: "send_message" })`
- CLI: `npx zapier-sdk run-action facebook-messenger write send_message`

## MTARGET

### Identity
We help your business grow bigger and get you closer to customers. Use our platform to build awareness, data acquisition & management, and customer retention. MTARGET has been proven to effectively increase revenue generation.

- App slug: mtarget
- Operations published here: 3 (1 event, 2 functions)

### Authentication
Zapier connects to MTARGET 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 mtarget
```

### Capabilities

#### Events (1)

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

##### Form Submit
Trigger When There is New Form Submission

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

#### Functions (2)

Functions change something in MTARGET.

##### Save Contact
Save your new contact to MTARGET Contact Book

- Type: write · Key: `save_contact`
- Requires: firstname, email, label
- Optional: lastname, gender, birthdate, phone, company, city, country, note
- SDK: `runAction({ app: "mtarget", actionType: "write", action: "save_contact" })`
- CLI: `npx zapier-sdk run-action mtarget write save_contact`

##### Submit Form Data
Save all form responses to the MTARGET Form.

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

## Links
- Facebook Messenger integrations: zapier.com/apps/facebook-messenger/integrations.md
- MTARGET integrations: zapier.com/apps/mtarget/integrations.md
- Full page: zapier.com/apps/facebook-messenger/integrations/mtarget
- SDK: npmjs.com/package/@zapier/zapier-sdk