Multi-platform Integrations
Messenger Integration
Integrating Facebook Messenger with Chat Data empowers your custom chatbot to communicate directly with customers through your Facebook pages. This powerful combination not only automates responses but also allows you to seamlessly take over conversations whenever needed, providing a perfect balance of efficiency and personal touch.
By connecting Messenger to Chat Data, you'll create a versatile system that handles inquiries automatically while giving you the flexibility to engage with customers directly at any time. Additionally, you can leverage our provided Make workflow template to send messages in batches, further enhancing your ability to reach out to multiple customers efficiently.
This guide will walk you through the step-by-step process of linking your chatbot to Messenger for your Facebook pages, ensuring smooth, effective, and personalized customer interactions. It will also cover how to use the Make workflow template for batch messaging.
Connect Messenger with Chat Data
- Go to Dashboard > [Chatbot] > Integrations.
- Select the Messenger integration card.
- Click the Connect button in the pop-up window.
- If this is the first time, you will be asked for permission to allow Chat Data to use your information. Note: if you have integrated some pages and would like to modify your selection, pick the Edit Previous Settings option.
- Select the Facebook Page you want to connect to your chatbot.
- Review and grant the necessary permissions for the integration.
- Confirm everything and click got it to close the pop-up window. The integration may take a few moments to finish.
- Once completed, you'll see a success message and your connected Facebook Page.
With the integration now active, your chatbot is ready to respond to all messages received through Facebook Messenger.
For testing purposes, you can scan the QR code provided in step 8 using your smartphone camera to message your Messenger bot. Additionally, you can access the INBOX link to navigate to your Facebook Business Suite inbox, allowing you to directly respond to customers as part of a human takeover.
Renew Your Integration Before the Access Token Expires
Please note that the Messenger integration requires manual renewal of the access token every 60 days. There is no automated way to renew the token without your intervention. We will send you a notification email 10 days before the access token expires. Alternatively, you can manually renew the access token before the expiration date, which will extend its validity for another 60 days.
The Human Takeover Feature
The human takeover feature empowers you to seamlessly assume control of any chat conversation and interact directly with users. This functionality operates at the individual conversation level, allowing you to selectively disable the chatbot's responses for specific interactions via the dashboard.
To enable human takeover for a particular conversation:
Access the Activity section through either the Navbar or the messenger dashboard.
Locate and select the conversation with Messenger as the source.
- Click the bot icon in the top right corner of the conversation window to open the control modal.
- Use the toggle switch to deactivate the chatbot for this conversation.
Click the INBOX link to access your Facebook Business Suite inbox. From here, you can directly message the user through the Facebook Business Messenger interface. With the chatbot deactivated, your AI assistant will not intervene in the conversation. If the chatbot remains active, both you and the AI can respond to the user.
To re-enable the chatbot's participation in the conversation, simply click the slashed bot icon again and toggle the switch back on. This allows the AI to manage the interaction when you're unavailable.
Sending Messenger Messages in Batch
Utilize our Make workflow template to send Messenger messages using the page access token from your integrated Messenger account. Note that messages can only be sent to users who have previously interacted with your Messenger pages, as the PSID is page-specific. Below is a step-by-step guide on sending a Messenger template message using the Make workflow template.
- Create a scenario based on the Make workflow template for Messenger.
- Configure the Chat Data's Get the Leads module with your API key from Chat Data.
- Select the chatbot from which you want to fetch leads and set the source to Messenger to retrieve leads specifically from Messenger.
- Run the first module once to populate the fields and verify the data. The operations should return a list of users with the
psid
field. - Use the Iterator module to iterate over the users with the Array "psid".
- Create your Messenger connection in the third module. Enter the page access token provided.
- Configure the parameters in the third module with the Page Scoped User ID (PSID) as the key "psid". Set the Message Type to Message Tag and the Message Tag to Human Agent. This allows the chatbot to send messages beyond the automatic message window. Add the message you wish to send in the text field. Click
OK
to save the changes. - Click the Run Once button to trigger the workflow. Messenger messages should be sent to the list of users. Note that some users may fail to receive messages if their page has been deleted or if their PSID is associated with a different page. You can just ignore those failures as long as some of the users were successfully sent messages.
- Review the operations of the third module to confirm successful message delivery to PSIDs.
- Set the schedule in the first module to trigger the workflow at your desired frequency, such as daily at 20:00 PDT.
- Save and activate the workflow.