AutomationFlowsGeneral › Download and Save File from URL

Download and Save File from URL

Original n8n title: Write a File to the Host Machine

Write A File To The Host Machine. Uses manualTrigger, httpRequest, writeBinaryFile. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesHTTP RequestWrite Binary File
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        260,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        460,
        300
      ],
      "parameters": {
        "url": "https://docs.n8n.io/assets/img/n8n-logo.png",
        "options": {},
        "responseFormat": "file"
      },
      "typeVersion": 1
    },
    {
      "name": "Write Binary File",
      "type": "n8n-nodes-base.writeBinaryFile",
      "position": [
        660,
        300
      ],
      "parameters": {
        "fileName": "/Users/tanay/Desktop/n8n-logo.png"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Write Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Write A File To The Host Machine. Uses manualTrigger, httpRequest, writeBinaryFile. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Convert Docx From Url To Pdf Using Convertapi. Uses manualTrigger, httpRequest, readWriteFile, stickyNote. Event-driven trigger; 6 nodes.

HTTP Request, Read Write File
General

Convert Xlsx To Pdf Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 5 nodes.

Read Write File, HTTP Request
General

Convert Pptx To Pdf Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 5 nodes.

Read Write File, HTTP Request
General

Convert Pdf To Pdfa Using Convertapi. Uses manualTrigger, readWriteFile, stickyNote, httpRequest. Event-driven trigger; 5 nodes.

Read Write File, HTTP Request
General

Convert Web Page To Pdf Using Convertapi. Uses httpRequest, manualTrigger, readWriteFile, stickyNote. Event-driven trigger; 5 nodes.

HTTP Request, Read Write File