AutomationFlowsEmail & Gmail › Import A Json File From Gmail Into A Spreadsheet

Import A Json File From Gmail Into A Spreadsheet

Import A Json File From Gmail Into A Spreadsheet. Uses gmail, spreadsheetFile, moveBinaryData, stickyNote. Manual trigger; 4 nodes.

Manual trigger★★☆☆☆ complexity4 nodesGmailSpreadsheet FileMove Binary Data
Email & Gmail Trigger: Manual Nodes: 4 Complexity: ★★☆☆☆

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": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "notes": "Get email with JSON file",
      "position": [
        620,
        140
      ],
      "parameters": {
        "limit": 1,
        "operation": "getAll",
        "additionalFields": {}
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "name": "write spreadsheet file",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        980,
        140
      ],
      "parameters": {
        "options": {
          "fileName": "users_spreadsheet.csv"
        },
        "operation": "toFile",
        "fileFormat": "csv"
      },
      "typeVersion": 1
    },
    {
      "name": "move binary data ",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        800,
        140
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        160
      ],
      "parameters": {
        "width": 320,
        "height": 80,
        "content": "## JSON file > Sheets"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Gmail": {
      "main": [
        [
          {
            "node": "move binary data ",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "move binary data ": {
      "main": [
        [
          {
            "node": "write spreadsheet file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

About this workflow

Import A Json File From Gmail Into A Spreadsheet. Uses gmail, spreadsheetFile, moveBinaryData, stickyNote. Manual trigger; 4 nodes.

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

More Email & Gmail workflows → · Browse all categories →