Skip to main content

Hey all,

 

The Dev folks opened me a new endpoint with a bit of an unusual structure (body), as it has hirrecry: 

  1. user
    1. email (“string”)
    2. reason (number)

the structure of the call looks like this (tested and verified on postman): 

{
    "users": "
        {
            "email": "me@mememe.oi",
            "reason": 2
        }
    ]
}

 

I'm wondering how can I adjust the Zapier preset webbook data to fit the structure.

I tried userseemail]/users/reason] but it didn't worked (‘internal server error).

any idea how I should format the the call?

Hey @omer_verbit 👋

POST and PUT Webhooks actions aren’t able to support line-items unfortunately. However, you should be able to achieve this by using a Custom Request and a Formatter step, where you’ve mapped the array you want to send. This workflow is outlined here: 

 

Hope that helps! 


Hi @omer_verbit 

Good question.

Perhaps you can post screenshots with how your Zap steps are configured in order for us to have more context.


Thanks all for the help and sorry for the late response. 

 

Our R&D helped me to format it properly so now it works!