Facebook Ad connected to Messenger Bot

Pau Sanchez Updated by Pau Sanchez

Facebook Ads offer the possibility to be connected to a Messenger chat. And by clicking

You can check the official guide to build a Click to Messenger here

The first thing is that the Facebook Ad, once clicked, must trigger a message to a Messenger Page channel, like in this example:

The important part are the "Reply Text" that is the message that will be sent to the bot (the Bot payload is not needed)

So, the Quick Reply will be the first message. It is important that is different.

After, in Messenger, use User input block to grab such first input.

That value, that you capture at the beginning (that is the quick reply text) and is stored in variable (like @init) then you can use for example a conditional block to redirect the user to a specific flow for the Ad

How did we do?

How to Preview a Messenger bot