How to Connect a Facebook Ad to a Messenger Bot

Lasseraway Assistant for Skin Care

Using Facebook, Instagram, and Messenger ads that when clicked open in a Messenger bot allows you to target users, and automate your lead generation. Using these steps you’ll be able to send a user to a specific part of your Messenger bot from a Click to Messenger ad.

Before you can connect a Click to Messenger ad to a bot you’ll need a Messenger Bot. If you don’t have one, create a bot. Let’s get into the steps.

  1. Start by creating a Facebook ad in the ads manager. Depending on your goal you’ll pick different objectives for your campaign (Messages or Conversions).

Be sure to define Messenger > Click to Messenger in the 1st step under Message Destination.

Also, define your Pixel.

Now continue to define your audience as needed for the ad.

2. In the ad Identity settings make sure you have the correct Facebook Page which your bot is connected to. Now update your ad copy and images.

3. Scroll down to Messenger Setup. Click on Create your own welcome experience > Custom > Custom Welcome Message > + Create Message

4. Here, you’ll create your 1st message of the ad + bot. A user will click an ad, then be taken into this Messenger like experience before entering your bot. It will be ideal if you can replicate the 1st message of your bot into this ad message. This 1st message can be a welcome message or question. Just remember that the user must click on a button which will then take them to the first step in your bot.

Create your ad message under Customer Actions, use the user’s first name and create a message that is engaging and will get the user to click.

Change the drop-down to Buttons or Quick Replies. Add your button text.

For Buttons under Action, change to Send a postback. A new item will show below for Bot Payload.

For Quick Replies, click Connect Your Bot. A new item will show below for Bot Payload.

A Bot Payload in Smartloop refers to a block in your bot. So you’ll be taking a button click in the ad and connecting it to a block in your Smartloop bot.

4. Go into your bot on Smartloop and find the block which you’d like to direct a user to when they click that button in the ad. Once in that block next to the block name click the share button.

This popup will show you the block identifier which is the Bot Payload for Facebook.

Copy this identifier from Smartloop and paste it in the Bot Payload in your Messenger Ad Settings. Now when someone clicks the button or quick reply in the ad they will be taken to that block in your bot. If you have multiple buttons each button will need to have its own block in Smartloop.

Once you finish with these steps save your ad. You’ll want to test this ad in your Facebook feed to make sure the buttons are working and the ad to bot flow feels smooth. Ideally, you don’t want a user to know the difference between the ad message and the bot.

That is how you connect a Facebook Click to Messenger ad to a bot. This is a great way to drive users into your lead generation bots. Try it out and let us know if you have any questions. Read about how the University of the People reduced their Facebook lead cost by 62% with ads and a Messenger bot.


How to Connect a Facebook Ad to a Messenger Bot was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.

Automate Tier 1 while Keeping Agents in the Loop

Using Live Chat to Seamlessly Handoff Chats to Agents.

Chatbots are useful at *Tier 1*, but humans are good at solving complex problems. Sometimes it is tiring to do the same thing (e.g., booking a hotel room) over and over again while keeping the quality of service high.

Now we have made it easy to argument chatbot experience with Live Chat.

I will head to the Smartloop Conversation Builder and create a Nespresso Cafe bot.

Let’s assume, it is a full-service bot to help me order and track Nespresso pods. I can track my shipment or in case If I never received it, it can seamlessly transfer me to a live agent.

The basic part is simple, I can just say “chat with an agent “ and it immediately takes me to the agent flow or if the bot does not understand me, it can try possible routes and eventually take me to an agent too. This is more or less a happy path. What if the shipment is lost, Tier 1 should not be used to solve this type of problem but an agent should be there to solve it for me and resend or refund the order if necessary.

Here in this scenario, I’ve bought a VirtuoLine pod, and it should not send me to the original line support channel. The bot should be collecting necessary profile information based on my previous engagement and should send me to the correct support channel (this is where AI part kicks in). Here in this case, when I type “I’ve lost my order”, it immediately takes me to the correct VirtuoLine agent which is set in the “new-order” block as a user attribute while the bot is taking me to the alleyways of conversation

Now as the agent is connected, the bot is paused and communication happens between the agent the messenger seamlessly.

The agent should be able to check the history and user should be able to return to the bot either way by typing “exit” as configured in the Live Chat plugin or agent can end the conversation.

Here, AI and Human are complementing each other, along with flows defined as per our need to streamline the support process. Moreover, as the number of subscribers grows, we should be able to see their activity and jump in / out a conversation as soon as we see the conversation goes off track. This will help answer “Why most bots are failing”. We should not just build it and go to the bar while frustrated users *ditch* the service. It is a constant learning process and machine learning is useful and can do more for us only then.

Live Chat and ability to seamlessly handoff to an agent is available now for Facebook, Viber, Telegram and Web.

Get started with Smartloop Platform for Free and send us your query at hello@smartloop.ai

Cheers!


Automate Tier 1 while Keeping Agents in the Loop was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.

New Audience Capabilities Added to Smartloop Conversational AI Platform

The Audience feature allows you to segment, nurture and engage your chatbot subscribers on all supported channels (web sites, Messenger and Viber). It is available to all Smartloop users in all plans, including in the free Starter plan.

Marketers and public relations specialists know that audience segmentation is important for better communication. Audience segmentation is the process of dividing an audience into smaller groups, with similar characteristics, wants and needs. The better you can segment your audience, the more relevant message you can send.

We are pleased to announce that we have extended the Smartloop Conversational AI Platform with a new feature:

Audience

It is a new section within the Smartloop conversation builder which allows you to keep track of your chatbot subscribers, to review your subscriber list and to identify and segment your audience. It also gives you access to your reachable users, when the user first visited the chatbot and when was the last time they chatted with the conversational agent.

Audience Section in the Smartloop Conversational AI Platform

Filter Your Audience and Save It as Segments

You can create and save custom segments by using the filtering options. The available filtering options are:

By user (as shown in the screenshot below). Here we will show the user information which is provided to us by the channel vendor:

  • Facebook: user ID, Photo, First Name, Last Name, Time zone, Locale, Gender, Reachable
  • Viber: user ID, Photo, First Name, Last Name, Time zone, Locale, Reachable

By variable. Here you see a list of all variables, which have been set in the chatbot.

Filtering an Audience with the Smartloop Conversational AI Platform

Learn more about capturing user input and saving the information as variables in our documentation and in this blog post.

Use Segments in Broadcasts

Once you create your custom segments, they can be used to send broadcasts and push notifications:

Sending Broadcasts with the Smartloop Conversational AI Platform

Availability

Audience is available today. It is a free addition to the Smartloop platform, which means that all Smartloop users should see the feature in their bot builders, regardless of whether they are in a free plan or in a paid plan.

Enjoy!

Smartloop is a conversational bot platform that helps brands engage with their users, promote new products, share content and promotions. The solution blends chatbot building tools, cross deployment, message broadcasting, analytics and cloud infrastructure in one complete package.

Create your own conversational bot or contact our team to learn more about a solution for your brand.


New Audience Capabilities Added to Smartloop Conversational AI Platform was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.

How National Geographic Engaged its Facebook Subscribers with a Conversational Bot

National Geographic — one of the world’s most iconic media companies — was looking for an innovative way to engage their 45 million Facebook fans and sell their new 2019 Almanac. Their idea was to create a daily trivia Messenger bot that was powered with content from their new almanac.

2019 National Geographic Almanac

National Geographic chose Smartloop to create a Messenger chatbot that could automatically onboard users and sends them daily trivia questions. In the onboarding, the user selects a trivia topic that interests him most, then receives a set of trivia questions based on that topic. Once the user completes the quiz, his results are calculated and he is given a score:

National Geographic Conversational Bot

After this, the user is asked if he’d like to opt-in to receive daily trivia questions. The Smartloop platform would then automate the full process of delivering the trivia questions to the users based on their preferred topic. In case people are not completing the quiz, the bot would automatically follow up with them to bring them back to the flow:

National Geographic Conversational Bot

The call to action to buy the Almanac was presented in two ways in the bot. First, as a user progressed through the daily trivia questions, National Geographic sent him more content to their website which contained ads to buy the Almanac. Secondly, the chatbot took multiple opportunities to send a discount code with a link to purchase the Almanac:

National Geographic Conversational Bot

As a result of using the Smartloop conversational platform, the fans of National Geographic were happy to engage with the chatbot. The National Geographic chatbot accomplished these results:

  • 65% of users came back daily to answer trivia questions.
  • 29% click-through rates out of the chatbot to additional content and the Almanac product page. (compared to email industry rates of 5%)
  • 43% open rate on promotional broadcast messages. (compared to email industry open rates of 20%)

Smartloop is a conversational bot platform that helps brands engage with their users, promote new products, share content and promotions. The solution blends chatbot building tools, cross deployment, message broadcasting, analytics and cloud infrastructure in one complete package.

Create your own conversational bot or contact our team to learn more about a solution for your brand.


How National Geographic Engaged its Facebook Subscribers with a Conversational Bot was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.

How to Target Your Customers Using a Chatbot and Message Broadcasting

Chatbots are a new way to automate customer service but it is also an excellent vehicle to engage/re-engage your customers and do push marketing (a.k.a. Broadcast) to increase your sales.

Chatbots powered by AI is by far the best sales automation tool you can find. They capture the most important piece of information about your users via a Conversational User Interface (CUI). You are not only getting the basic demographic information of your customers but most importantly their preferences and interests that are essential for any product to improve and shine.

FMCG chatbot demo built with Smartloop

Let’s assume you are a beverage company and you are launching a new product through a chatbot (in our example, I will be using screenshots from the Smartloop Chatbot Builder). The success of your campaign relies on two simple factors:

  1. How many users actually went through the flow and claimed the coupon (or what is the turn around rate)?
  2. Are they loyal or new customers? Which specific age group is more engaged (or what is the target audience)?

The first part of the chatbot automation process is to define what is that you are looking for — it could be a series of questions that can set the stage for a future qualification for a marketing push. You can store the replies to these questions in the chatbot platform for later use:

User Input Block with validation in the Smartloop Conversation Builder

In this case, when the campaign is over I can send them a broadcast based on the input which already has been captured. Here we are sending an additional promotional offer to the most loyal customers (customer = “yes”):

Message broadcasting with Smartloop Conversation Builder

The approach is similar to the ones who have not completed the flow or even left the conversation after the very first message by taking them to a survey that could provide valuable insights on what went wrong. The broadcast can also redirect the user back to the chatbot:

Message broadcasting with Smartloop Conversation Builder

Most of us think that just launching the chatbot is the end of the game but it is quite the opposite — being able to nurture the users properly can only bring the right feedback for your product. Broadcasting can play an important role despite the fact that both flows are rather simple but extremely effective if we want to channel customers to a direction we want them to go.

Check out the new “custom variable” support in the Broadcasting section of Smartloop. This enables you to capture user input and user-defined variables and target your users at a later time. Broadcasting is currently available for Facebook Messenger, Web, and Viber. Reach out to us hello@smartloop.ai if you want to learn more.

It is always free to get started with the Smartloop Conversation Builder!

👏👏👏 One clap? 50 claps? Clap below to recommend this article to others 👏👏👏


How to Target Your Customers Using a Chatbot and Message Broadcasting was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.

How to Send an Email from a Smartloop Chatbot using Zapier

A Smartloop Conversation Platform Step-by-Step Tutorial

Make a Smartloop Zap!

In this tutorial you will learn how to:

  • Set up your Smartloop chatbot to send an email with information collected from the chatbot by using Zapier. Zapier is an automation tool (or “glue”) for integrations — in this case an integration between a Smartloop chatbot, Zapier and sending an email to a particular mailbox.

Notes:

  • This tutorial uses the data collected from a Smartloop chatbot, as described in How to Collect User Data with a Chatbot
  • This tutorial is level 101, i.e. it is for everyone. It doesn’t require previous programming knowledge
  • Everything in this article is valid for all channels that Smartloop supports for publishing chat bots on: website, Messenger, Viber, WeChat, etc.

Create Your Zapier Account

(if you have one, go to step 3)

1. Go to https://zapier.com/ and enter the details, needed to create your account.

2. If you see the “Find Smart Ways to Save Time” popup, choose any app (say Google Sheets) and click Finish Setup. This step is not important for this tutorial and you can edit this information later.

3. Click on “Make a Zap!”:

4. Name your ZAP with a descriptive name:

5. Scroll down, locate and select the built-in app, called Webhooks:

6. Once you select Webhooks, Zapier will ask whether this is a “Catch Hook”. The Catch Hook will wait for a new “message” to be sent to a Zapier URL (from your Smartloop chatbot). The URL will be created in following steps. Confirm the catch hook by pressing Save + Continue:

7. The next screen a set up screen which we will skip, because it is not needed for this tutorial. Press Continue:

8. On the next screen, which is “Test This Step”, Zapier will give you a custom unique URL for you to send your chatbot requests to. Copy the URL — we will need it in your Smartloop chatbot:

9. Leave Zapier as is for now, and let’s go to your Smartloop chatbot (in a new browser tab). Locate the block where you collect the last bit of information about your user. In my case I will use the bot described in How to Collect User Data with a Chatbot and I will open the email block:

Smartloop chatbot platform

In this bot, I collect two types of data points (also called variables):

  • {{user_name}} which stores the name that user has entered and
  • {{email}} which stores the email that the user has entered

10. In the block where you collect the last bit of information about your user, add a JSON API card:

Smartloop chatbot platform

We will use this card to integrate with Zapier. Since Zapier is set to “catch” the data, we need to set Smartoop to “post” the data, so we’ll leave the Method to post, as shown above.

11. Paste the URL which Zapier provided you in the URL field. Also, click on “more” to expand the card:

Smartloop chatbot platform

Once you expand the card, you will see different sections. The Query section can be used to filter, sort and aggregate the data you send to Zapier (which we will not do here). The Header section will not be used either for the current example. We will only use the Body section.

12. In the Body section we will enter the information which we want to send to Zapier (and ultimately to our email) in the following format (don’t forget to add the curly brackets — they are important for the JSON API to work properly):

{
“name”: “{{user_name}}”,
“email”: “{{email}}”
}

With this we give names to our variables and instruct Zapier what to handle and how:

Smartloop chatbot platform

13. If you recall, in step 8, Zapier is still “waiting” for the test to go through, so let’s go through the bot flow and collect the needed user information (you can do it in the Test console as well) — once this is done, Zapier will receive the name and email of the user and will have finished the test:

Smartloop chatbot platform

14. Once you finish entering the data, go back to Zapier and click on “Ok, I did this”. This will bring you to a screen, which will confirm that the zap worked (if you don’t see that screen, check the URL you entered in Smartloop for completeness, and also check the body in the JSON API card for errors):

15. In Zapier, click Continue to add an Action step. This is the step where we will define what Zapier needs to do with the data it is receiving from your bot, i.e. to send it an email. Scroll down, locate and select the built-in app, called Email:

16. Since we will be sending an email, click on Save + Continue on the next screen:

17. On this screen we will “compose” our message. In the TO field enter the email address where the user data will be sent to; in the SUBJECT field enter the subject of the email and in the email BODY enter the text you would like to be sent in the email. Use the “Insert a field” button to add the fields which Zapier is getting from the bot:

18. Click Continue and feel free to send a test email. Of course, you can always go back and edit the email contents to suit your needs, so feel free to play around.

19. Once you test the whole process, click FINISH and turn on your ZAP:

You can test a few more times and play around before going live. Note that Zapier turns the zap off when you make changes, so make sure that your zap is on (green) and working before going live.

That’s it! Enjoy!


How to Send an Email from a Smartloop Chatbot using Zapier was originally published in Smartloop on Medium, where people are continuing the conversation by highlighting and responding to this story.