Route Facebook messages to LiveDoc workflows

Developer ToolAPI IntegrationMarketingRecipe Tools

What it does

When a Facebook message arrives via webhook, this automation identifies which chatbot sent it and routes the message to the correct LiveDoc workflow. The right workflow processes the message in real time based on the chatbot name.

Who it's for

Operations teams who manage chatbot workflows across multiple channels and need messages routed to the right LiveDoc process.

How teams use this

Route customer deck messages in real time

Facebook messages from the LiveContent Customer Deck chatbot flow to the correct workflow instantly. The team sees responses without manual handoff or delay.

Handle multi language factsheet requests

Messages from the Multi Language Factsheet chatbot route to their own workflow without blocking the webhook. The asynchronous call keeps the system responsive.

Add a third chatbot to routing logic

Include a new chatbot name in the conditional checks and call its workflow when that name is detected. Only the routing conditions and workflow calls need to be added.

Filter messages by content type before routing

Set up conditions to check the message content or type before routing to the workflow. Only messages matching certain criteria flow to the correct LiveDoc process.

How it works

  1. Receive Facebook message via webhook. A Facebook message arrives through a webhook in real time, carrying the chatbot name and message details for routing to Workato Service.
  2. Check chatbot name for customer deck. Evaluate the chatbot name from the incoming message to see if it matches LiveContent Customer Deck.
  3. Route to customer deck workflow. When the chatbot is LiveContent Customer Deck, call the SteLiveDoc From Multiple Channels workflow to process the message.
  4. Check chatbot name for factsheet. Evaluate the chatbot name to see if it matches Multi Language Factsheet instead.
  5. Route to factsheet workflow asynchronously. When the chatbot is Multi Language Factsheet, call the StamLiveDoc From Multiple Channels workflow without waiting so the webhook returns immediately.