Connecting a Messenger Chatbot to Your Ads

By Andrew Demeter - September 11, 2017 35835 Views
Facebook Messenger Ads Tutorial
By Andrew Demeter - September 11, 2017 35836 Views

In previous articles I’ve shown how you can use a Messenger chatbot to…

But all those strategies are useless if you don’t have any bot users!

So in this tutorial, I’ll be connecting a Messenger chatbot to an ad campaign to drive traffic. I’ll also recommend the best objectives for your budget.

Step #1: Build Your Funnel

Using Chatfuel, design the bot funnel for your campaign.

I’ll keep things super simple and include a product with a native ‘Buy’ button in Messenger.

Messenger Chatbot E-Commerce

Step #2: Choose Your Objective

I prefer using the ‘Traffic’ objective.

Prior to Facebook recently optimizing the Traffic objective to include Messenger chatbot campaigns, I would’ve advised against it…

Facebook Chatbot Ads Tutorial

But now Facebook will reward you with a lower Cost-Per-Action (receiving a new message).

That’s because you’re keeping users on their platform, not redirecting them to your own landing page where Facebook loses advertising opportunities.

The ‘Engagement’ objective is also fun, but more on that later.

Chatbot Engagement Objective

Step #3: Edit Ad Placements

Next, we’ll remove unsupported placements for our Messenger destination ad.

Messenger Chatbot Ad Placements

Although Instagram is a supported placement, I suggest unchecking it because it complicates user experience. People scrolling through their Instagram feed don’t want to be redirected to Messenger.

Ironically, I also advise against the Messenger placement. This means your ad will appear in Facebook users’ Messenger conversations (not their news feeds).

But, as always, A/B test everything for yourself; don’t take my word for it!

Step #4: Switch to Cost-Per-Click

Under BUDGET & SCHEDULE, switch from ‘Impression’ to ‘Link Click (CPC)’.

Messenger Bot Cost Per Click

Now, instead of getting charged every time someone sees the ad, you’ll only get charged when a user interacts with the Messenger chatbot.

Step #5: Connect Your Page

Confirm the Facebook page you’ve selected to run the ad matches the page your bot is connected to under the CONFIGURE tab in Chatfuel.

Connecting Facebook Page in Chatfuel

Step #6: Design Your Creative

Hopefully your creative is better than mine…

Facebook Messenger Ads Tutorial

Then choose ‘Messenger Setup’ and click ‘Set up messages’.

Step #7: Connect Your Bot’s Welcome Message

Now we’re setting up what users who click the CTA button on your ad will see before they can interact with your Messenger chatbot. Facebook uses this technique as a double opt-in.

I use TEXT for the ‘Message Format’ because it offers a very clean call-to-action button.

Messenger Bot JSON Message

Then change the ACTION from ‘Open a website’ to ‘Send a postback,’ and enter…

block name: <block name in Chatufel>

Chatfuel Welcome Message Tutorial

(NOTE: The postback code is case-sensitive!)

Step #8: Preview in Messenger

Let’s test our Messenger chatbot! Click ‘Preview in Messenger App’.

Facebook Messenger Ads

The bot messages me, I click YES, and voilà – we see our prized Messenger fidget spinner!

Facebook Chatbot Ad in Messenger

Finally, submit your Facebook ad for review.


It goes without saying that Facebook Ads are the best way to gain new bot subscribers.

In closing, here’s a bonus ninja tip for you: Duplicate the Post ID of the Traffic ad you just submitted, but run it as an Engagement objective after setting up ‘acquire new users from comments’ in Chatfuel.

Now you’ll have a single Facebook ad with two opportunities for users to trigger the CTA. They can either click the ‘Send Message’ button OR leave a comment and the bot will message them with the discount code.

Auto Respond to Facebook Comments

You can thank me later… 😉

Chat soon,
Andrew Demeter

One Reply to “Connecting a Messenger Chatbot to Your Ads”

Leave a Reply