# Get Trello Attachment

**URL:** <https://community.n8n.io/t/get-trello-attachment/18243>\
**Category:** Questions\
**Tags:** trello\
**Created:** [September 29, 2022, 11:22pm UTC](https://community.n8n.io/t/get-trello-attachment/18243 "2022-09-29T23:22:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![midiacloud\_mkt](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/midiacloud_mkt/32/16569_2.png) [@midiacloud\_mkt](https://community.n8n.io/u/midiacloud_mkt)\
**Post date:** [September 29, 2022, 11:22pm UTC](https://community.n8n.io/t/get-trello-attachment/18243/1 "2022-09-29T23:22:40Z")

</div>

I get all the cards from a trello list via http request, however, the attachment of this comes only the id, in the next node (http request) I can get, also via api) the attachment, but this only takes the attachment of the id that I set, therefore, I can’t get the attachment one by one of the cards from a list that I need.

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [September 30, 2022, 7:47am UTC](https://community.n8n.io/t/get-trello-attachment/18243/2 "2022-09-30T07:47:48Z")

</div>

Hey @midiacloud_mkt,

Are you able to share your workflow? It sounds like the issue might be that the ids are not being looped.

---

<div class="post-metadata">

**Author:** ![midiacloud\_mkt](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/midiacloud_mkt/32/16569_2.png) [@midiacloud\_mkt](https://community.n8n.io/u/midiacloud_mkt)\
**Post date:** [September 30, 2022, 11:50am UTC](https://community.n8n.io/t/get-trello-attachment/18243/3 "2022-09-30T11:50:38Z")

</div>



---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [September 30, 2022, 12:09pm UTC](https://community.n8n.io/t/get-trello-attachment/18243/4 "2022-09-30T12:09:44Z")

</div>

Hey @midiacloud_mkt,

Can you also share the output of the first http request node?

---

<div class="post-metadata">

**Author:** ![midiacloud\_mkt](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/midiacloud_mkt/32/16569_2.png) [@midiacloud\_mkt](https://community.n8n.io/u/midiacloud_mkt)\
**Post date:** [September 30, 2022, 12:25pm UTC](https://community.n8n.io/t/get-trello-attachment/18243/5 "2022-09-30T12:25:56Z")

</div>

The “HTTP Request2” takes all the data from the list in trello, however, it brings the attachments so that it only displays the ID, so the only way I found to get the attachment link instead of just the id, was using:

```auto
https://api.trello.com/1/cards/{{ $json[“0”][“id”] }}/attachments/{{$json[“0”][“cover”][“ idAttachment”]}}

```

But it only takes the link of the attachment in which I set the id, I can’t make it take all the links of all the cards, as it takes the data like the “HTTP Request2”

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [September 30, 2022, 2:11pm UTC](https://community.n8n.io/t/get-trello-attachment/18243/6 "2022-09-30T14:11:14Z")

</div>

Hey @midiacloud_mkt,

If you can share that output from the first http request node (HTTP Request 2) we can work out out what needs to happen to the data to get what you are after.
