8
n8n 中文网amn8n.com

Convert JSON to an Excel file

初级

这是一个自动化工作流,包含 0 个节点。 Send a JSON array via HTTP POST and get an Excel file. Default name Export.xlsx; set ?filename=xyz to override.

前置要求
  • 无特殊前置要求,导入即可使用

使用的节点 (0)

没有找到匹配的工作流

分类

-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "nodes": [
    {
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        340,
        0
      ],
      "webhookId": "c1616754-4dec-4b00-a8b5-d1cb5f75bf11",
      "parameters": {
        "path": "c1616754-4dec-4b00-a8b5-d1cb5f75bf11",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 1,
      "id": "Webhook-0"
    },
    {
      "name": "Item Lists",
      "type": "n8n-nodes-base.itemLists",
      "position": [
        560,
        0
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "=body"
      },
      "typeVersion": 1,
      "id": "Item-Lists-1"
    },
    {
      "name": "Spreadsheet File",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        780,
        0
      ],
      "parameters": {
        "options": {},
        "operation": "toFile",
        "fileFormat": "xlsx"
      },
      "typeVersion": 1,
      "id": "Spreadsheet-File-2"
    },
    {
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1020,
        0
      ],
      "parameters": {
        "options": {
          "responseHeaders": {
            "entries": [
              {
                "name": "content-disposition",
                "value": "=attachment; filename=\"{{$node[\"Webhook\"].json[\"query\"][\"filename\"]? $node[\"Webhook\"].json[\"query\"][\"filename\"] : \"Export\"}}.xlsx\""
              }
            ]
          }
        },
        "respondWith": "binary"
      },
      "typeVersion": 1,
      "id": "Respond-to-Webhook-3"
    }
  ],
  "connections": {
    "Webhook-0": {
      "main": [
        [
          {
            "node": "Item-Lists-1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Item-Lists-1": {
      "main": [
        [
          {
            "node": "Spreadsheet-File-2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Spreadsheet-File-2": {
      "main": [
        [
          {
            "node": "Respond-to-Webhook-3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

初级

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
初级
节点数量0
分类-
节点类型0
难度说明

适合 n8n 新手,包含 1-5 个节点的简单工作流

作者
Creators

Creators

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34