# How to correctly respond to payload-button-item

**URL:** <https://forum.rasa.com/t/how-to-correctly-respond-to-payload-button-item/54719>\
**Category:** Rasa Open Source\
**Created:** [August 8, 2022, 2:21pm UTC](https://forum.rasa.com/t/how-to-correctly-respond-to-payload-button-item/54719 "2022-08-08T14:21:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![threxx](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/threxx/32/3620_2.png) [@threxx](https://forum.rasa.com/u/threxx)\
**Post date:** [August 8, 2022, 2:21pm UTC](https://forum.rasa.com/t/how-to-correctly-respond-to-payload-button-item/54719/1 "2022-08-08T14:21:53Z")

</div>

Hello,

I have several buttons, that I create in my actions, like this:

```auto
buttonGroup.append({"title": title, "payload": '/inform{{"course": "{0}"}}'.format(title)})
dispatcher.utter_message(buttons = buttonGroup)

```

so on postman I see something like this then:

```auto
"buttons": [
            {
                "title": "Course A",
                "payload": "/inform{\"Course\": \"CourseA\"}"
            },
            {
                "title": "Course B",
                "payload": "/inform{\"Course\": \"Course B\"}"
            }
        ]
    },

```

My problem is, that I do not know how to correctly respond to this to “activate” the payload / validate the send intent and entity.

Do I send a message, or a payload, or message and payload?

Like this:

{ “sender”: “theresa”, “message”: “Course A” }

or like this:

{ “sender”: “theresa”, “message”: “/inform{“Course”: “Course B”}” }

Thanks, Theresa!
