Identify Messages Originating from Facebook Messenger in Rule Engine
Updated
Rule Engine supports identifying the source of message coming from Facebook Messenger chat plugin embedded on your website, Facebook mobile, or native Facebook channel. You can create a condition based on source of a message and then configure an action based on that condition. So messages can be easily differentiated based on the source they are coming from.
To Identify Messages Originating from Facebook Messenger
Click the New Tab icon and select Rule Engine under the Social Core Cloud.
In the top right corner, click Create New Rule.
On the New Rule window, provide a Name and an optional Description for your new Rule and set the Rule Scope to Workspace or Customer.
From the Context drop-down menu, select Inbound.
If you want, modify the values for Activation Date and Rule Execution Batch. To proceed with the default values, click Next.
In Rule Type select Standard or On Demand.
In the Rule Builder window, click the icon and select Add Condition.
Give the condition a Name and under The source of the Message, select Message Origin from available dropdown options.
Select the required option(s) from Select Message Origin dropdown. You can select from Messenger - Mobile, Messenger - Chat Plugin, and Messenger - Facebook Native.
Click icon in the top right corner to close your condition.
Click icon and select Add Action to set your desired action.
Click Save to finalize the rule.