# Facebook Pages + Moderation API Integrations: Connect with Zapier MCP
> zapier.com/apps/facebook-pages/integrations/moderation-api
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Facebook Pages and Moderation API 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 · allow_content`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action moderation-api write allow_content \
  --inputs '{}'
```

## Facebook Pages

### Identity
Facebook Pages lets you connect with your customers, fans and followers on the world's largest social network. Share relevant content to engage people who Like your page, create events to build and grow your community, and run a Facebook ad campaign by targeting location, age and more.

- App slug: facebook-pages
- Operations published here: 11 (5 events, 6 functions)

### Authentication
Zapier connects to Facebook Pages 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-pages
```

### Capabilities

#### Events (5)

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

##### New Comment
Triggers when a new comment is created.

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

##### New Page Mention / Tag
Triggers when your page is mentioned or tagged in a post.

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

##### New Post to Your Timeline
Triggers when anyone (including you) posts to your Page's Timeline.

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

##### New Post by You
Triggers when you post to your Page's Timeline.

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

##### New Recommendation
Triggers when your Facebook Page receives a new recommendation.

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

#### Functions (6)

Functions change something in Facebook Pages.

##### Change Page Profile Photo
Changes the profile picture of a Facebook Page.

- Type: write · Key: `change_profile_picture`
- Requires: page, source
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "change_profile_picture" })`
- CLI: `npx zapier-sdk run-action facebook-pages write change_profile_picture`

##### Create Page Post as Draft
Saves a new post as a draft in Meta Business Suite under Content, then Drafts, instead of publishing it to your Page.

- Type: write · Key: `draft_page_post`
- Requires: page, message
- Optional: source, link_url
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "draft_page_post" })`
- CLI: `npx zapier-sdk run-action facebook-pages write draft_page_post`

##### Create Page Photo
Uploads a photo to your Facebook Page and posts it to the stream.

- Type: write · Key: `page_photo`
- Requires: page, source
- Optional: message
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_photo" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_photo`

##### Page Post Insights
Generates page post insights. You can include multiple metrics.

- Type: write · Key: `page_post_metrics`
- Requires: page, post_id, metrics
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_post_metrics" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_post_metrics`

##### Create Page Post
Create a new page "stream" post on a page.

- Type: write · Key: `page_stream`
- Requires: page, message
- Optional: source, link_url, save_as_draft
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_stream" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_stream`

##### Create Page Video
Uploads a video to your Facebook Page and posts it to the stream.

- Type: write · Key: `page_video`
- Requires: page, source
- Optional: title, description
- SDK: `runAction({ app: "facebook-pages", actionType: "write", action: "page_video" })`
- CLI: `npx zapier-sdk run-action facebook-pages write page_video`

## Moderation API

### Identity
Moderation API is a content moderation platform that checks text, images and video, routes flagged content to review queues and blocks repeat offenders.

- App slug: moderation-api
- Operations published here: 14 (7 events, 6 functions, 1 query)

### Authentication
Zapier connects to Moderation API 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 moderation-api
```

### Capabilities

#### Events (7)

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

##### Author Blocked
Triggers when an author (one of your users) is blocked.

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

##### Author Suspended
Triggers when an author is suspended for a while.

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

##### Author Unblocked
Triggers when a blocked or suspended author is enabled again.

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

##### New Item in Review Queue
Triggers when content lands in a review queue and waits for a moderator.

- Type: read · Key: `new_queue_item`
- Requires: queueId
- SDK: `runAction({ app: "moderation-api", actionType: "read", action: "new_queue_item" })`
- CLI: `npx zapier-sdk run-action moderation-api read new_queue_item`

##### Custom Action on Content
Triggers when a moderator runs one of your custom actions on a queue item (built-in allow and reject have their own triggers).

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

##### Content Allowed
Triggers when content is allowed in a review queue.

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

##### Content Rejected
Triggers when content is rejected in a review queue, by a moderator or a rule.

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

#### Functions (6)

Functions change something in Moderation API.

##### Allow Content
Allows content and resolves it in the review queue, as if a moderator allowed it.

- Type: write · Key: `allow_content`
- Requires: id
- Optional: reason, queueId, moderator
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "allow_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write allow_content`

##### Block Author
Blocks an author (one of your users) until they are unblocked.

- Type: write · Key: `block_author`
- Requires: id
- Optional: reason
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "block_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write block_author`

##### Reject Content
Rejects content and resolves it in the review queue, as if a moderator rejected it.

- Type: write · Key: `reject_content`
- Requires: id
- Optional: reason, queueId, moderator
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "reject_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write reject_content`

##### Moderate Content
Checks text, an image, a video or audio against your channel's policies and returns allow, review or reject. Flagged content goes to your review queue.

- Type: write · Key: `submit_content`
- Requires: contentType
- Optional: channel, contentId, authorId, conversationId, metaType, metadata, doNotStore
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "submit_content" })`
- CLI: `npx zapier-sdk run-action moderation-api write submit_content`

##### Suspend Author
Suspends an author for a set number of hours.

- Type: write · Key: `suspend_author`
- Requires: id
- Optional: reason, hours
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "suspend_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write suspend_author`

##### Unblock Author
Enables a blocked or suspended author again.

- Type: write · Key: `unblock_author`
- Requires: id
- Optional: reason
- SDK: `runAction({ app: "moderation-api", actionType: "write", action: "unblock_author" })`
- CLI: `npx zapier-sdk run-action moderation-api write unblock_author`

#### Queries (1)

Queries read from Moderation API and return data. They change nothing.

##### Find Author
Finds an author (one of your users) and returns their status, trust level and how much of their content was flagged.

- Type: search · Key: `find_author`
- Requires: id
- SDK: `runAction({ app: "moderation-api", actionType: "search", action: "find_author" })`
- CLI: `npx zapier-sdk run-action moderation-api search find_author`

## Frequently asked questions about automating with Facebook Pages and Moderation API

### 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 Pages integrations: zapier.com/apps/facebook-pages/integrations.md
- Moderation API integrations: zapier.com/apps/moderation-api/integrations.md
- Full page: zapier.com/apps/facebook-pages/integrations/moderation-api
- SDK: npmjs.com/package/@zapier/zapier-sdk