Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automate sending attachment to Telegram

raya_amrullah
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!
June 14, 2023

I know that it is not possible to automate this process in trello, and I've used some third-party automation apps. The attachment is a photo or a video.

Trello will give you the URL for previewing  the attachment such as this one:
Ref2.jpg (1302×1216) (trello.com)

But it is not possible to be sent via telegram.

2 answers

2 accepted

0 votes
Answer accepted
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.
June 14, 2023

@raya_amrullah 

I have done some work with Telegram and Trello. My bot operates a webhook and other endpoints to the bot. You can use http request from Trello automation and Trello api to send image to the endpoint just like any other Post Request. In another use case, Trello serves as a CMS and the data is staged in a NOSQL DB and a shopping user to buy content and sees an image with a BUY button. In most cases, I would use Trello for workflow by creating cards in Trello with a tme.id

0 votes
Answer accepted
Matthias Gaiser _K15t_
Community Champion
June 14, 2023

Hi @raya_amrullah

welcome to the Atlassian Community.

I'm not too familiar with Telegram, but I would first try to post a message from Trello to Telegram and then continue to post an attachment.

I'd probably approach it like this:

  • Create a Telegram bot & get its API token
  • Add the bot to the desired chat and get the chat id
  • Use Trello Automation to send an HTTP request to the Telegram API
  • If that works, I'd have a closer look into the attachment.

Does it already work for you to send messages from Trello to Telegram?

Cheers,
Matthias.

Note: My approach has been inspired by this Github Gist.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events