Documentation Communication channels Facebook Messenger

Channels integration

Facebook Messenger

Facebook Messenger AI integration
  • CategoryChannels
  • AuthOAuth
  • Scopes7

Walk through the Connect Facebook Messenger flow from Continue with Facebook to the connected Page.

Overview

Connect your Facebook Pages so the AI agent can answer the messages customers send them on Messenger. Facebook, Instagram and Meta lead forms share one connection, which you set up from the Facebook Instagram & Meta card on the Channels page. Messenger chats then land in the Workspace next to your other channels, and your team can answer them there too.

What MessageMind can do with it

  • The AI agent replies in Messenger as your Page, using what you taught it in AI Training.
  • Messenger chats show up in the Workspace with your other channels, including the photos, videos, voice messages and files customers send.
  • Replies someone sends from the Facebook Page inbox are added to the same conversation, so the history stays complete.
  • New Messenger customers are added to Contacts with their Facebook name and profile picture.
  • A campaign can answer new comments on your Page's posts and send the commenter a private Messenger message.
  • Labels you add in MessageMind can be copied to the same conversation in your Facebook Page inbox.
  • Each Page has its own switch, so you choose which Pages the AI agent works on.

Requirements

  • A Facebook Page, and a Facebook account with full control (admin access) of that Page.
  • A free channel on your plan. Facebook and Instagram together count as one channel.

How to connect

  1. In the top menu, open Connections > Channels.
  2. Click the Facebook Instagram & Meta card. You can find it under the Social filter.
  3. Click Continue with Facebook.
  4. Sign in to Facebook with the account that manages your Page.
  5. When Facebook asks, choose the Pages you want to connect and any Instagram accounts linked to them.
  6. Approve the permissions Facebook lists.
  7. Wait to be sent back to MessageMind. You see "Connected to Facebook!", then the page reloads and shows Connection active.
  8. On the Facebook tab, switch on each Page the AI agent should answer.

Authentication and permissions

Mechanism
You sign in with Facebook from MessageMind and approve access on Facebook's own screens. There is nothing to copy or paste.
Credentials
Your Facebook login. Use an account with full control of the Pages you want to connect, and select each of those Pages when Facebook asks which ones to share.

Required scopes

  • See the list of Pages you manage.
  • Send and receive Messenger messages for the Pages you select.
  • Read and reply to comments on your Pages' posts.
  • Manage your Pages' settings, so new messages and comments reach MessageMind.
  • Read leads from your Lead Ads forms and the ad accounts they come from.
  • Read and answer messages and comments on the Instagram account linked to each Page.
  • Access your Meta business assets and Page insights.

Available data and actions

Reads

  • The name and profile picture of each Page you share.
  • Messages customers send to your Pages on Messenger, including photos, videos, voice messages and files.
  • Replies your team sends from the Facebook Page inbox.
  • Each customer's Messenger name and profile picture.
  • New comments on your Pages' posts, for campaigns that use the Comment(S) On A Post trigger.
  • The lead forms on your Pages, listed on the Meta Leads Forms tab with their ad account.
  • The Instagram account linked to each Page, listed on the Instagram tab.

Writes

  • Messenger replies sent as your Page, written by the AI agent or by your team in the Workspace.
  • Replies under comments on your Pages' posts, sent by a campaign.
  • Private Messenger messages to people who commented, sent by a campaign.
  • Labels on conversations in your Facebook Page inbox, added or removed when you change them in MessageMind (only with Sync Labels to Facebook Messenger Inbox on). If the Page has no label with that name yet, one is created.

AI agent use cases

  • A customer messages your Page at night asking about opening hours or delivery areas. The AI agent answers in Messenger from its training.
  • Someone asks for the price under one of your posts. A campaign replies under the comment and sends them the details in a private Messenger message.
  • A customer sends a photo of a damaged order. Someone on your team opens the chat in the Workspace, clicks Take Control and handles it.
  • Part of your staff still answers from the Facebook Page inbox. With Assign Chats to Manual on Official Channel Reply on, the AI agent stays out of any chat they reply in, so the customer does not get two answers.
  • You run one Page per shop and want the AI agent on only some of them. Turn the others off on the Facebook tab.

Configuration

  • Each Page on the Facebook tab has its own switch. While it is off, Messenger messages sent to that Page are ignored. After each change you see "Subscription enabled successfully" or "Subscription disabled successfully".
  • Sync Labels to Facebook Messenger Inbox, below the Page list, copies labels you apply in MessageMind to the same conversation in your Facebook Page inbox.
  • Assign new contacts to AI is in the Workspace under Settings > Automation Settings. When it is off, new Messenger customers start as Manual, and you hand them to the AI agent with Assign To AI.
  • Assign Chats to Manual on Official Channel Reply, in the same section, pauses the AI agent in a chat as soon as someone replies to it from the Facebook Page inbox.

Example workflows

Let the AI agent answer Messenger chats

  1. Connect Facebook and switch on your Page in the Facebook tab.
  2. In the Workspace, open Settings > Automation Settings and turn on Assign new contacts to AI.
  3. A customer sends your Page a message on Messenger.
  4. The conversation appears in Main Inbox and the AI agent replies in Messenger as your Page.
  5. To answer yourself, open the conversation and click Take Control. Click Assign To AI to hand it back.

Reply to comments on your posts

  1. In the Workspace, open Campaigns and click Create campaign.
  2. Choose Comment(S) On A Post under Facebook as the trigger.
  3. Add the Reply To Comment action, pick Dynamic Reply and write a Prompt, for example: thank the person and say we sent the price list in Messenger.
  4. Add the Send Facebook Message action with the price list as a Static Message.
  5. Switch the campaign from Draft to Published and click Save.
  6. Each new comment on your Page's posts now gets a public reply, and the commenter receives the price list in Messenger.

Share labels with staff who work in Facebook

  1. Open the Facebook Instagram & Meta card and turn on Sync Labels to Facebook Messenger Inbox in the Facebook tab.
  2. Add a label, for example VIP, to a Messenger conversation in MessageMind.
  3. The VIP label appears on the same conversation in your Facebook Page inbox.
  4. Remove the label in MessageMind and it disappears in Facebook too.

Disconnect and reconnect

  • Open Connections > Channels, click the Facebook Instagram & Meta card and click Disconnect at the bottom. Confirm with Disconnect.
  • You can also turn off the switch on the card in the Channels list.
  • Once disconnected, MessageMind stops receiving messages and comments from your Pages and Instagram accounts, the AI agent stops replying there, and new leads from your forms stop arriving. Nothing is removed from your Facebook Page inbox.
  • To pause a single Page and keep the rest running, turn off that Page's switch on the Facebook tab instead.
  • To reconnect, open the card again, click Continue with Facebook and select your Pages.