How can I download a file from a column of an item using Make.com?

See video: https://www.youtube.com/watch?v=dNHeMy1Bvj8

Basically I’m trying download a file from a url that I retreive from a previous request in Make. I was wondering if it’s possibel to do that using http or GraphQL method? I tried Matias suggestion regarding public url from a community topic here on monday but it’s giving me an error…

Hello there @RacerX,

The query you are trying (boards->items) has been deprecated.

You need to use items_page as shown here :smile:

Regarding the question about the possibility of downloading the file via Make from the URL provided by monday, I recommend checking that with Make’s team.

I hope you succeed with it!

Cheers,
Matias

Yes, there is a “Download a File” module. It takes an Asset ID. You get the asset ID by getting the item and its column values using the “Get an Item” module. The file column value in that will contain an array of files, each has an asset ID you can use to get the file.

That is the official way to download a file in make.

Thank you @anon29275264 for the information!

If you want to use a graphQL query you can do it in 3 steps.

1. Get the assetid by querying the item and the file columnid

{
  "query": "query { items(ids: item_id_here) { column_values(ids: [column_id_here]) { id value } } }"
}

2. Within the assetid, you will get a public url to download the file

{
  "query": "query { assets(ids: [asset_id_here]) { public_url } }"
}

3. Download the file with the url

I have found using this custom GPT helpful in telling how structure queries for the right syntax.