8
n8n 中文网amn8n.com

[模板] Meta广告Facebook广告账户余额查询

高级

这是一个Marketing领域的自动化工作流,包含 26 个节点。主要使用 If, Set, Wait, Gmail, HttpRequest 等节点。 🔔 Meta广告低余额提醒 - 通过WhatsApp或邮件自动通知

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "vldHu7W6Cn8Sr2lx",
  "meta": {
    "instanceId": "d49d9457bb3cc049d64d7e8d551f5988e9ee3ecf773d20cf30b8a07fb71a2d76"
  },
  "name": "[模板] Meta 广告 Facebook 广告账户余额查询",
  "tags": [
    {
      "id": "8qq9RCjmrYPp5OrN",
      "name": "iloveflows.gumroad.com",
      "createdAt": "2025-04-24T15:21:54.942Z",
      "updatedAt": "2025-04-24T15:21:54.942Z"
    }
  ],
  "nodes": [
    {
      "id": "49243dc3-1a74-42a3-aba9-c5c7eb47ee14",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -680,
        140
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b5dc3e8c-39a7-400c-a771-6bdd2ff7a2d8",
      "name": "替换我",
      "type": "n8n-nodes-base.noOp",
      "position": [
        760,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "118a9f13-4a19-443f-aa75-86e0a6c78419",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8cbcab56-9076-43ab-93d9-ae4e7f482a22",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "65bd7b3a-11a2-482d-b921-5f67bb756991",
      "name": "Meta 广告",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -420,
        160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "856b9016-7446-4c49-8d77-412e41af759b",
      "name": "Google Sheets1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        180,
        380
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "55836782-a099-47ab-9287-e20a19263f5c",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        180,
        100
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "ecda28a6-b3e5-4df4-b4bd-4d37d55c398f",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "disabled": true,
      "position": [
        460,
        100
      ],
      "webhookId": "9285acab-3841-46ab-900e-f721288d64df",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "75cad775-4426-4ca0-9af6-c682f937f1ab",
      "name": "Gmail1",
      "type": "n8n-nodes-base.gmail",
      "disabled": true,
      "position": [
        460,
        380
      ],
      "webhookId": "ccc819d7-fd08-448c-84ba-724f0c37a97d",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a51ad7e9-6153-413c-82ee-ab78292b7a75",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        900,
        400
      ],
      "webhookId": "3acc4c73-af8c-4116-90bf-4b0f2c611742",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f23e8e16-e37a-4c62-a520-51695b6cb428",
      "name": "按周期开始",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1240,
        60
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "783919d6-9506-4503-b5df-0011833d4922",
      "name": "按点击开始",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1240,
        200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a653c6d-4d95-417d-a45d-9c03b1b914db",
      "name": "映射",
      "type": "n8n-nodes-base.set",
      "position": [
        -1060,
        180
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "81aaf607-5e0f-4cb1-93da-d3446d65db1a",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1100,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "50fe6a9c-757a-45a5-84ed-3e0ba3392573",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2c6f8109-7351-4839-8bf6-1557b698bc48",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -920,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "349b66d2-c49a-4480-a9fd-1fc766bafd0e",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -920,
        300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bb34806d-60c9-4517-bd76-a8f9dde03b22",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fc10439c-4a76-4e49-ac14-dd6937f8b911",
      "name": "是否为预付费?",
      "type": "n8n-nodes-base.if",
      "position": [
        -240,
        160
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "eee052e9-80a5-4b54-a454-f6763897977d",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "86a1730b-a255-4ccb-89c7-b81b95dd773b",
      "name": "基准值",
      "type": "n8n-nodes-base.if",
      "position": [
        -40,
        100
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c36cd7b3-dfa5-45d8-bd2e-331a51a09001",
      "name": "基准值1",
      "type": "n8n-nodes-base.if",
      "position": [
        -40,
        380
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "bb7b17f8-37e8-4569-ac2b-ee5e2f1b58f7",
      "name": "演变",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        100
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2bbced2a-9f28-4ec6-8f17-469f31c5c9b5",
      "name": "演变1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        380
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7dcc62eb-53c3-484f-aa61-8157b5a9898a",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "44018bf2-0851-4b6b-a083-37fb1c6007c2",
      "name": "客户群",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -880,
        140
      ],
      "parameters": {},
      "typeVersion": 4.5
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "32f42218-f19a-47a5-be74-99a333aad0d4",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "main": [
        [
          {
            "node": "Replace Me",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail1": {
      "main": [
        [
          {
            "node": "Replace Me",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mapping": {
      "main": [
        [
          {
            "node": "Customer Base",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Meta Ads": {
      "main": [
        [
          {
            "node": "Is it Prepaid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Evolution": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Base Value": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Evolution1": {
      "main": [
        [
          {
            "node": "Gmail1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replace Me": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Base Value1": {
      "main": [
        [
          {
            "node": "Google Sheets1",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Customer Base": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Evolution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets1": {
      "main": [
        [
          {
            "node": "Evolution1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is it Prepaid?": {
      "main": [
        [
          {
            "node": "Base Value",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Base Value1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start by Click": {
      "main": [
        [
          {
            "node": "Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Meta Ads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start by Period": {
      "main": [
        [
          {
            "node": "Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 营销

需要付费吗?

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

工作流信息
难度等级
高级
节点数量26
分类1
节点类型11
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Amanda Benks

Amanda Benks

@amanda

Hi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3

外部链接
在 n8n.io 查看

分享此工作流