Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to send all custom fields as a JSON object in webhook?

Aaron Smith March 9, 2022

I'm building a Zapier automation that works with Trello. Here's basically what I'm trying to do:

1. Trello sends a webhook to Zapier when a card button is clicked, passing along a ton of info from the card

2. Zapier catches the hook and does a bunch of stuff with the payload given

Among other data, I want to pass all of the custom fields (there are about 20) through the payload, but I don't want to have to write every single one out in a key/value pair... that would be a) tedious b) hard to maintain. Is there a way to pass them all along as one JSON object inside the payload?

 

Something like...

{"name": "{cardname}", "description": "{carddesc}", "customfields": "{customfields}"}

???

Yes, I know I could use a Trello trigger in Zapier and all this would be easier, but I'm running into "429 rate limit exceeded" error issues and trying to reduce the amount of API calls to Trello from Zapier.

1 answer

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2022

@Aaron Smith 

Take a look at this 

https://github.com/xu2xulim/Superhero/blob/master/Superhero%20on%20deta/Micros/Custom%20Fields.md

It returns the custom fields of a card using the http request as {httpresponse}

You can see if you can then use it as part of 

{"name": "{cardname}", "description": "{carddesc}", "customfields": "{httpresponse}"}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events