Download data to drive from a URL

Ok so I have a scenario that basically catches comments added to Todoist and then records the details of that comment into a slack channel (unfortunately Todoist is great at managing active tasks/projects but it’s poor at keeping easily accessible records on historic/completed/deleted data)

I want to be able to download the attachments added to a comment via the URL that Make quite accurate catches when catching the comment data into a drive folder for Todoist attachments (I have this folder already set up in the drive) I later want to add the actual file into the slack message, that part I can handle once I have the comment attachment saved into the drive.

Any suggestions on how to simply save the comment attachment to the drive folder?

Welcome to the Make community!

Can you provide an output bundle of your scenario’s Trigger module that “catches comments added to Todoist”?

Please provide the input and/or output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

2 Likes

Does this help… No data in the input



Here is the output

[
    {
        "event": "note:added",
        "userId": "34156487",
        "id": "3463205225",
        "itemId": "7713265423",
        "content": "",
        "deleted": false,
        "url": "https://todoist.com/showTask?id=7713265423",
        "initiator": {
            "id": "34156487",
            "fullName": "Carl Luis Olivier",
            "email": "clolivier@wespeakallday.com",
            "premium": false,
            "imageId": "9af529508cd54ce49602ca911666fe31"
        }
    }
]

What about “Get a Task Comment”?

From the Todoist documentation, it appears that would have a file URL:

Screenshot_2024-02-20_200215

You can try using the HTTP “Get a file” module with the attachment file_url.

Screenshot_2024-02-20_200212

2 Likes