Missed Team ’24? Catch up on announcements here.

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

How to create a webhook?

Vasyl Kalymun
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2021
Hello. I want to integrate Trello with google sheet, but the required data is not passed. How to transfer data from "Description" to the table?

 

2 answers

0 votes
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2021

@Vasyl Kalymun the trouble with creating webhooks from Trello to a Google Sheet is that Trello sends a "HEAD" request to test whether the URL is live, and if it fails then assumes it's not live and it won't send any subsequent notifications. Google Scripts published as web apps don't respond to HEAD requests, so it always fails.

Also, even if you get it working (and there is a hacky kind of workaround to doing it) Google Apps Script can only sustain about 5 concurrent connections before it spits the dummy and stops working, and Trello sends MANY notifications to webhooks, especially at the board level.

The way I deal with this is to put a buffer in between Trello and Google, with this nginx template:

https://github.com/iaindooley/trellinator-buffer/blob/master/nginx_template.txt

which writes the job to a local beanstalkd queue if it's not a HEAD request. You can set up your own Trellinator buffer, but you can also just use mine by setting up Trellinator from the following tutorial which uses my own buffer out of the box -- this will mean you don't have to worry about the webhooks and so on, and will give you a head start on coding because Trellinator has a large library of functions you can use to interact with Trello:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

You can see thousands of examples here:

https://gist.github.com/iaindooley

and full API documentation here:

http://docs.trellinator.com/

0 votes
Vero Rivas
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.
February 17, 2021

Hi @Vasyl Kalymun 

   Look at this post, maybe can help you:

   https://developer.atlassian.com/cloud/trello/guides/rest-api/webhooks/

Cheers

Vasyl Kalymun
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 17, 2021

Thank you very much, interesting information.
Maybe you know free services where you can download contacts from trello to store a database of contacts?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events