Rating request

The rating request card lets you send a five star rating request to the user.


Syntax
[
{
"id": "724b2b8f-dfc0-4572-b21a-3213e993c250",
"name": "state_1613375130069",
"component": "ebbot_rating_request",
"properties": {
"text": "<TEXT MESSAGE>"
}
}
]Example usage
[
{
"id": "724b2b8f-dfc0-4572-b21a-3213e993c250",
"name": "state_1613375130069",
"component": "ebbot_rating_request",
"properties": {
"text": "Please rate your experience with me 😊"
}
}
]Grab the value behind the stars
The number behind the star is stored in the conversation object with the rating property. It can be used in a filter or a custom component.
Filter

Custom component
def main(data):
rating = data['conversation']['rating']Last updated
Was this helpful?

