Tagging

Assigning & removing tags from Rocketbots contacts using Dialogflow Intent Parameters.

Data about contacts can be stored in the form of tags. Tags can be manually added/removed in the Contacts Module or Messages Module, programmatically added/removed using Automation rules, and added/removed using parameters in Dialogflow intents.

Remember, tags are used to segment broadcasts. So keep that in mind when adding/removing tags from Dialogflow.

Using Tag Parameters

Adding Tags

Using the RB_ADDTAGS parameter, you can assign a tag to a contact. Tags will be added to the contact based on the value of the parameter. You have the option to add multiple tags by separating them with commas.

Note that tag names cannot contain spaces. You may want to use underscores instead.

Removing Tags

Using the RB_REMOVETAGS parameter, you can remove a tag from a contact. Tags will be added to the contact based on the value of the parameter. You have the option to remove multiple tags by separating them with commas.

Best Practices

When creating new tags, it is a good idea to define short but meaningful names that are easily identifiable. Ideally, you would want other people to be able to understand the tags associated with a user.

With slot filling using entities, you have an option of dynamically creating new tags. However, this is not advised as it will quickly lead to tag pollution.

To reduce tag pollution, try not to be too specific or too generous with the tagging in order the keep the number of tags to a minimum.

When using tags to keep track of a user’s topic interest, you can use the same tag in several intents that have the same topic. This can identify that the user has a specific interest or concern while reducing tag pollution.

Try and keep the number of tags low to reduce tag pollution.

Last updated