Question

How do I add lists to Webhook post requests?


This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.”

So I’m trying to send a post request  using zapier webhooks that looks like this:

{
    "recipient": {
        "first_name": "xxxx",
        "last_name": "xxxxxx",
        "address": {
            "street1": "xxxxxxxx",
            "street2": "",
            "city": "San Franscisco",
            "state": "CA",
            "zip": "xxxxxx"
        },
        "email": "xxxxxxxxx",
        "phone": "xxx-xxx-xxxx"
    },
    "kit_types": [
        "example_lipid_kit"
    ]
}

I can nest values using double underscores, but I’m not sure how I’d go about adding a list like you can see for  kit_types. Any advice?

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +9

Hiya @pavelgq!

I wanted to check in and see if you were able to get this sorted? If not, I wonder if this article on “How to send Line-Items/Arrays in Webhooks by Zapier” could be useful.

Keep us posted! 🤗

Userlevel 7
Badge +14

Hi @pavelgq 

Good question.

Try using Webhook - Custom Request