This workflow follows the Telegram → Telegram Trigger recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"schemaVersion": 1,
"trigger": {
"id": "n_intercom_trigger",
"type": "webhook",
"graphCoordinates": {
"x": 0,
"y": 0
},
"appEvent": "intercom.conversation.user.created",
"options": {
"path": "/webhooks/intercom-vip-routing",
"method": "POST",
"authentication": "header",
"authHeaderName": "X-Intercom-Signature",
"responseMode": "immediately",
"enabled": true
}
},
"nodes": [
{
"id": "n_intercom_trigger",
"name": "Intercom Conversation Opened",
"type": "n8n-nodes-base.intercomTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"parameters": {
"event": "conversation.user.created"
},
"credentials": {
"intercomApi": {
"name": "<your credential>"
}
}
},
{
"id": "n_contact_get",
"name": "Intercom Contact Lookup",
"type": "n8n-nodes-base.intercom",
"typeVersion": 1,
"position": [
240,
0
],
"parameters": {
"resource": "contact",
"operation": "get",
"contactId": "={{ $json.data.item.contacts.contacts[0].id }}"
},
"credentials": {
"intercomApi": {
"name": "<your credential>"
}
}
},
{
"id": "n_if_vip",
"name": "Is VIP?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
480,
0
],
"parameters": {
"conditions": {
"boolean": [
{
"value1": "={{ $json.custom_attributes.plan === 'enterprise' || Number($json.custom_attributes.mrr) > Number($vars.VIP_MRR) }}",
"value2": true
}
]
}
}
},
{
"id": "n_intercom_assign_tag",
"name": "Intercom Assign + Tag VIP",
"type": "n8n-nodes-base.intercom",
"typeVersion": 1,
"position": [
720,
-120
],
"parameters": {
"resource": "conversation",
"operation": "update",
"conversationId": "={{ $node['Intercom Conversation Opened'].json.data.item.id }}",
"additionalFields": {
"assignee_id": "={{ $vars.SENIOR_AGENT_ID }}",
"tags": [
"vip"
]
}
},
"credentials": {
"intercomApi": {
"name": "<your credential>"
}
}
},
{
"id": "n_slack_vip",
"name": "Slack #vip-support",
"type": "n8n-nodes-base.slack",
"typeVersion": 2,
"position": [
720,
0
],
"parameters": {
"authentication": "oAuth2",
"resource": "message",
"operation": "post",
"channel": "={{ $vars.VIP_SLACK_CHANNEL }}",
"text": ":crown: *VIP conversation opened*\n*Contact:* {{ $node['Intercom Contact Lookup'].json.email }} ({{ $node['Intercom Contact Lookup'].json.custom_attributes.plan }}, MRR ${{ $node['Intercom Contact Lookup'].json.custom_attributes.mrr }})\n*Conversation:* https://app.intercom.com/a/inbox/_/inbox/conversation/{{ $node['Intercom Conversation Opened'].json.data.item.id }}",
"otherOptions": {}
},
"credentials": {
"slackOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"id": "n_mongo_log",
"name": "MongoDB VIP Audit Log",
"type": "n8n-nodes-base.mongoDb",
"typeVersion": 1,
"position": [
960,
-60
],
"parameters": {
"operation": "insert",
"collection": "vip_routing_audit",
"fields": "conversationId,contactId,plan,mrr,assignedTo,routedAt",
"options": {}
},
"credentials": {
"mongoDb": {
"name": "<your credential>"
}
}
},
{
"id": "n_noop_standard",
"name": "Standard Routing (NoOp)",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
720,
160
],
"parameters": {}
}
],
"connections": {
"n_intercom_trigger": {
"main": [
[
{
"node": "n_contact_get",
"type": "main",
"index": 0
}
]
]
},
"n_contact_get": {
"main": [
[
{
"node": "n_if_vip",
"type": "main",
"index": 0
}
]
]
},
"n_if_vip": {
"main": [
[
{
"node": "n_intercom_assign_tag",
"type": "main",
"index": 0
},
{
"node": "n_slack_vip",
"type": "main",
"index": 0
}
],
[
{
"node": "n_noop_standard",
"type": "main",
"index": 0
}
]
]
},
"n_intercom_assign_tag": {
"main": [
[
{
"node": "n_mongo_log",
"type": "main",
"index": 0
}
]
]
},
"n_slack_vip": {
"main": [
[
{
"node": "n_mongo_log",
"type": "main",
"index": 0
}
]
]
}
},
"groups": [
{
"id": "g_main",
"title": "Main",
"graphCoordinates": {
"x": 0,
"y": 0
},
"blockIds": [
"n_intercom_trigger",
"n_contact_get",
"n_if_vip"
]
},
{
"id": "g_vip_actions",
"title": "VIP Actions",
"graphCoordinates": {
"x": 720,
"y": -60
},
"blockIds": [
"n_intercom_assign_tag",
"n_slack_vip",
"n_mongo_log"
]
},
{
"id": "g_standard",
"title": "Standard Routing",
"graphCoordinates": {
"x": 720,
"y": 160
},
"blockIds": [
"n_noop_standard"
]
}
],
"variables": [
{
"id": "v_vip_mrr",
"name": "VIP_MRR",
"defaultValue": "500"
},
{
"id": "v_senior_agent",
"name": "SENIOR_AGENT_ID",
"defaultValue": ""
},
{
"id": "v_vip_channel",
"name": "VIP_SLACK_CHANNEL",
"defaultValue": "#vip-support"
}
],
"events": [],
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
telegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Flow. Uses start, telegramTrigger, telegram, discord. Event-driven trigger; 11 nodes.
Source: https://github.com/mcnaveen/YouTube-to-MP3/blob/a7845c814912b9efb2c7af8ac8ffe29130c792e4/n8n/flow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow connects Telegram to Midjourney through GoAPI, enabling automated image generation and upscaling directly from chat.
N8N Complete Final. Uses telegramTrigger, dataTable, telegram, mqtt. Event-driven trigger; 58 nodes.
Pede Ai. Uses httpRequest, telegram, postgres, telegramTrigger. Event-driven trigger; 57 nodes.
TextMain. Uses telegramTrigger, stopAndError, telegram, httpRequest. Event-driven trigger; 56 nodes.
Pede Ai. Uses httpRequest, telegram, postgres, telegramTrigger. Event-driven trigger; 53 nodes.