Communication & Messaging

0683 Webhook Telegram Create Webhook

0683 Webhook Telegram Create Webhook

Webhook
Medium
8
Nodes
Webhook
Trigger
Medium
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
8
Node Types
5

Node Types

code
telegram account
1 node
if
check tg account exists, check issue body, assignee and hook type
2 nodes
switch
check type
1 node
telegram
Send Update, Send Create, Send Assign Alert
3 nodes
webhook
jira-webhook
1 node

Workflow JSON

10.54 KB
{
  "name": "0683 Webhook Telegram Create Webhook",
  "nodes": [
    {
      "id": "e10615ff-41dc-4ea6-981a-d8e949e2e386",
      "name": "telegram account",
      "type": "n8n-nodes-base.code",
      "position": [
        -220,
        0
      ],
      "parameters": {
        "jsCode": "const accountId = $('jira-webhook').first().json.body.fields.assignee?.accountId\n\nconst telegramAccounts = {\n  \"[jira account id]\": 00000000, // telegram chat id\n}\n\nconst telegramChatId = telegramAccounts[accountId]\n\nreturn [{telegramChatId}]"
      },
      "typeVersion": 2
    },
    {
      "id": "a0effbdb-8f99-4248-9a98-aba34ff67690",
      "name": "check tg account exists",
      "type": "n8n-nodes-base.if",
      "position": [
        40,
        120
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },...

Showing first 1000 characters. Click "Expand" to view the full JSON.