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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,191
Community Members
 
Community Events
176
Community Groups

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

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 Mar 09, 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

Atlassian Community Events