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

Integrate MetaLocator and Facebook Messenger 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_message`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action facebook-messenger write send_message \
  --inputs '{}'
```

## MetaLocator

### Identity
MetaLocator lets you create a store locator, dealer locator or searchable database and integrate it easily with your Website.

- App slug: metalocator
- Operations published here: 7 (3 events, 2 functions, 1 query, 1 search-or-write action)

### Authentication
Zapier connects to MetaLocator 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 metalocator
```

### Capabilities

#### Events (3)

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

##### Manually Updated Record
Triggers when a record in MetaLocator is manually edited or created by an admin or via Crowdsourcing.  This trigger does not include data changes caused by a bulk import.  This is useful for isolating record edits in MetaLocator that need to be synchronized with an external data source.

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

##### New Lead
Triggers when a new Lead is created in MetaLocator.

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

##### New User
Triggers when a new user is created

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

#### Functions (2)

Functions change something in MetaLocator.

##### Create Record
This action creates or updates a record in MetaLocator. 

- Type: write · Key: `insert_record`
- Requires: name
- Optional: description, published, mltable, lat, lng, tags
- SDK: `runAction({ app: "metalocator", actionType: "write", action: "insert_record" })`
- CLI: `npx zapier-sdk run-action metalocator write insert_record`

##### Update Record
This action updates a specific record in MetaLocator. 

- Type: write · Key: `update_record`
- Requires: ID, name
- Optional: description, published, mltable, lat, lng, tags
- SDK: `runAction({ app: "metalocator", actionType: "write", action: "update_record" })`
- CLI: `npx zapier-sdk run-action metalocator write update_record`

#### Queries (1)

Queries read from MetaLocator and return data. They change nothing.

##### Find Record
Finds a record in MetaLocator.  Search by MetaLocator-provided ID or a configured External Key

- Type: search · Key: `find_record`
- Requires: nothing
- Optional: id, mltable
- SDK: `runAction({ app: "metalocator", actionType: "search", action: "find_record" })`
- CLI: `npx zapier-sdk run-action metalocator search find_record`

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Records
Finds a record in MetaLocator.  Search by MetaLocator-provided ID or a configured External Key

- Type: search_or_write · Key: `find_record`
- Requires: name
- Optional: id, mltable, description, published, lat, lng, tags
- SDK: `runAction({ app: "metalocator", actionType: "search_or_write", action: "find_record" })`
- CLI: `npx zapier-sdk run-action metalocator search_or_write find_record`

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

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