Facebook

Introduction

Facebook Messenger (or Messenger) is an instant messaging service and software application. Users can send messages and exchange photos, videos, stickers, audio, and files, as well as react to other users’ messages and interact with bots. orai allows you to deploy your bot on messenger.

Access to Setup

Access the Facebook channel via Configure> Deployments> Facebook

Document image

Steps to Configure Messenger as a Channel

Let me explain to you how you can deploy your chatbot on a Facebook Page
– In order for you to deploy the chatbot on Facebook you would require a page that you are administering, If you don’t have a page, create one before proceeding further.
-Click on Sign-in and login via your credentials.
– After logging in you will get a list of your Facebook pages for which you gave the permissions. Just select one of them and click on the Connect button to create your messenger bot.

AD 4nXeDVMMQgCYllM4Iro7oYGCsdFqoPJYz7Zt7wenKUt8KNYDPaY1XAjwsXlSVa8AcyyzelaffEOpRSZXVhZcSimcGqAyYHVOQcpNzi2iRlDeX0KZUE7kcMx2pu2m1fdvbR0zGEZvCSyT6vCGBifobtAGPpBHHjgON0qe9GlG SQ?key=tadO9QOFbiUndz4FM 6srQ

-You can always click on the ‘Try Chat’ button to see how your bot works on Facebook messenger

AD 4nXcf5U3LrhEE7phz FybT73RUSyIcbUciOUahLHiPQpHa Sri4cVRlKasHY4FMOuzPmDVEVkVx0bfYTPHIc2NkDyRhoE1E8uhotpTkptou7LxAUh2n6ZgglTgpBJowmNnnFYkaOe1009M5TANLkKd7dS XAwpGQLm8BIFlbEDA?key=tadO9QOFbiUndz4FM 6srQ

Notes to remember

  • Make sure all pop-ups are unblocked.
  • Allow all the permissions that are being asked by Default, these permissions are required for the successful deployment of the chatbot.
  • Changing the password and the role of the person who has deployed the bot on the Facebook page will cause the token provided by Facebook to expire, for which you would need to re-authorize the token, please follow the steps below to do so. a) In a new incognito window log in to Orai Portal. b) Click on Logout and then on Sign-in. c) Log into your account and re-integrate. d) Once done click select the Page and click on Connect.
  • If a particular page is not visible then you would need to allow the permissions for them via the Business Integrations of your Facebook page.

-Click on the View and Edit beside the Orai Logo present in the Active tab.

Enable the permissions for your other pages too

  • Manage your pages.
  • Manage and access your page conversations on messenger.
  • Show a list of the pages you manage.

AD 4nXe1UkU0uUIQU0uRt436tcX4ajddM5g ByMdZYNpgqylw3mJgqSvNMPHuvb5 FG4uORJdq15PqfsUGPCftFJe2VWyIQz9m QrADAoWpfhi1ASk7hdBLFnyD V0VRTB4RdUMAuj2qm7uNwlD78Nn0WDXV OjUOTmSBZj1dV3AzA?key=oEP3wNzzCv 0ZChDt5Q1pA

-Once these have been checked & marked for the new page kindly Save the options and the changes should then reflect on the bot platform too.

Settings

Facebook Comments automation

Once you link your Facebook page to your bot you can go to the Settings tab and select User Comments.

AD 4nXeQ5Erv6cz9vY1a3t80SyDnBYoP3bqxOHCuJILeQv5w7R2zFzhD6LC8yYmZf V5kL5BoN1Rhy Fwfr7h2WE68mM5qQYD6xKYbNeqa3Jbcb2bjwLgwqnxqbKAb9EIVh61uWRwHD CGnvvHJdCQWNIcJLiiPckO9CP0ZvZoTN?key=oEP3wNzzCv 0ZChDt5Q1pA

You can enable the toggle for user comments. The reply mode has two options, you can either reply to the comment on the thread itself with ‘Comment Reply’ or you can start a new conversation on Facebook Messenger using ‘Private Reply’.
The reply type can be ‘Trigger a Path’ – this Path will be triggered for every comment on the FB post.
For the ‘Smart Response’ reply type – An FAQ will be triggered for the comment if there’s a match. In case of no match, the bot will trigger the Default response

Menu

One amazing feature that Orai provides you is Adding a quick access menu on your messenger bot, where the users can have quick access to the different paths of your bot, A URL link, or a submenu to your menu.
There are only two main steps to adding a menu on messenger
Step 1:
Once you link your Facebook page to your bot you can go to the Settings tab and select Menu

AD 4nXdn09fTbMs3J5M2FxlEnNf1bhJztZ1zDiD99e6kOP58Zp3u4l3krtXvcDLoCXc MB2b5VmjixOTMNJtUta GLBw2FCt9Xq6HPBuUTeOVD H NpmKrjOKqOUF0Im8Xz0X0DIilkPip8bkW8FyorQUszXF5z5iiJnpDL 3Fco?key=oEP3wNzzCv 0ZChDt5Q1pA

Click on the +Add button under the menu

AD 4nXeRfp431MUOT8Gc 60RtHV9B8xa7PC9Pt1r0lT3v2t2REFvIBDul325qpMWokBfZ6EiE9WqTOtPBXekI3Fmy6y3Z8fUlo7uq5AcJIZmHXiIYWwXz2 6NUxJWrABBrLbjzYVxwPgiFjsyE6Ws1et9FqRb4SMWbUYpucwafkd?key=oEP3wNzzCv 0ZChDt5Q1pA

Button name

Button name refers to the button name that you will see in the menu which you can set of your choice.
[Note: You have to have a name for your button to save your menu ]

Path

You can choose any path you wish to connect to a particular button on the menu. From the actions select Path and from the Dropdown menu select a path you want to link to that button.

URL

If you wish to redirect to a URL if the user clicks on a particular button of the menu you can do that using this; Just paste your URL into the URL tab and give that button a name click on save and you are done.
[Note: It has to have a valid URL to save it as a button]

Submenu

This allows you to create a submenu for your button in the menu which again you will have to configure and set to redirect to a path or a URL.
[Note: All the buttons in the menu have to be redirected to a valid path or a valid URL for it to be shown on the messenger.]
Step 2:
Once you are done configuring your menu all you have to do is to save it by clicking on the Save Menu button.

Enabling date picker for Messenger

Navigate to ‘Page Settings’ from manage pages

Document image

 

Document image

Select ‘Advanced Messaging’ and the field with the heading White label domains
Input https://app.Orai.com in the field available and click on ‘Save

Document image

This change will ensure that all Request user data nodes, with the date as input validation, will show a date picker on the messenger

Integrating Bot with Facebook ads

Open Facebook ads Manager,
Create a Campaign and ad set.
Select Messenger, and carousel as formats for ad setup
Scroll below to the message template section and select Advanced Setup
Use the flow key of the path from the orai Chabot that you would like to have triggered when a user clicks on your ad.

Unsubscribing from Messenger

If you want to unsubscribe from a Facebook page without deleting the bot you can do the same by following the below steps.
Step 1: Log in to the Orai portal.
Step 2: Go to the Facebook messenger tab in the deploy tab.
Step 3: Click on the Disable button to disable the bot from the page it was deployed on once done you can log out of the Facebook messenger.

AD 4nXcYg9cgkB HYDtvjBItYHrnIH0ezQC8 NQS0reQOQPgCF37Udxw6eBNFiG6nFr8mZLXDD3vd1T6tTAxU2F5VAeppxfSZLRYLPvMyCc5LDQZJ1IbZrTsDl6vvYk487vPV02BPz0MmJGtYlckdDEZ9QZzTRf2xRCvgb KenR?key=oEP3wNzzCv 0ZChDt5Q1pA

Note: The bot is automatically unsubscribed from your Facebook page if it is deleted. In case of any issues, feel free to reach out to us.

Table of Contents
Shopping Cart