Facebook Messenger - Set up the channel

You want to manage your Facebook/Messenger conversations from your desk? Nothing could be easier! This article will guide you step by step... 

1. Channel activation

To use Facebook Messenger, you should have the Facebook channel activated in your iAdvize account. Please contact your Success Manager if it isn't already done.

2. Facebook Messenger synchronization

"Message Us" could be used in the same way as a floating button.

Note that it is necessary that the person in charge of the procedure has the Administrator status of the Facebook page and is connected to it. An authorization will be required to access the pages.


If an administrator changes the password on his Facebook page(s), the page will be disconnected from iAdvize.

Add your Facebook Messenger account directly in the iAdvize administration by this way :

Engagement > Settings > Messenger > Add new pages 


Several pages could be synchronized at the same time in the iAdvize interface. You just have to select the pages and to validate this step. Then, you'll receive a confirmation message and the Facebook pages should appear in the iAdvize administration. Global Facebook pages are able via iAdvize and it's possible to synchronize every single "daughter" page.


⚠ A Facebook page could be associated with only one iAdvize SID / Website. 


When we synchronize your account "Messenger", it is your Facebook page and all private messages associated with it.

Therefore, we collect all private messages addressed to this page via this following ways:

- Thanks to the iAdvize buttons (floating or fixed) via the Messenger redirection;


- Via the "Message" button placed on your Facebook page.


Vice-versa, messages are also present in your Facebook private messaging page.

So this is the same messaging system that is available on several devices :

- Messenger on desktop http://www.messenger.com;

- Messenger mobile application;

- Private messaging Facebook (desktop and mobile).

Like any iAdvize interaction element, the display of the Message Us button is conditioned by targeting rules, or present as a fixed button.

⚠ If you have the main page as well as "children" pages, it is possible that visitors are redirected to one of your children's pages instead of your main page, when it is this page that is connected.

Also, to help you configure these pages, please refer to the Facebook article about the Global or Local Pages.


3. Activation of the channel for users

The last step consists to add the social media expertise to your agents who have to answer to social media messages.


By the way, a picking-list corresponded to one SID where the rules and the social accounts are synchronized. So, this requires that the user has the correct site associated in his "Expertise" field.



4. Create a campaign and targeting rule for social and 3rd party channels

First of all, the creation of a campaign dedicated to the channel is necessary. Go to the following path: Engagement > Campaign > Click on Create a targeting campaign




  • Then you just need to define a name for your campaign. For example: "Facebook/Messenger"
  • Then select the desired channel in the 3rd Party Messaging app or Social Networks 

newFBMessenger-EN05-Nom.png campaign_Messaging_app.png


  • Save to proceed to the next step: Campaign objective
  • Select an objective for this campaign
  • Then, if you need, create a targeting rule to display a notification on your site. For example: "Btn - Messenger"
NB: It will not be necessary to add this rule (Btn - Messenger) to a distribution rule. In fact, as soon as it is created, the notification will automatically be displayed on your site according to the criteria entered in the targeting rule.


5. Create a rule

After selecting your campaign objective (and creating a targeting rule if applicable), you will proceed to the step of creating a filtering or listening rule to retrieve conversations from that channel. Click on "Create a rule".

5.1 Create a targeting rule



  • Define the name of your rule
  • Then, add conditions for receiving messages from the channel


  • Collect all messages addressed to your Facebook Messenger account that meet these conditions
Condition Settings Value Comment
Message content (1) Match with wildcards / Does not match with wildcards Text The value can be used with * to expend it. Example : *bio* will also return antibiotic.
Message type  Is/ Is not A name within the list Allows the user to create a rule for a specific page and route it to the right agents
Parent account ID (2) Is/ Is not  Number Allows to determine which Page IDs and Post Facebook IDs are used on Facebook Rules
Account Is/ Is not  A name within the list  Let the user create rules for a specific account and then route them to the right agents


(1) Warning: punctuation is not taken into account (?, !, ; etc...) 



(2) Parent account ID : <page_ID>_<post_ID>. To find the page ID, you can use this tutorial https://www.facebook.com/business/help/405841712841961
. To find the publication / Post ID, you can use this : https://randomtools.io/

All people who respond to a comment will have their messages attached to the same conversation. On the other hand, each comment to a Facebook post will generate a separate conversation in the conversation panel.


In your listening rules conditions (Facebook/Messenger, WhatsApp, SMS), make sure to respect these 4 elements:
  • add key words in lower case and without accent
  • use negative conditions such as: "Content of the message does not contain" to facilitate distribution
  • do not use the ( | ) format

  • but use one word per condition *word*


Example: For a publication web address https://www.facebook.com/xxx/posts/yyy,
xxx is your "context ID" (page_ID) and yyy is your "post_ID".



  • Save your campaign as well as the created listening rules by clicking on "Save".



⚠ If you wish to retrieve all messages, please make sure to use a * in "contains (with wildcards)".


5.2 Create an hourly filter rule

Adding a time filter allows you to set up a differentiated treatment of conversations according to their creation date/time.

This type of rule can allow you to set up a specific distribution from 9am to 8pm and another distribution from 8pm to 9am. Or even the week/weekend.

How to do it ?

  • Define the name of your listening rule (for example "Opening Hours")
  • Then, in the list of conditions choose the slots you want
Facebook-EN01-targeting_rule.png Facebook-Messenger-EN01-targeting_rule.png

Filter Hour

Filter Day

warning If you choose to filter conversations by time slots, make sure you cover the 24 hours of a day! If a time slot is forgotten, all messages received in that slot will not be sent to your advisors' desks.

The same is true if you choose to filter by day of the week: don't forget one!

Example : I want to create a targeting rule for messages from 8:30am to 8pm. And another one for the rest of the day.

1/ I create a rule that I call "Hours worked".
2/ In the conditions menu I click on "Time".
3/ I create a condition Hour "greater than" 8:30. I validate.
4/ I create a second condition Hour "smaller" than 20:00. I validate.

I validate this first targeting rule.
5/ I create a targeting rule that I call "Non working hours".
6/ In the conditions menu I click on "Time".
7/ I create a condition Time "greater than" 20:00. I validate.
8/ I create a second condition Hour "smaller" than 08:30. I validate.
I validate this second targeting rule.

The 24 hours of a day are covered, everything is good.
I continue my configuration.
Good to know :
  • The defined times and days follow the project time zone (sid). You can check/edit the time zone of your project in Profiles > My Projects.
  • It is possible to combine day and time filters. Be careful to cover all days of the week and all hours.


6. Add your listening rule to a routing rule

After creating your listening rule, add it to a new or existing routing rule, so that messages can be received by the dedicated agents. Click on "Engagement" > "Routing". 


To learn more about the implementation of Facebook/Messenger, please consult the following guide: