This workflow follows the Execute Workflow Trigger → OpenAI 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 →
{
"nodes": [
{
"parameters": {
"chatId": "={{ $('When Executed by Another Workflow').item.json.idtelegram }}",
"text": "={{ $('When Executed by Another Workflow').item.json.mensaje }}",
"additionalFields": {
"appendAttribution": false
}
},
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
-180,
-240
],
"id": "ccff85a0-f8c7-478c-a5eb-3ea734631431",
"name": "Telegram",
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"leftValue": "={{ $json.datasource }}",
"rightValue": 0,
"operator": {
"type": "number",
"operation": "equals"
},
"id": "fbe04bac-1568-43ed-95f3-02171e12d89a"
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "0"
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"id": "c403cd6a-b72e-409d-89fe-79fd89b66b6a",
"leftValue": "={{ $json.datasource }}",
"rightValue": 2,
"operator": {
"type": "number",
"operation": "equals"
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "2"
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"id": "8b09e1d5-4316-4a09-b3cb-2694145df371",
"leftValue": "={{ $json.datasource }}",
"rightValue": "4",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "4"
}
]
},
"looseTypeValidation": true,
"options": {}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
-520,
-60
],
"id": "1bf5c454-c1c2-437d-84af-8fa655eaed36",
"name": "Switch3"
},
{
"parameters": {
"inputSource": "passthrough"
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
-800,
-60
],
"id": "9b0c401f-cf15-4ec1-a992-4d79634d9b89",
"name": "When Executed by Another Workflow"
},
{
"parameters": {
"select": "channel",
"channelId": {
"__rl": true,
"value": "C0922ATN8N7",
"mode": "list",
"cachedResultName": "n8nbot"
},
"text": "={{ $json.mensaje }}",
"otherOptions": {
"includeLinkToWorkflow": false
}
},
"type": "n8n-nodes-base.slack",
"typeVersion": 2.3,
"position": [
-180,
-20
],
"id": "4433be21-1a50-4384-96e0-254833adc0d1",
"name": "messageToSlack",
"credentials": {
"slackApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "audio",
"input": "={{ $json.output }}",
"options": {
"response_format": "opus"
}
},
"id": "1c4dca97-4b3f-4c9b-9e79-b2b6f5866ce8",
"name": "Transcribe audio1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
100,
200
],
"typeVersion": 1.8,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "sendAudio",
"chatId": "={{ $('When Executed by Another Workflow').item.json.idtelegram }}",
"binaryData": true,
"additionalFields": {}
},
"id": "fb89073c-c920-416f-a787-0e14e49b4728",
"name": "Send transcription message1",
"type": "n8n-nodes-base.telegram",
"position": [
340,
200
],
"typeVersion": 1.2,
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "ce89af1e-28c2-4d94-8120-f71a73e0329f",
"name": "output",
"value": "={{ $json.mensaje }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-180,
200
],
"id": "ef26f61e-e933-416a-91db-cc2cc526ed28",
"name": "Edit Fields"
}
],
"connections": {
"Telegram": {
"main": [
[]
]
},
"Switch3": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
],
[
{
"node": "messageToSlack",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Switch3",
"type": "main",
"index": 0
}
]
]
},
"Transcribe audio1": {
"main": [
[
{
"node": "Send transcription message1",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Transcribe audio1",
"type": "main",
"index": 0
}
]
]
}
},
"meta": {
"templateCredsSetupCompleted": true
}
}
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.
openAiApislackApitelegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Responto. Uses telegram, executeWorkflowTrigger, slack, openAi. Event-driven trigger; 7 nodes.
Source: https://github.com/jpupper/rosedashboard/blob/5e333901d7d17d9b9b4dea7b87b407ed19a5781b/n8n/workflows/responto.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 handles customer order complaints submitted via Telegram by looking up order details in Google Sheets, using OpenAI to classify message sentiment, and routing each case to auto-approval,
This workflow handles COD order confirmation and abandoned-cart recovery by combining webhooks, Google Sheets logging, OpenAI message generation, and Telegram messaging with inline buttons, plus Slack
This workflow runs a Telegram restaurant ordering flow that uses OpenAI to parse orders and suggest an upsell, sends a Razorpay payment link, confirms paid orders via a Razorpay webhook, logs orders a
This workflow runs weekly to pull HR datasets from Google Sheets, calculate rule-based attrition risk signals, and enrich them with an OpenAI (GPT-4o-mini) risk assessment. It logs results back to Goo
This workflow handles dental clinic patient conversations in Telegram, using OpenAI to answer treatment-plan and general questions, logging bookings and payment plans in Google Sheets, sending automat