Set up your AI Agent to work your Social Inbox

Your AI Agent can read your Social Inbox, organize conversations, draft and send replies, send private DMs to people who comment, and moderate comments. You decide exactly what it is allowed to do.

This guide covers:

  1. What your AI Agent can do
  2. Before you start
  3. Step 1: Decide who your AI Agent acts as
  4. Step 2: Set its permissions in Workspace Users
  5. Step 3: Connect your AI Agent
  6. Step 4: Choose how fast it responds (on request, scheduled, or webhooks)
  7. Step 5: Let replies go out without approval (optional)
  8. Example requests
  9. Safeguards
  10. Troubleshooting

1. What your AI Agent can do

  • Read comments, DMs, mentions and reviews in your Inbox.
  • Organize conversations: tags, notes, assignment, status and importance.
  • Reply publicly to comments and DMs.
  • Send a private DM to someone who commented on your Facebook or Instagram post (for example, "Comment GUIDE and I'll send you our 10 steps plan to success").
  • Like and unlike comments.
  • Moderate comments: hide and unhide, delete, and block users.
  • Hand a conversation to a person, with a note explaining why.

Works with Facebook, Instagram, Threads, YouTube and Bluesky. LinkedIn and Google Business Profile are not included. Private DM replies work on Facebook and Instagram.

2. Before you start

You need:

  • The Social Inbox and API access on your plan.
  • An AI Agent that can connect through our API or MCP server, for example Claude, or your own agent built on an automation tool or server.
  • Owner or admin access to the workspace, to set permissions.

3. Step 1: Decide who your AI Agent acts as

Your AI Agent works through an API key, and every key acts as a person in your workspace. The key can do exactly what that person is allowed to do in the Inbox, nothing more.

  • A key tied to a team member has that team member's Inbox permissions. This is the safest choice, because you can limit it precisely.
  • A key not tied to anyone acts as the account owner and has full Inbox access.

Tip: create a team member just for your AI Agent (for example, "AI Agent") and tie the key to it. Then you can change what the agent may do without affecting a real person.

4. Step 2: Set its permissions in Workspace Users

Workspace Users is where you control what your AI Agent is allowed to do in your Inbox.

  1. Open Workspace Users.
  2. Choose the team member your AI Agent acts as, or add a new one.
  3. Find the Access Social Inbox section and set Enabled.
  4. Check what this person, and therefore your agent, may do:
  • Read conversations: see Inbox conversations. Required for everything else.
  • Organize conversations: tags, notes, assignment, status, importance.
  • Submit replies: reply to comments and DMs, and send private DMs. Then choose whether replies wait for approval or can go out without approval.
  • Approve reply drafts: approve replies waiting for approval.
  • Like and unlike comments
  • Hide and unhide comments
  • Delete comments
  • Block users
  1. Under Allow replies without approval on these networks, check the networks where replies may go out right away. Leave them unchecked to keep every reply waiting for your approval.
  2. Under Restricted Inbox Profiles, add any profiles this person, and the agent, should not see at all.
  3. Save.

Changes take effect on the agent's next request.

Examples

You want your agent toCheck
Draft replies for you to approveRead, Submit replies (wait for approval)
Answer DMs on Instagram on its ownRead, Submit replies (without approval), Instagram under networks
Sort and tag, never replyRead, Organize
Hide spam, never delete or blockRead, Hide and unhide

Team members who had Inbox access before this section existed kept exactly the access they had. Nothing changes for them unless you change it.

5. Step 3: Connect your AI Agent

  • Claude or another MCP-capable assistant: add our MCP server as a connector and sign in. It acts as the person who approved the connection.
  • Your own agent, automation tool or server: create an API key in the API Console, tie it to the team member from Step 1, and give it to your agent.

Then ask your agent: "Show me my Inbox rules." It reads what it is allowed to do on each network before acting.

6. Step 4: Choose how fast it responds

There are three ways your AI Agent can find new messages.

On request

Ask it any time: "Check my Inbox for new comments and reply." Works with any connected assistant.

On a schedule

Have your agent check every few minutes, or set up a recurring task in your assistant. It keeps its place in the Inbox, so each check sees only what is new. Works with any connected assistant.

Webhooks (fastest)

With a webhook, we tell your agent the moment a new message reaches your Inbox, so it can reply right away instead of checking on a schedule.

What you need: a public https address that is always running your agent, such as a Zapier, Make or n8n webhook trigger, or your own server. A chat-only assistant (for example, the Claude or ChatGPT app on its own) has no address we can call, so use On request or On a schedule there.

Webhooks are registered through the API with an API key, not through the MCP connector.

Events you can subscribe to

EventSent when
inbox.item_receivedA new comment, DM, mention or review reaches your Inbox
inbox.reply_sentA reply was delivered to the network
inbox.reply_failedA reply could not be delivered

Your agent only receives events for profiles its person can see in the Inbox, and only if that person has Read conversations.

Set it up with one prompt. Paste this into your agent, filling in your address and link:

Register an active webhook for inbox.item_received to <your https address>. On each event, reply in my brand voice, DM <your guide link> to anyone who comments GUIDE on Facebook or Instagram, and hand upset or refund conversations to a person.


If you are building it yourself

  1. POST /webhooks with your https address, the inbox.item_received event, and active: true.
  2. Store the signing secret right away. It is shown only once.
  3. On every delivery, verify the X-Webhook-Signature header (t=<unix time>,v1=<HMAC-SHA256 of "t.<raw body>">) and reject anything older than 5 minutes.
  4. Respond with a 2xx quickly, then process the event.
  5. Read the conversation from the Inbox events feed with its conversation_id, then reply, send a private DM, organize, or hand off.
  6. As a safety net, also read the Inbox events feed with after_id every few minutes and keep next_after_id. It has the same shape as the webhook and catches anything a missed delivery dropped. Failed deliveries are retried automatically.

Timing: new messages usually reach your agent within a few minutes of arriving on the network. That is faster than polling, and it doesn't use up your network rate limits.

7. Step 5: Let replies go out without approval (optional)

By default every reply waits in your Inbox for approval. To let your agent reply on its own:

  1. In Workspace Users, set the agent's person to Submit replies without approval, and check the networks under Allow replies without approval on these networks.
  2. YouTube only: in Inbox Settings, turn on YouTube Automation Consent ("Allow automated comment replies") for each channel.

Uncheck a network any time and replies on it go back to waiting for approval.

8. Example requests

  • "Show me every comment from this week that still needs a reply, and draft an answer for each one in our brand voice."
  • "Anyone who comments GUIDE on today's Facebook post, send them a private message with the link to our 10 steps plan to success."
  • "Reply publicly with 'Check your DMs!' and send the guide privately."
  • "If someone asks about pricing in the comments, DM them our pricing page and tag the conversation as Sales."
  • "Hide the spam comments on yesterday's Instagram post."
  • "Like every positive comment on our Facebook posts from today."
  • "If anyone asks for a refund or sounds upset, hand that conversation to a person with a note."
  • "Mark everything we've already answered as done."

9. Safeguards

  • Your agent can only do what its person is allowed to do in Workspace Users.
  • Replies wait for approval unless you allow otherwise, network by network.
  • Private DMs follow Meta's rules: one per comment, sent within 7 days of the comment. The same person won't get the same private message twice in 24 hours.
  • Handing a conversation to a person flags it as important, adds a note your team can see, and stops the agent from replying there until a person does.
  • Every action is logged, including refused ones.
  • Messages from customers are treated as content, never as instructions to your agent.

10. Troubleshooting

What you seeWhat to do
Agent says it has no Inbox accessIn Workspace Users, set Access Social Inbox to Enabled and check Read conversations for the agent's person.
Agent can read but not replyCheck Submit replies for that person.
Replies wait for approvalAllow replies without approval for that network in Workspace Users. On YouTube, also turn on YouTube Automation Consent in Inbox Settings.
Agent can't see a profileRemove it from Restricted Inbox Profiles, and make sure it is turned on in the Inbox.
Private DM refused as too oldMeta only allows a private DM within 7 days of the comment.
Private DM refused as already sentMeta allows one private DM per comment.
Webhooks aren't arrivingMake sure the endpoint is active and your address answers with a 2xx. Check that the agent's person has Read conversations and can see that profile. Keep the polling safety net running.


👆 You’re all caught up