How to send message using "FB Messenger" in CDP
Last updated
Last updated
For Facebook Messenger, choose Realtime.
Note:
User ID is the ID of the Facebook account who have sent message to your page
Facebook only returns a list of User id that have sent message to your page within 24 hours
You can see how to create a destination channel for a Business Object
Select Visitor Business Object, then map Facebook's User id with Visitor's User ID on CDP 365 system
You need to create a Custom attribute in the Visitor Business Object to know it's the Facebook user ID pushed from the dataflow
You can see how to create a Custom attribute
For example: Create a Custom attribute of "Is Facebook user_id" with data type of Number
If the value of this attribute is 1, it is the User ID of Facebook
Set value pushed from dataflow to 1 for this Customer attribute
Pre-selected write mode is Insert all.
Used to view setup information in dataflows.
Force Run: Used to run immediately without timeout in dataflows
After the dataflow has finished running, you can go to the Visitor menu in Personas App to check the creation of Facebook User ID in CDP 365:
The conditions you set in the segment are as follows:
Note: You can see how to create a new segment
Page scoped user id
User ID Facebook of the recipient of the message
Access token
Access token of your page on Facebook.
Note: Currently, please share your page with us with the following permission: "Send and respond to message as the Page"
-> We will help you set up the necessary information in destination
Log into CDP 365 system, hover your mouse over MARKETING to see all the available channels.
We have 2 channels that supporting to send:
FB Messenger
Journey Orchestration
For this example, let's choose Orchestration
At the Schedule trigger node, select the segment containing the Facebook user id that you created
Click + button to add Destination node and select Antsomi Facebook destination
Choose the destination that you created
Fill out necessary information
Click Save button to finish setting journey
After finishing the setting of the Journey, we can activate and send message to customer
You can click icon to add Personalization