# Nested JSON Payload in Webhook Automations

**URL:** <https://community.hubspot.com/t/nested-json-payload-in-webhook-automations/77688>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [March 21, 2023, 9:26pm UTC](https://community.hubspot.com/t/nested-json-payload-in-webhook-automations/77688 "2023-03-21T21:26:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salesengineers](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@salesengineers](https://community.hubspot.com/u/salesengineers)\
**Post date:** [March 21, 2023, 9:26pm UTC](https://community.hubspot.com/t/nested-json-payload-in-webhook-automations/77688/1 "2023-03-21T21:26:50Z")

</div>

Hi everyone,

We are looking to use webhooks in Hubspot Automations. (This [process](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows#set-up-a-webhook-in-your-workflow) here)

The issue we are running into is that the workflow step does not allow for nested JSON payloads. Has anyone figured out how to do this? Ideally we want the payload format to look like:

```auto
{
 "user": {
 "phone": "<HUBSPOT_PHONE>",
 "email": "<HUBSPOT_EMAIL>"
 }
} 

```

Thank you!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 22, 2023, 4:37pm UTC](https://community.hubspot.com/t/nested-json-payload-in-webhook-automations/77688/2 "2023-03-22T16:37:01Z")

</div>

Hi, @salesengineers 👋 Thanks for reaching out. For this use case, I don’t have any additional documentation to share.

Have a look at this post from @LMeert for some thoughts on other approaches — [Workflow webhooks with nested parameters](https://community.hubspot.com/t5/APIs-Integrations/Workflow-webhooks-with-nested-parameters/m-p/752643#M61178).

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![salesengineers](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@salesengineers](https://community.hubspot.com/u/salesengineers)\
**Post date:** [March 22, 2023, 8:10pm UTC](https://community.hubspot.com/t/nested-json-payload-in-webhook-automations/77688/3 "2023-03-22T20:10:30Z")

</div>

Thanks for the response!
