Insights Videos Blog Learning
SETUP GUIDE

Facebook Messenger

Deploy Facebook Messenger as a Channel in Webex Contact Center

Integrating Facebook Messenger (FBM) with Webex Contact Center allows businesses to support their customers directly on one of the world's most widely used messaging platforms. In this guide, I'll walk you through the complete setup—from Facebook Page creation to flow configuration and end-to-end testing using and Webex Contact Center.

Objective

By the end of this guide, you'll be able to initiate a conversation from Facebook Messenger and receive it within Webex Contact Center's Agent Desktop. We'll walk through service setup, Messenger asset registration, flow creation, and testing.

Prerequisites

Step 1: Create a Facebook Business Page

Before integrating Facebook Messenger with Webex Contact Center, you need to have a Facebook Business Page. This page will serve as the customer-facing entry point for Messenger chats. Here's how to create it:

  1. Go to the Facebook Page creation tool:
    https://www.facebook.com/pages/create/
  2. Click on Create new profile or Page in the left sidebar: Choose Personal or Public.
  3. Click Get Started
  4. Enter your Page details:
    • Page Name: Use your company name or something identifiable like Acme Support.
    • Category: Choose something relevant like Customer Service or Internet Company.
    • Bio (optional): Add a short description of your Page.
  5. Click Create Page — your page is now live.
  6. Optionally add branding such as profile picture, cover photo, and description.
  7. Make sure the Page is Published under Settings > General.
  8. You must be an Admin on the page to complete Messenger integration.

Note: The steps above are for guidance as of the date of the guide. Facebook may have updated the UI and steps may vary. So refer to the latest Facebook page creation documentation for the most accurate steps.

Tip:

Once your Facebook Page is created and Messenger is enabled, you can allow customers to launch a Messenger chat directly from your website or campaign using the following link format:
https://m.me/YourPageUsername
You can embed this link in a button, banner, or hyperlink, or even convert it to a QR code for use in presentations, kiosks, or printed materials.

Add a QR Code to Launch Messenger

To generate a QR code that opens Messenger directly:

  1. Copy your Messenger link:
    https://m.me/YourPageUsername
  2. Go to a QR code generator such as qr-code-generator.com or qrstuff.com
  3. Paste the link, generate the QR code, and download the image
  4. Embed the image on your site or marketing material

You can also trigger this via a cross-launch button on your website, such as:

<a href="https://m.me/YourPageUsername" target="_blank">
  Chat with us on Messenger
</a>

This method is perfect for Contact Us pages, email footers, product support widgets, or even post-call surveys.

Step 2: Create and Register Facebook Messenger Asset in Webex Connect

  1. Log in to your Webex Connect instance (e.g., https://yourinstance.webexconnect.io/).
  2. You can log in from Webex Control Hub or directly from Webex Connect using the URL of your instance.
  3. Go to Assets > Apps > Configure New App and choose Messenger.
  4. Create App

    Figure: Create App

  5. Click Add Messenger Page and authenticate with your Facebook account.
  6. Select the page that you want to register on the What pages do you want to use with Webex Connect pop-up.
  7. Accept all default permissions, then click Save.
  8. Click Register to Webex Engage, choose the appropriate service, and click Register.
  9. Note down the Facebook Page ID (from m.me link) and the App ID (visible in the asset list).

Note: You can always come back to the app page and note this down, don't fret!

Important:

Once registered, service mapping cannot be changed. Do not delete the Messenger asset after registration—doing so may break integration in Webex CC.

Step 3: Configure Channel and Queue in Webex Contact Center

Channel

  • Login to Control Hub and navigate to Contact Center under Services section in the sidebar.
  • Click on Channels under Customer Experience in the sidebar.
  • Click on Create Channel.
  • Input Name & Description as per your preference.
  • Select Social in the Channel Type dropdown.
  • Select Facebook Messenger in the Social Channel Type dropdown.
  • Select the Messenger asset created earlier
  • Click on Create to create the channel.
Create Channel

Figure: Create Channel

Queue

  • Navigate to Queues under Customer Experience section in the sidebar.
  • Click on Create Queue.
  • Input Name & Description as per your preference.
  • Select Inbound Queue from the dropdown for Queue Type.
  • Select Social Channel in the Channel Type dropdown.
  • Leave the Queue Routing Type to Longest Available Agent.
  • Click on Create Group under Conversation Distribution and select your Team.
  • Set Max Time in Queue: 300 seconds
  • Select your preferred Time Zone.
  • Click on Create to create the queue.
Create Queue

Figure: Create Queue

Step 4: Upload and Configure Facebook Messenger Flow

  1. Download the Messenger flow from the GitHub page .
  2. Navigate to Webex Connect Flows → v3.3 → Template → Media Specific → Workflows → FacebookInboundFlow.workflow.zip, click and select the zip file and download.
  3. Unzip the downloaded file.
  4. Go to Webex Connect, click on Services and select the service in which the Asset was created in Step 2.
  5. In the service, click View My Flows and Create Flow.
  6. Input your preferred name for the flow under Flow Name and select Upload a flow from the Method dropdown.
  7. Select the FacebookInboundFlow.workflow file and click on Create.
  8. In the Start node (App Event), click Save using default settings
  9. Open flow settings, go to Custom Variables and set:
    • FBPageID: numeric ID from m.me link
    • appid: Webex Connect App ID
  10. Custom Variables

    Figure: Custom Variables

  11. Edit the Queue Task node: set queue to FBM_Q
  12. Edit Resolve Conversation node: paste the flowId from browser URL
  13. Click Make Live and link to the asset created in Step 2.

Step 5: Verify End-to-End Chat

  1. Log into Webex CC Agent Desktop and set your status to Available
  2. Open your facebook messenger page from the m.me link
  3. Send a message as a customer from Messenger
  4. Accept the contact in Agent Desktop and respond
  5. Close the task and add wrap-up

Advanced Configuration (Optional)

Welcome Screen

You can configure a welcome message for Messenger users. Enable it via the Messenger App settings in Webex Connect.

Welcome Message

Figure: Welcome Message Configuration

Welcome Message

Figure: Welcome Message in Messenger

Persistent Menu

  • Persistent Menu is an always-visible menu in Messenger.
  • You can create the following button types: Open URL, Postback
  • Postbacks trigger events in the Webex Connect flow.
  • When a Messenger user clicks an item in the menu, a postback event notification is received as part of inbound notifications like in start node, receive node and outbound webhooks. The event notification contains information about what item was select and by whom. This item selection action opens the standard messaging window wherein the Business has 24 hours to respond to the Messenger user.
  • You have the option to disable free text input if you want to enforce structured conversation options.
  • You need to enable the Get Started button in the Messenger App settings in Webex Connect to activate the persistent menu.
Persistent Menu

Figure: Persistent Menu

Allowed List Domains

Set allowed domains in the Messenger asset for links and webviews to work properly in chat.

Messenger Plugins for Websites

The Page Discovery plugins allow you to integrate the Facebook Messenger chat experience directly onto a website/webpage for a personalized experience. You can configure a Message Us button to redirect the users to Facebook Messenger and open a conversation within your page. To use the plugin, you should include the code snippet provided on asset configuration page along with Facebook's JavaScript SDK. The website domain must also be in the allowed list on which you wish to use this plugin.

Troubleshooting Tips

  • Messenger authorization may expire if:
    • Password is changed
    • Admin loses access to the page
    • You exclude previously integrated pages during re-auth
  • Don't delete the Messenger asset once registered
  • Service mapping cannot be changed after registration

Conclusion

You've now completed an end-to-end Facebook Messenger integration with Webex Contact Center. With flows in place, agents can receive and respond to customer chats directly from their Agent Desktop. Next, explore advanced workflows, sentiment analysis, or CRM integration to deepen your customer experience capabilities.