🎯 Telegram潜在客户磁铁 - 带追加销售分支的订阅门控
这是一个Lead Generation领域的自动化工作流,包含 23 个节点。主要使用 If、Code、Wait、Telegram、HttpRequest 等节点。 构建带潜在客户磁铁和追加销售序列的Telegram订阅门控
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
{
"id": "fwrMTM58ad7FnfaP",
"meta": {
"instanceId": "9922c7f38c5e1ade904c6ff426bbbe745d59e78d84a3d4ffcde55543d540426b"
},
"name": "🎯 Telegram 潜在客户磁铁 - 带追加销售分支的订阅门控",
"tags": [
{
"id": "dY7Ra2yfdV4B8rBz",
"name": "Nikolenko.Club",
"createdAt": "2025-09-01T20:25:53.775Z",
"updatedAt": "2025-09-01T20:25:53.775Z"
},
{
"id": "O5AySGWl8YHpYsUT",
"name": "TG @nikolenkoclub",
"createdAt": "2025-10-12T12:03:14.104Z",
"updatedAt": "2025-10-12T12:03:14.104Z"
},
{
"id": "2GI1CjlTGDxA7AU0",
"name": "Telegram",
"createdAt": "2025-11-06T15:02:15.844Z",
"updatedAt": "2025-11-06T15:02:15.844Z"
},
{
"id": "WA7hUMhosMBbmE7p",
"name": "Golem.Agency",
"createdAt": "2025-11-06T15:01:59.312Z",
"updatedAt": "2025-11-06T15:02:51.662Z"
}
],
"nodes": [
{
"id": "fa66c5ac-228d-4880-b19c-bffd767fab7f",
"name": "❌ 订阅检查失败 | 订阅检查失败2",
"type": "n8n-nodes-base.telegram",
"position": [
816,
1568
],
"webhookId": "a64910c8-5de1-4c93-b2c5-c1079fca122c",
"parameters": {
"text": "=😔 На жаль вас немає серед підписників на канал: \n[NIKOLENKO.CLUB | Сучасне Підприємництво](https://t.me/+BXlg2UcAOUo0YjFi).\n\nЩоб отримати бонус потрібно зробити зараз:\n1. Перейдіть за посиланням вище і натисніть «Приєднатися».\n2. Натисніть назад \"<\". Повернетесь до цього бота.\n3. Натисніть кнопку «🔁 Спробувати ще раз», щоб запустити повторну перевірку.",
"chatId": "={{ $json.result.user.id }}",
"replyMarkup": "inlineKeyboard",
"inlineKeyboard": {
"rows": [
{
"row": {
"buttons": [
{
"text": "🔁 Спробувати ще раз",
"additionalFields": {
"callback_data": "check_subscription"
}
}
]
}
}
]
},
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "33a9d5c8-6618-4b1b-80c1-4c48b333754a",
"name": "🔧 提取用户和回调数据 | 提取用户数据2",
"type": "n8n-nodes-base.code",
"position": [
-128,
1408
],
"parameters": {
"jsCode": "const update = $input.first().json;\nconst userId = update.message?.from?.id\n || update.callback_query?.from?.id\n || update.result?.chat?.id\n || update.result?.from?.id;\nconst callbackId = update.callback_query?.id || null;\nif (!userId) {\n throw new Error('Не вдалося визначити користувача для перевірки підписки.'); //text mes in your language\n}\n\nreturn [{\n json: {\n user_id: userId,\n chat_id: '-1001234567890', // For private channels, use the full numeric ID starting with -100 or id ex:nikolenkoclub\n callback_query_id: callbackId\n }\n}];"
},
"typeVersion": 2
},
{
"id": "2b7b6606-1cf4-471d-b9cb-b98505dbc79e",
"name": "🌐 检查 Telegram 订阅 | 检查 Telegram 订阅2",
"type": "n8n-nodes-base.httpRequest",
"disabled": true,
"position": [
176,
1264
],
"parameters": {
"url": "https://api.telegram.org/botINPUTYOURTOKENBOT@BOTFATHER/getChatMember",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "chat_id",
"value": "={{ $json.chat_id }}"
},
{
"name": "user_id",
"value": "={{ $json.user_id }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "4ad4918f-9ebf-4606-af3b-dbbc2f8a6041",
"name": "✅ 确认按钮点击 | 确认按钮点击2",
"type": "n8n-nodes-base.httpRequest",
"position": [
-336,
1232
],
"parameters": {
"url": "=https://api.telegram.org/botINPUTYOURTOKEN@BOTFATHER/answerCallbackQuery",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "callback_query_id",
"value": "={{ $json.callback_query.id }}"
},
{
"name": "text",
"value": "Перевіряємо підписку… (Text community Language) | Checking subscription..."
}
]
}
},
"typeVersion": 4.2
},
{
"id": "c0a4ffc1-f0b8-447d-b8c5-9723c72ca364",
"name": "❓ 是否为订阅检查请求? | 是否为订阅检查请求?2",
"type": "n8n-nodes-base.if",
"position": [
-736,
1408
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "callback-check",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.callback_query?.data }}",
"rightValue": "check_subscription"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "d54d9dea-6de9-4210-82a9-c73d63570881",
"name": "🔔 Telegram 消息触发器 | Telegram 消息触发器2",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-1040,
1408
],
"webhookId": "7d4f7d11-86f3-4d7a-9534-0e114ce48b17",
"parameters": {
"updates": [
"message",
"callback_query"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "82463f58-ffcf-434e-bc38-150776fb7bc5",
"name": "📈 追加销售/交叉销售/降级销售系统 | 追加销售系统2",
"type": "n8n-nodes-base.telegram",
"position": [
32,
1696
],
"webhookId": "a82c0b83-edde-43d5-94f4-26dbfe39af34",
"parameters": {
"text": "=✋ Вітаю! На зʼвязку Ігор Ніколенко\n\n- У професійному Digital'і з 2008 року.\n- Міжнародна економіка, технічна та менеджерські вищі освіти\n- Маркетолог і digital-стратег. CEO/CMO/CRO.\n- Займаюсь розробкою Digital-маркетинг стратегій та впровадженням їх у життя.\n- У повному циклі від ідеї до присутності у Digital. \n\nМаю власні проєкти з автоматизації маркетингу!\n\n💪 Якщо ви отримали бонус, то вже підписані на мій канал\n\n[NIKOLENKO.CLUB | Сучасне підприємництво](https://t.me/nikolenkoclub) - Це круто, і ось чому!\n\n👇 Тут продовження",
"chatId": "={{ $json.message.chat.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "9287e559-4c34-4b9f-9cd3-9bd3fdb2cfcb",
"name": "🎁 高级优惠消息 | 高级优惠消息2",
"type": "n8n-nodes-base.telegram",
"position": [
816,
1904
],
"webhookId": "bf77222b-bd91-4ab8-b9c7-d542a8c27f12",
"parameters": {
"text": "=🚀 Як і обіцяв спеціальний доступ: \n\n✅ [ДО ШАБЛОНУ N8N З ПОВНОЮ ІНСТРУКЦІЄЮ!](https://t.me/leadmagnetgatebot)\n\n👆 Який ви можете налагодити за 10 хвилин і підіймати кількість своїх підписників щодня.\n\nЦе окремий бот.\n\nВсе буде всередені і навіть інструкція куди це все впроваджувати та налаштовувати) Супер ? - Я гадаю так.\n\nP.S. Дійте - успіх любить рішучих людей!\n",
"chatId": "={{ $('❓ Is /ok Command? | Команда /more?2').item.json.message.chat.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "bd37adad-c2c8-4004-928d-10be039e282d",
"name": "🔒 锁定权限 | 锁定权限2",
"type": "n8n-nodes-base.telegram",
"position": [
32,
2016
],
"webhookId": "419cc8ba-aacc-4871-9248-865af817fd9d",
"parameters": {
"text": "=Запросити доступ до Бонусних 800 Гривень для сервісу SendPulse",
"chatId": "={{ $json.message.from.id }}",
"replyMarkup": "inlineKeyboard",
"inlineKeyboard": {
"rows": [
{
"row": {
"buttons": [
{
"text": "🔓 Отримати доступ",
"additionalFields": {
"callback_data": "check_subscription"
}
}
]
}
}
]
},
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "64e7423e-2c31-4ae3-af8a-d3fda69ace06",
"name": "✅ 订阅已确认 - 发送潜在客户磁铁 | 订阅已确认2",
"type": "n8n-nodes-base.telegram",
"position": [
816,
1296
],
"webhookId": "a64910c8-5de1-4c93-b2c5-c1079fca122c",
"parameters": {
"text": "=✅ Супер, ви підписані!\n\n📂 Посилання щоб отримати 800 Грн:\n\n[КЛІК СЮДИ - 800 UAH SendPulse](https://sendpulse.com?p=690372f061232&coupon=NIKOLENKO)\n\n👆 Що після натискання 👆:\n\n1. Перехід на сторінку сервісу. Клікнути на \"Активувати купон\"\n2. Зареєструватися у сервісі\n3. Бонус буде миттєво доданий на баланс облікового запису та доступний для оплати тарифних планів у сервісі після реєстрації.\n\n😉 Хочете отримати шаблон такого бота для свого каналу і зростати кожного дня у підписниках?\n\nНіяких оплат! \n\nЦе Безкоштовно з інструкцією впродження та налагодженням під себе. Як Вам?\nПишіть у чат команду /more або клікай на неї зараз\n\n",
"chatId": "={{ $json.result.user.id }}",
"forceReply": {
"force_reply": false
},
"replyMarkup": "forceReply",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "1277f530-391c-47a6-a6be-cdf1206b25dd",
"name": "✅ 用户是否已订阅? | 用户是否已订阅?2",
"type": "n8n-nodes-base.if",
"position": [
512,
1408
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "bc3e5772-ccb8-4660-a941-88529652476c",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$json.result.status}}",
"rightValue": "member"
},
{
"id": "687eb5d8-9b10-4799-8dad-5cec8b3b34bc",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$json.result.status}}",
"rightValue": "administrator"
},
{
"id": "e502a909-a7d2-488e-9a0b-4f5abc209623",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$json.result.status}}",
"rightValue": "creator"
},
{
"id": "restricted-member",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$json.result.status}}",
"rightValue": "restricted"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "a35f20a6-88c2-4906-9442-5f59fac592a3",
"name": "🔐 机器人配置 | 机器人配置1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-608,
160
],
"parameters": {
"color": 3,
"width": 556,
"height": 1032,
"content": "# 🔐 机器人配置要求"
},
"typeVersion": 1
},
{
"id": "e9643a5e-ca29-4aa8-8ddd-b98fc5dba13c",
"name": "📚 工作流文档 | 工作流文档2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2480,
672
],
"parameters": {
"color": 5,
"width": 656,
"height": 1212,
"content": "# 🎯 Telegram 潜在客户磁铁 - 带追加销售分支的订阅门控"
},
"typeVersion": 1
},
{
"id": "5047135b-2f7f-47c2-8dc6-71345bdb5e6f",
"name": "📹 YouTube 集成 | YouTube 集成4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1152,
512
],
"parameters": {
"color": 6,
"width": 496,
"height": 800,
"content": "# 🎬 YouTube 视频"
},
"typeVersion": 1
},
{
"id": "949e5653-0a39-43ad-b43e-c78656f7c08d",
"name": "🧠 逻辑说明 | 逻辑说明2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1792,
656
],
"parameters": {
"color": 4,
"width": 592,
"height": 1000,
"content": "# 🧠 节点逻辑说明"
},
"typeVersion": 1
},
{
"id": "92c85503-6169-4d88-9f26-bcfd27243e88",
"name": "🔐 机器人配置 | 机器人配置2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-16,
-80
],
"parameters": {
"color": 3,
"width": 652,
"height": 1160,
"content": "# 🇺🇦 私有频道机器人设置"
},
"typeVersion": 1
},
{
"id": "dbc4d086-5b35-40c5-a939-0b87ca87b017",
"name": "关闭的频道",
"type": "n8n-nodes-base.httpRequest",
"position": [
176,
1504
],
"parameters": {
"url": "https://api.telegram.org/botINPUTYOURTOKEN@BOTFATHER/getChatMember",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "chat_id",
"value": "={{ $json.chat_id }}"
},
{
"name": "user_id",
"value": "={{ $json.user_id }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "375aea9c-f162-405e-b1a5-263b368cada8",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
640,
1824
],
"webhookId": "05b891be-2828-4cf3-a0a1-688d1edb138b",
"parameters": {
"amount": 25
},
"typeVersion": 1.1
},
{
"id": "f0771da1-eda7-49c9-af36-70d5c8c4f68c",
"name": "HTTP 输入中...1",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
416,
2192
],
"parameters": {
"url": "https://api.telegram.org/botINPUTYOURTOKEN@BOTFATHER/sendChatAction ",
"method": "POST",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "={{ $json.result.chat.id }}"
},
{
"name": "action",
"value": "typing"
}
]
}
},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "0fe88f3e-75d6-432c-b00c-04cec5e5d696",
"name": "📈 追加销售/交叉销售/降级销售系统 | 追加销售系统",
"type": "n8n-nodes-base.telegram",
"position": [
432,
1808
],
"webhookId": "a82c0b83-edde-43d5-94f4-26dbfe39af34",
"parameters": {
"text": "=🫵 Мій канал допоможе вам:\n\n✅ Упакувати свій персональний бренд у систему, яка конвертує з $1 у $5;\n✅ Більшість інформації в каналі безкоштовна;\n✅ Просто купа цінної інформації, яка накопичувалась з 2008 року\n✅ Я розповідаю багато про ШІ, маркетинг, технічні особливості інструментів, що зазвичай не говорять у голос 😎\n\nОсь тільки мала частина, що у публічному доступі, все просто не влазить у пост:\n\n[NIKOLENKO.CLUB Тут](https://t.me/nikolenkoclub)\n\nЧому я створив канал?\n\nЯ хочу, щоб наша економіка зростала та наші підприємці були ще ефективнішими ніж є зараз у такий для нас складний час.\n\nВсі ті борги, які у нас зараз в Країні будуть віддавати наші правнуки :) \n\n🤝 Тому у нас одна спільна мета - створити та підтримувати економіку для процвітаючого майбутнього! \n\nОкремо Сильні - Разом Непереможні!\n\nГотові до впровадження Digital-інструментів?\n\n👇 Тут продовження",
"chatId": "={{ $json.result.chat.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "X6pepPsCUy6vANbj",
"name": "SENDPUSLE 800 UAH EXTRA BONUX"
}
},
"typeVersion": 1.2
},
{
"id": "aa033e56-09bb-4193-b036-fc21ba108423",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
256,
1760
],
"webhookId": "05b891be-2828-4cf3-a0a1-688d1edb138b",
"parameters": {
"amount": 20
},
"typeVersion": 1.1
},
{
"id": "fadf45ab-de6a-4c24-baa8-3226849a1336",
"name": "❓ 是否为 /ok 命令? | 是否为 /more 命令?2",
"type": "n8n-nodes-base.if",
"position": [
-448,
1584
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "01c38a50-909a-4fcf-9243-b08a1bec9c2e",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.message?.text || '' }}",
"rightValue": "/more"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "cd28b96c-e058-42ee-a6be-5622c672a338",
"name": "HTTP 输入中...",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
640,
2192
],
"parameters": {
"url": "https://api.telegram.org/botINPUTYOURTOKEN@BOTFATHER/sendChatAction ",
"method": "POST",
"options": {},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "chat_id",
"value": "={{ $json.result.chat.id }}"
},
{
"name": "action",
"value": "typing"
}
]
}
},
"typeVersion": 4.2,
"alwaysOutputData": false
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "868dffc5-f84e-4caf-af55-fb5a257ceeb0",
"connections": {
"Wait": {
"main": [
[
{
"node": "🎁 Premium Offer Message | Повідомлення преміум пропозиції2",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "📈 Upsell/CrossSell/DownSell System | Система допродажів",
"type": "main",
"index": 0
}
]
]
},
"Closed Channel": {
"main": [
[
{
"node": "✅ Is User Subscribed? | Користувач підписаний?2",
"type": "main",
"index": 0
}
]
]
},
"❓ Is /ok Command? | Команда /more?2": {
"main": [
[
{
"node": "📈 Upsell/CrossSell/DownSell System | Система допродажів2",
"type": "main",
"index": 0
}
],
[
{
"node": "🔒 Lock Permissions | Блокування дозволів2",
"type": "main",
"index": 0
}
]
]
},
"✅ Is User Subscribed? | Користувач підписаний?2": {
"main": [
[
{
"node": "✅ Subscription Confirmed - Send Lead Magnet | Підписка підтверджена2",
"type": "main",
"index": 0
}
],
[
{
"node": "❌ Subscription Check Failed | Перевірка підписки не вдалася2",
"type": "main",
"index": 0
}
]
]
},
"📈 Upsell/CrossSell/DownSell System | Система допродажів": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
},
{
"node": "HTTP typing...",
"type": "main",
"index": 0
}
]
]
},
"📈 Upsell/CrossSell/DownSell System | Система допродажів2": {
"main": [
[
{
"node": "HTTP typing...1",
"type": "main",
"index": 0
},
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"🔧 Extract User & Callback Data | Витяг даних користувача2": {
"main": [
[
{
"node": "Closed Channel",
"type": "main",
"index": 0
}
]
]
},
"🔔 Telegram Message Trigger | Тригер повідомлень Телеграм2": {
"main": [
[
{
"node": "❓ Is Subscription Check Request? | Запит на перевірку підписки?2",
"type": "main",
"index": 0
}
]
]
},
"❓ Is Subscription Check Request? | Запит на перевірку підписки?2": {
"main": [
[
{
"node": "✅ Acknowledge Button Click | Підтвердження натискання кнопки2",
"type": "main",
"index": 0
},
{
"node": "🔧 Extract User & Callback Data | Витяг даних користувача2",
"type": "main",
"index": 0
}
],
[
{
"node": "❓ Is /ok Command? | Команда /more?2",
"type": "main",
"index": 0
}
]
]
},
"🎁 Premium Offer Message | Повідомлення преміум пропозиції2": {
"main": [
[]
]
},
"🌐 Check Telegram Subscription | Перевірка підписки в Телеграм2": {
"main": [
[]
]
}
}
}如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于Lead Generation等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Ihor Nikolenko
@digittimeCEO/CMO/CRO & Digital Strategist. Start in 2008 at professional digital, I’ve been crafting digital solutions that drive business success and revenue growth. Marketing Leading a full-cycle digital agency, I develop innovative software and implement best practices for exceptional customer experiences. Passionate about empowering entrepreneurs, I provide education to navigate the digital world confidently. Let’s turn your vision into reality and achieve your ambitious business goals together!
分享此工作流