AutomationFlowsSlack & Telegram › Zalo User Demo Connect Telegram

Zalo User Demo Connect Telegram

Zalo User Demo Connect Telegram. Uses n8n, n8n-nodes-zalo-user, telegram, telegramTrigger. Webhook trigger; 19 nodes.

Webhook trigger★★★★☆ complexity19 nodesn8nN8N Nodes Zalo UserTelegramTelegram Trigger
Slack & Telegram Trigger: Webhook Nodes: 19 Complexity: ★★★★☆ Added:

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 →

Download .json
{
  "name": "Zalo User Demo Connect Telegram",
  "nodes": [
    {
      "parameters": {
        "operation": "toBinary",
        "sourceProperty": "data",
        "options": {
          "fileName": "={{ $('Zalo User Login').item.json.code }}.png",
          "mimeType": ""
        }
      },
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [
        720,
        120
      ],
      "id": "8c0c3ffb-51dc-4882-949e-bb1dd7a92228",
      "name": "Save QR code"
    },
    {
      "parameters": {
        "resource": "credential",
        "name": "={{ $json.context.uid }} - {{ $json.context.cookie.cookies[0].creation }}",
        "credentialTypeName": "zaloUserCredentialsApi",
        "data": "={{ JSON.stringify({\n\t\"cookie\": JSON.stringify({\n\t\t\t\"url\": \"https://chat.zalo.me\",\n\t\t\t\"cookies\": $json.context.cookie.cookies || \"\"\n\t}),\n\t\"imei\": $json.context.imei || \"\",\n\t\"userAgent\": $json.context.userAgent || \"\",\n    \"supportCode\": $json.supportCode || \"\"\n}) }}\n",
        "requestOptions": {}
      },
      "type": "n8n-nodes-base.n8n",
      "typeVersion": 1,
      "position": [
        1600,
        120
      ],
      "id": "838fc217-1785-4450-a617-2037f8c02991",
      "name": "Save Login data to credential",
      "credentials": {
        "n8nApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "mode": "runOnceForEachItem",
        "jsCode": "return {\"data\": $json.image}"
      },
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        500,
        120
      ],
      "id": "905afc4f-ae9b-45a0-a742-5f2d61ae5e24",
      "name": "Prepare QR code"
    },
    {
      "parameters": {
        "path": "f4484d62-a494-4ebb-8799-7c1c2f39d888",
        "responseMode": "responseNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        60,
        120
      ],
      "id": "bbbb31eb-02e2-40a4-a091-079b651fca38",
      "name": "Zalo Login"
    },
    {
      "parameters": {
        "respondWith": "binary",
        "options": {
          "responseHeaders": {
            "entries": [
              {
                "name": "Content-Disposition",
                "value": "=attachment; filename=\"{{$binary.data.fileName}}\""
              }
            ]
          }
        }
      },
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        940,
        120
      ],
      "id": "cc29ed99-7367-455c-80f9-0508786491a3",
      "name": "Download QR"
    },
    {
      "parameters": {
        "content": "## Zalo Login Via QR Code",
        "height": 280,
        "width": 2080
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -160,
        0
      ],
      "id": "dbf07424-c299-44cb-9aac-2f260f7f6716",
      "name": "Sticky Note"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        60,
        900
      ],
      "id": "abb8b877-b0a1-4c52-8ad1-e759229f0977",
      "name": "When clicking \u2018Test workflow\u2019"
    },
    {
      "parameters": {
        "content": "## Receive events from Zalo User and trigger workflows",
        "height": 240,
        "width": 700,
        "color": 3
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -130,
        300
      ],
      "id": "5cb971f9-467d-42b8-995d-62d6b0345edb",
      "name": "Sticky Note1"
    },
    {
      "parameters": {
        "content": "## Get All Online Friends",
        "height": 240,
        "width": 700,
        "color": 5
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -130,
        820
      ],
      "id": "87b262d5-4476-469c-bb32-5d0930989fda",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "amount": 30
      },
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1160,
        120
      ],
      "id": "a96efa3f-e013-4754-85b9-dfb8f5e2d380",
      "name": "Wait 30s"
    },
    {
      "parameters": {
        "chatId": "-xxxxxx",
        "text": "={{ $json.data.dName }} ###{{ $json.threadId }}###: {{ $json.data.content }}\n",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        280,
        380
      ],
      "id": "02fb0e27-b971-432a-adc1-058827c2aca3",
      "name": "Telegram",
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.telegramTrigger",
      "typeVersion": 1.1,
      "position": [
        40,
        620
      ],
      "id": "beb593ce-5c5c-4c62-b32b-b6645fd397f1",
      "name": "Telegram Trigger",
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "## Anwser Zalo messages via Telegram",
        "height": 240,
        "width": 840,
        "color": 4
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -140,
        560
      ],
      "id": "40701bd8-b881-40a3-a64b-89e32a20588f",
      "name": "Sticky Note3"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-zalo-user.zaloUserLogin",
      "typeVersion": 1,
      "position": [
        280,
        120
      ],
      "id": "b0c33956-e6b4-4d39-b495-ec63484a437d",
      "name": "Zalo User Login"
    },
    {
      "parameters": {
        "events": [
          "init",
          "activate",
          "update"
        ]
      },
      "type": "n8n-nodes-zalo-user.zaloUser",
      "typeVersion": 2,
      "position": [
        60,
        380
      ],
      "id": "da3774dd-6f2b-46da-9d8c-99ee8d60ff58",
      "name": "Zalo User Trigger",
      "credentials": {
        "zaloUserCredentialsApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "getAllFriends"
      },
      "type": "n8n-nodes-zalo-user.zaloUserInteract",
      "typeVersion": 1,
      "position": [
        280,
        900
      ],
      "id": "9fc55327-0dd7-4358-ab27-99225f768b15",
      "name": "Zalo User Interact",
      "credentials": {
        "zaloUserCredentialsApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {},
      "type": "n8n-nodes-zalo-user.zaloUserSaveLogin",
      "typeVersion": 1,
      "position": [
        1380,
        120
      ],
      "id": "e8670dc3-1027-4f51-9461-7a59c60d66e1",
      "name": "Zalo User Save Login"
    },
    {
      "parameters": {
        "userId": "={{ $json.message.reply_to_message.text.match(/###(\\d+)###/)[1] }}",
        "message": "={{ $json.message.text }} 222"
      },
      "type": "n8n-nodes-zalo-user.zaloUserInteract",
      "typeVersion": 1,
      "position": [
        260,
        620
      ],
      "id": "94f056bb-54d7-402d-94e3-c92e4af59892",
      "name": "Zalo User Interact1",
      "credentials": {
        "zaloUserCredentialsApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Save QR code": {
      "main": [
        [
          {
            "node": "Download QR",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare QR code": {
      "main": [
        [
          {
            "node": "Save QR code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download QR": {
      "main": [
        [
          {
            "node": "Wait 30s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Zalo Login": {
      "main": [
        [
          {
            "node": "Zalo User Login",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Zalo User Interact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 30s": {
      "main": [
        [
          {
            "node": "Zalo User Save Login",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Zalo User Interact1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Zalo User Login": {
      "main": [
        [
          {
            "node": "Prepare QR code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Zalo User Trigger": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Zalo User Save Login": {
      "main": [
        [
          {
            "node": "Save Login data to credential",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b549df62-21ad-4aa2-88cd-3bbbcd88b5a9",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "LNBNpPauYGtb62M8",
  "tags": []
}

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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Zalo User Demo Connect Telegram. Uses n8n, n8n-nodes-zalo-user, telegram, telegramTrigger. Webhook trigger; 19 nodes.

Source: https://gist.github.com/thanhsm/3e89ef6350087ced7ab7d6bfbf6a3f32 — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Zalo User Demo Connect Telegram. Uses n8n, telegram, telegramTrigger, n8n-nodes-zalo-user. Webhook trigger; 18 nodes.

n8n, Telegram, Telegram Trigger +1
Slack & Telegram

Demo2. Uses n8n-nodes-zalo-user, n8n, telegram, telegramTrigger. Webhook trigger; 17 nodes.

N8N Nodes Zalo User, n8n, Telegram +1
Slack & Telegram

WF_UNIFIED_LEGAL_AUTOMATION. Uses googleSheets, httpRequest, telegram, telegramTrigger. Webhook trigger; 53 nodes.

Google Sheets, HTTP Request, Telegram +1
Slack & Telegram

AIPA - Multi-Business Calendar Management. Uses telegram, supabase, telegramTrigger, googleCalendar. Webhook trigger; 20 nodes.

Telegram, Supabase, Telegram Trigger +1
Slack & Telegram

AIPA - BMF Work Logging. Uses telegram, telegramTrigger, supabase, httpRequest. Webhook trigger; 19 nodes.

Telegram, Telegram Trigger, Supabase +1