Dialogflow Parameters

Rocketbots uses custom Dialogflow parameters to enhance the application's functions. This section of documentation describes what these parameters are and how to utilize them.

In Dialogflow, parameters are generally used to connect words and phrases in a user’s response to entities. So if someone says "My birthday is on March 13," the phrase "March 13" will be automatically detected and treated as a date entity. You can read more about parameters in Dialogflow on their documentation page.

With the Rocketbots Platform, you can take parameters to the next level. You can use them to save and collect information provided by your contacts, for example by assigning dynamic tags, setting custom fields. You can even notify support representatives when a contact requires assistance. You can also use the Rocketbots Platform to store and easily manage your intent responses.

There is a whole slew of endless possibilities when you use the Rocketbots Platform in conjunction with Dialogflow Intent parameters.

The Actions and Parameters Section

Parameter Reference

The list of parameters you can use on Dialogflow to communicate with the Rocketbots Platform.

Parameter Name

Value

Description

RB_ADDTAGS

tag1, [tag2, ...]

Adds the specified tag(s) to the contact profile on the Rocketbots Platform.

RB_REMOVETAGS

tag1, [tag2, ...]

Removes the specified tag(s) from the contact profile on the Rocketbots Platform.

RB_BOTSTATUS

false

Turns the bot off for the specific contact. This is useful in cases were you want to pass the conversation from the bot to a human.

RB_MARKDONE

true/false

Marks the contact on the contact as "Done" or "Pending". This is useful for support. "Pending" marks contacts who are still expecting something, while "Done" signifies contacts who have been attended to.

RB_NOTIFY

notification_message

Sends a notification to the humans on the Rocketbots Platform, accompanied by a notification message.

RB_SUBSCRIBE

true/false

Subscribes or unsubscribes a contact. Unsubscribed contacts will not receive broadcast messages.

RB_FIELD_FIRSTNAME

value

Fills the First Name field of the contact profile with the specified value.

RB_FIELD_LASTNAME

value

Fills the Last Name field of the contact profile with the specified value.

RB_FIELD_FULLNAME

value

Fills the Full Name field of the contact profile with the specified value.

RB_FIELD_EMAIL

value

Fills the Email Address field of the contact profile with the specified value.

RB_FIELD_PHONE

value

Fills the Phone Number field of the contact profile with the specified value.

RB_FIELD_[NAME]

value

Adds a custom field onto the contact's profile with the specified value. This is best used for non-dynamic information, such as email, birthday, etc.

RB_REMOVEFIELDS

field1, [field2, ...]

Removes the specified custom field(s) from the contacts on the platform.

RB_USER_ASSIGN

value

Assigns the contact to one user in your team.

RB_SNIPPET

snippet_id

Sends the specified Snippet to the contact.

RB_FILE

file_id

Sends the specified file stored on the platform to the contact.

RB_LOCATION

true

Requests and collects the location of the contact.