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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using Trello Webhook to post message in Google Chat

Based on the Butler ability to Post/Put to a URL and Google Chat's ability to receive incoming webhooks, I think that I should be able to define a trigger to then post a message in Google Chat (inclusive of Card name and hyperlink) using webhooks. So far the documentation I've used are:

Trello Webhooks

and

Google Chat incoming webhooks

 

Unfortunately I've not been able to get it to work thus far, and I believe it is because I am simply typing in text into the Payload field where the webhooks require some json to be able to interpret what I need to do. Knowing no javascript myself, what actions do I need to take to make this work?  Any ideas of where to start?

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader May 25, 2020

@Haldavid Cope the Trello webhooks documentation is about registering a webhook where you will receive notifications from Trello.

I think what you're trying to do is register a Google Chat incoming webhook URL as the webhook notification URL with Trello. This would only work if Google had specifically configured their application to receive Trello webhook notifications.

Butler can post to a URL with a payload, but you're correct you'd need to look at the Google chat incoming webhook documentation and figure out what that payload needs to be for your purposes, then construct it using Butler variables to achieve the designed outcome:

2020-05-25 at 8.53 pm.pngThis is also something I could do for you with Trellinator, you can see a link in my bio to submit a request for quote (it's pretty cheap, but not free). You can read about Trellinator here:

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

Thank you @Iain Dooley . I ultimately figured out how to format the payload to be accepted by the Chat Webhook URL.  Does Trellinator have other functionality like scheduled data export via API?

Iain Dooley Community Leader Aug 25, 2020

@Haldavid Cope yeah you can schedule jobs with Trellinator. It's not very well documented, but for example a recurring function gets scheduled and then re-schedules itself to run like this:

ExecutionQueue.push("functionName",parameters,signature,original_time.addDays(1));

For data export you would typically loop through cards or lists or something and append the data as rows to a Google Sheet for example.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

759 views 13 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you