Forums

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

automation attachment

刘旭杰
December 16, 2025

I'm setting up an automation rule. As you can see in the image, I've managed to get the cardname and cardlongid, but I'm stuck on how to access the attachment URLs and filenames. Any ideas?1234666.png

2 answers

1 accepted

1 vote
Answer accepted
Mike - Dreamsuite Consulting
Community Champion
December 17, 2025

Hi @刘旭杰 

 

Can you explain what you are trying to do? 

There are just too many limitations with Trello automation to give you all of the information.

You could use an http get in trello to get 

https://api.trello.com/1/cards/{id}?key=APIKey&token=APIToken

 

You can process the response with the dot notation so you can then build your JSON using {httpresponse.attachment[0].link}

This falls apart because Trello automation isn't smart enough to know the number of items in the array. I have tried and failed many ways to get this to work.

An ugly alternative is to post {httpresponse} elements to a comment and then us an automation with regex to match elements. (to use regex in Trello you have to use the format regex:/yourregex/

If I wanted to achieve what you were looking to achieve, I would post to a webhook in Make (make.com)

with a payload that just includes the cardidlong.

This would then trigger an https get for /cards/{cardidlong}, which would give you all the information you need.

 

 

刘旭杰
December 17, 2025

I have configured an automation rule to send an HTTP POST payload to my web database upon card archival for statistical analysis. I intend to retrieve this data within Trello using an HTTP GET request. This method appears valid. Thank you

0 votes
Jorge Cammarota
December 17, 2025

No, my friend, I was thinking about Jira automation. Forgive me.

Mike - Dreamsuite Consulting
Community Champion
December 17, 2025

Hi @Jorge Cammarota 

 

Did you use AI to create that response?  It is incorrect!

 

{attachmenturls} and {attachmentnames} are not valid variables in Trello.

 

 

Jorge Cammarota
December 17, 2025

No, my friend, I was thinking about Jira automation. Forgive me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events