Tagging
Assigning & removing tags from Rocketbots contacts using Dialogflow Intent Parameters.
Last updated
Assigning & removing tags from Rocketbots contacts using Dialogflow Intent Parameters.
Last updated
Contacts' information can be stored in the form of tags. Tags can be manually added/removed in the or , programmatically added/removed using , and added/removed using parameters in Dialogflow intents.
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.
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.
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.