AutomationFlowsSlack & Telegram › Action

Action

01_Action. Uses telegram, httpRequest. Webhook trigger; 10 nodes.

Webhook trigger★★★★☆ complexity10 nodesTelegramHTTP Request
Slack & Telegram Trigger: Webhook Nodes: 10 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Telegram 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": "01_Action",
  "nodes": [
    {
      "parameters": {
        "path": "mercado-pago",
        "options": {}
      },
      "id": "b1ed41ee-1bcb-4893-ab8b-e1e2935c1e3c",
      "name": "Webhook Django",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        -704,
        240
      ]
    },
    {
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{ $json.success }}",
              "value2": true
            }
          ]
        },
        "options": {}
      },
      "id": "738a654d-9916-4047-a47d-bab51dfe0d7b",
      "name": "Pagamento aprovado?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        -480,
        240
      ]
    },
    {
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "send_images",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            },
            {
              "conditions": {
                "conditions": [
                  {
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "add_to_vip_group",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    }
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "id": "5f941d45-5dc9-453a-8319-a7f9551eaf9a",
      "name": "Switch Action",
      "type": "n8n-nodes-base.switch",
      "typeVersion": 3,
      "position": [
        -256,
        240
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "text": "={{ $json.message }}",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "3c733cf1-03d9-43fc-82fb-32c1eda6b7cc",
      "name": "Notificar Conte\u00fado",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        0,
        64
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "functionCode": "return ($json.image_urls || []).map((url, index) => ({\n  json: {\n    chat_id: $json.chat_id,\n    photo: url,\n    caption: `\ud83d\udcf8 Imagem ${index + 1} de ${$json.image_urls.length}`\n  }\n}));"
      },
      "id": "b3314b82-0209-4684-8557-3ae781c3f54b",
      "name": "Preparar Imagens",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        224,
        64
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "text": "teste",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "98791af9-6b81-45b6-8f1c-9a5016ec82b7",
      "name": "Enviar Foto",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        448,
        64
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "text": "\ud83c\udf89 Conte\u00fado entregue com sucesso!\n\nAproveite \ud83d\ude04",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "6e675703-12ce-454d-93a1-6671b24628dc",
      "name": "Conte\u00fado Entregue",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        672,
        64
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "text": "={{ $json.message }}",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "dc3d97f5-3e09-48c4-ac01-12e7a5e6ad41",
      "name": "Notificar Assinatura",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        0,
        464
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "url": "https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/addChatMember",
        "jsonParameters": true,
        "options": {}
      },
      "id": "59137e77-488b-475d-9c24-d1cfc226f6ab",
      "name": "Adicionar ao Grupo VIP (HTTP)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 2,
      "position": [
        224,
        464
      ]
    },
    {
      "parameters": {
        "chatId": "={{ $json.chat_id }}",
        "text": "\ud83c\udf89 Voc\u00ea foi adicionado ao grupo VIP!\n\nValidade: {{ $json.expiration_at.split('T')[0] }}\n\nBem-vindo \ud83d\udc51",
        "additionalFields": {
          "parse_mode": "Markdown"
        }
      },
      "id": "de1ca014-17fc-4b3b-8527-674a9bc1ff7f",
      "name": "Sucesso VIP",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        448,
        464
      ],
      "credentials": {
        "telegramApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Webhook Django": {
      "main": [
        [
          {
            "node": "Pagamento aprovado?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pagamento aprovado?": {
      "main": [
        [
          {
            "node": "Switch Action",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch Action": {
      "main": [
        [
          {
            "node": "Notificar Conte\u00fado",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Notificar Assinatura",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notificar Conte\u00fado": {
      "main": [
        [
          {
            "node": "Preparar Imagens",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Preparar Imagens": {
      "main": [
        [
          {
            "node": "Enviar Foto",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enviar Foto": {
      "main": [
        [
          {
            "node": "Conte\u00fado Entregue",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notificar Assinatura": {
      "main": [
        [
          {
            "node": "Adicionar ao Grupo VIP (HTTP)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Adicionar ao Grupo VIP (HTTP)": {
      "main": [
        [
          {
            "node": "Sucesso VIP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "availableInMCP": false
  },
  "versionId": "121b7a6a-2d02-44eb-8091-97f519093605",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "gjBUL-Ci34iN8vULXwqrF",
  "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

01_Action. Uses telegram, httpRequest. Webhook trigger; 10 nodes.

Source: https://github.com/italoo97/telegram_n8n/blob/e4514e1d199f0b0bd61bd6ef9958def449d1fab9/n8n/01_Action.json — 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

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

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

qualiopi. Uses airtable, telegram, emailSend, httpRequest. Webhook trigger; 51 nodes.

Airtable, Telegram, Email Send +3
Slack & Telegram

PsyCardv2. Uses executeCommand, telegram, readBinaryFile, googleDrive. Webhook trigger; 41 nodes.

Execute Command, Telegram, Read Binary File +2
Slack & Telegram

[](https://www.linkedin.com/in/mosaab-yassir-lafrimi/)[](https://t.me/joevenner)

HTTP Request, Redis, S3 +1
Slack & Telegram

How it works • Webhook triggers from content creation system in Airtable • Downloads media (images/videos) from Airtable URLs • Uploads media to Postiz cloud storage • Schedules or publishes content a

Airtable, Telegram, HTTP Request