8
n8n 中文网amn8n.com

Invoice NINJA 发票自动化工作流

中级

这是一个Invoice Processing领域的自动化工作流,包含 6 个节点。主要使用 Gmail, HttpRequest, GoogleSheets, GoogleSheetsTrigger 等节点。 通过 Google Sheets、Invoice Ninja 和 Gmail 实现发票创建与发送的自动化

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "qclESQ5SPXlYdUS1",
  "meta": {
    "instanceId": "a287613f1596da776459594685fbf4e2b4a12124f80ab8c8772f5e37bff103ae",
    "templateCredsSetupCompleted": true
  },
  "name": "Invoice NINJA 发票自动化工作流",
  "tags": [],
  "nodes": [
    {
      "id": "1009fb50-b8fe-4949-8756-c61311d0ab1f",
      "name": "0. Google Sheets(发票触发器)",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -112,
        64
      ],
      "parameters": {},
      "description": "Triggers when a project's status is changed to 'Ready for Invoice'.",
      "typeVersion": 1
    },
    {
      "id": "bba87058-2b13-4f63-8999-f45b43256ff5",
      "name": "1. HTTP 请求(创建发票)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        144,
        64
      ],
      "parameters": {},
      "description": "Sends data to the invoicing service API to create a new invoice.",
      "typeVersion": 1
    },
    {
      "id": "adbca28b-bd7a-488d-86bd-8280be4cebb7",
      "name": "2. Gmail(发送发票)",
      "type": "n8n-nodes-base.gmail",
      "position": [
        400,
        64
      ],
      "parameters": {},
      "description": "Emails the newly created invoice to the client.",
      "typeVersion": 1
    },
    {
      "id": "029aee61-c444-4445-bd04-00ac3b86d708",
      "name": "3. Google Sheets(更新状态)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        640,
        64
      ],
      "parameters": {},
      "description": "Updates the project status to 'Invoiced' in Google Sheets.",
      "typeVersion": 3
    },
    {
      "id": "8d23368c-48fe-4752-a277-0d320b9045ae",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "33b56fca-b0c9-4c74-a17c-134aa775045c",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        304
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0b42dd37-a3f4-4948-a9ae-1ec2550585a7",
  "connections": {
    "2. Gmail (Send Invoice)": {
      "main": [
        [
          {
            "node": "3. Google Sheets (Update Status)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1. HTTP Request (Create Invoice)": {
      "main": [
        [
          {
            "node": "2. Gmail (Send Invoice)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0. Google Sheets (Invoice Trigger)": {
      "main": [
        [
          {
            "node": "1. HTTP Request (Create Invoice)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 发票处理

需要付费吗?

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

工作流信息
难度等级
中级
节点数量6
分类1
节点类型5
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Marth

Marth

@marth

Simplifying Business with Smart Automation. I create and share user-friendly, highly efficient n8n workflow templates for SMEs, focusing on digital marketing, sales, and operational excellence. Get ready to automate, innovate, and elevate your business. Connect me on Linkedin for custom solutions.

外部链接
在 n8n.io 查看

分享此工作流