8
n8n 中文网amn8n.com

模板 | Meta 广告余额低时获取通知

高级

这是一个Marketing领域的自动化工作流,包含 16 个节点。主要使用 If, Set, Telegram, ScheduleTrigger, FacebookGraphApi 等节点。 当 Meta 广告余额低时获取通知

前置要求
  • Telegram Bot Token
  • Facebook Graph API 凭证

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "roRLSnnaVGd5K7na",
  "meta": {
    "instanceId": "d6b502dfa4d9dd072cdc5c2bb763558661053f651289291352a84403e01b3d1b",
    "templateCredsSetupCompleted": true
  },
  "name": "模板 | Meta 广告余额低时获取通知",
  "tags": [
    {
      "id": "61A98AUNFwWZWAfC",
      "name": "template",
      "createdAt": "2024-07-24T22:02:20.533Z",
      "updatedAt": "2024-07-24T22:02:20.533Z"
    }
  ],
  "nodes": [
    {
      "id": "ea46bf8f-d006-4b23-ab8a-c788b8a3c522",
      "name": "每12小时",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1000,
        20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "763478e7-9df9-4294-9c47-8a8d12f79514",
      "name": "无操作,不执行任何操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -60,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "daffda6b-9610-41dd-912c-edff72407da1",
      "name": "编辑字段1",
      "type": "n8n-nodes-base.set",
      "position": [
        -540,
        340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3682457f-0c13-40c4-a480-991f8b7a70e0",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -600,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fb6fdf0a-31c5-4802-ae76-4674ab82fe82",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1600,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "85d3a797-1771-4fc6-96a0-a13c9fff70fd",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1535a962-2bfd-4431-9d25-f080c7c276a8",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8ece9b66-6850-441b-85af-667c49c25ad1",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -540,
        20
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c05ceb46-9beb-4211-824f-8c19c7e1a155",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "32252a75-1011-4e18-9aa4-fc8874faa78b",
      "name": "低于400?",
      "type": "n8n-nodes-base.if",
      "position": [
        -320,
        20
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4b8ebc14-10d3-4cc9-a273-f528b115ea44",
      "name": "发送消息",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -60,
        -60
      ],
      "webhookId": "e4691dcb-740a-4e33-8e5d-9eb7b8a790a0",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "10c77232-eeb1-443a-a798-6fb74a326436",
      "name": "方法2",
      "type": "n8n-nodes-base.facebookGraphApi",
      "maxTries": 5,
      "position": [
        -760,
        340
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1,
      "waitBetweenTries": 5000
    },
    {
      "id": "b9d45d8f-de04-4904-b653-9fbca92b56f3",
      "name": "方法1",
      "type": "n8n-nodes-base.facebookGraphApi",
      "maxTries": 5,
      "position": [
        -760,
        20
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1,
      "waitBetweenTries": 5000
    },
    {
      "id": "2fd9c3d9-0c53-4640-888e-de6aef314c23",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2220,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8f47839a-606f-44ed-a37c-b9b9b1fc976a",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b2ff0844-d6b9-4563-8035-6378e2a6ffcf",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -200
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "91074686-8b1e-4d5f-a5c3-0fd6d2f32a2d",
  "connections": {
    "Method 1": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Method 2": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every 12h": {
      "main": [
        [
          {
            "node": "Method 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Lower than 400 ?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lower than 400 ?": {
      "main": [
        [
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 营销

需要付费吗?

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

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

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

作者
Solomon

Solomon

@solomon

Freelance consultant from Brazil, specializing in automations and data analysis. I work with select clients, addressing their toughest projects. For business inquiries, email me at automations.solomon@gmail.com or message me on Telegram for a faster response.

外部链接
在 n8n.io 查看

分享此工作流