The filtering rule is a specificity of third-party or social channels. This rule is essential to know what types of messages should be displayed in iAdvize.
1. Create a filtering rule
To create this rule, go to the campaign you have created for the channel.
- Define the name of your rule
- Then, add conditions for receiving messages from the channel
- Collect all messages addressed to your 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 |
⚠ In your filtering rules conditions (Facebook/Messenger, WhatsApp, SMS, AMB), 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*
xxx is your "context ID" (page_ID) and yyy is your "post_ID".
- Save your campaign as well as the created filtering rules by clicking on "Save".
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 filtering rule (for example "Opening Hours")
- Then, in the list of conditions choose the slots you want
Filter Hour
The same is true if you choose to filter by day of the week: don't forget one!
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 23:59. I validate.
I validate this second targeting rule.
9/ I create a targeting rule that I call "Non-working hours morning".
10/ In the conditions menu I click on "Time".
11/ I create a condition Time "greater than" 00:00. I validate.
12/ I create a second condition Hour "smaller" than 08:30. I validate.
I validate this third targeting rule.
- 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.
3. Add your filtering rule to a routing rule
After creating your filtering rule, add it to a new or existing routing rule, so that messages can be received by the dedicated agents. Click on "Engagement" > "Routing".