Pass Thread Control to Another App
Introduction
The Facebook Messenger supports a feature called Handover Protocol Conversation Control, which allow you to pass the control over a thread to another app.
The most common use case is to handover the current conversation to the Inbox system inside the Meta Business Suite. As a result, your agent can handle this thread in the inbox.
Expected Outcome
End user can request and trigger the Thread Handover.
The agent is notified in the Meta Inbox, and be able to reply in live chat.
Eventually, the agent can select "Move to Done" to end the thread.
NOTE
The chatbot will be disabled once the thread is passed. The agent must move the thread to "Done" in order to re-activate the chatbot.
Apply the Pass Thread Control
Create a General Node
- First, create a new node in your chatbot for passing the thread control.
Create a Response
- In the new node, create a response to indicate the handover.
Create "Pass Thread Control" action
- Add an Post-action, then select "Facebook Pass Thread Control".
NOTE
The chatbot will be disabled once the thread is passed. If the action is executed before the response as a pre-action, the response will not be delivered.
- Select the corresponding Facebook page and input the Target Facebook App ID"
s NOTE
Please enter one of the following Target Facebook App ID:
- Facebook Page Inbox:
263902037430900
- Instagram Inbox:
1217981644879628
Create Global node and Trigger
- Create a global node for trigger the pass thread control.
- In this example, let's apply a keyword trigger.
- Toggle on "Redirect" and point to the "Pass Thread Control" node.
- Finally, add the chatbot to your Facebook channel and start testing.