Webhooks by Zapier catch hook trigger now supports line items

Categories: App Integrations Zapier Apps Product Updates
Webhooks by Zapier catch hook trigger now supports line items

Extra extra! Read all about it! The Webhooks by Zapier app now supports line item payloads in the Catch Hook trigger:

So POSTing this:

{"line_items": [{"word": "hello"}, {"word": "world"}]}

does this:

A few things to note:

  • Current Zaps will continue to use the old trigger, which has been renamed Catch Hook (Legacy). New Zaps will use the new trigger. These Zaps will continue to run unchanged, and this functionality is only for new Zaps you create.

  • The querystring key is now always exposed in the payload. It will be populated as an object if there are any query string parameters as part of the post.

  • Using a child key with a line item payload will run the Zap for each instance of said key. So, like in the above payload, if you used line_items.word as the child key, the Zap would run twice, once with {"word" : "hello"} and the second time with {"word" : "world"}.

NOTE: Line Items are our name for a nested array of objects, and these type of payloads (and their nesting) can get really complicated. We only support one level of nested array, so if you need more than that, you’ll still need to use the Catch Raw Hook trigger with your own Code Step parsing, or even better, use the Platform UI.

This update will be of interest to a specific cross-section of Zapier users, but for those of you who have been waiting for this, we hope you’re as excited as we are about this one :)

Be the first to reply!