# Custom payload in chatflow webhook responses

**URL:** <https://community.hubspot.com/t/custom-payload-in-chatflow-webhook-responses/60466>\
**Category:** HubSpot Ideas\
**Tags:** conversations-inbox\
**Created:** [July 6, 2022, 5:32pm UTC](https://community.hubspot.com/t/custom-payload-in-chatflow-webhook-responses/60466 "2022-07-06T17:32:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tzellman](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tzellman](https://community.hubspot.com/u/tzellman)\
**Post date:** [July 6, 2022, 5:32pm UTC](https://community.hubspot.com/t/custom-payload-in-chatflow-webhook-responses/60466/1 "2022-07-06T17:32:41Z")

</div>

A webhook should be able to provide more metadata with the response, beyond just the message and/or quick replies. This information might be useful to correlate state with future messages within the same conversation.

---

<div class="post-metadata">

**Author:** ![tzellman](https://avatars.discourse-cdn.com/v4/letter/t/4491bb/32.png) [@tzellman](https://community.hubspot.com/u/tzellman)\
**Post date:** [July 6, 2022, 7:29pm UTC](https://community.hubspot.com/t/custom-payload-in-chatflow-webhook-responses/60466/2 "2022-07-06T19:29:47Z")

</div>

Well, it looks like this idea is already available! I could not find any documentation on the subject, which is probably the crux of the problem, but I was able to add a `customState` parameter to the response payload, which was then stored in the session.

---

<div class="post-metadata">

**Author:** ![VEspo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vespo/32/44503_2.png) [@VEspo](https://community.hubspot.com/u/VEspo)\
**Post date:** [August 17, 2022, 6:20pm UTC](https://community.hubspot.com/t/custom-payload-in-chatflow-webhook-responses/60466/3 "2022-08-17T18:20:58Z")

</div>

@tzellman, can you please share how you were able to add a custom parameter to a webhook payload? I also have a need to do this. Thanks!
