This workflow follows the Agent → OpenAI Chat 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 →
{
"active": false,
"connections": {
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "ai_memory",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calendar Agent": {
"ai_tool": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "ai_tool",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Download File",
"type": "main",
"index": 0
}
],
[
{
"node": "Set Text",
"type": "main",
"index": 0
}
]
]
},
"Download File": {
"main": [
[
{
"node": "Transcribe",
"type": "main",
"index": 0
}
]
]
},
"Transcribe": {
"main": [
[
{
"node": "Set Text (voice)",
"type": "main",
"index": 0
}
]
]
},
"\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422": {
"main": [
[
{
"node": "Response",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "Switch1",
"type": "main",
"index": 0
}
]
]
},
"Switch1": {
"main": [
[
{
"node": "\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u043e\u0432",
"type": "main",
"index": 0
}
],
[
{
"node": "\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c",
"type": "main",
"index": 0
}
],
[
{
"node": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c",
"type": "main",
"index": 0
}
],
[
{
"node": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430",
"type": "main",
"index": 0
}
],
[
{
"node": "\u043e\u0431\u0449\u0435\u0435",
"type": "main",
"index": 0
}
]
]
},
"\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u043e\u0432": {
"main": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "main",
"index": 0
}
]
]
},
"\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c": {
"main": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "main",
"index": 0
}
]
]
},
"\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c": {
"main": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "main",
"index": 0
}
]
]
},
"\u043e\u0431\u0449\u0435\u0435": {
"main": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "main",
"index": 0
}
]
]
},
"Set Text": {
"main": [
[
{
"node": "Set Text (final)",
"type": "main",
"index": 0
}
]
]
},
"\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430": {
"main": [
[
{
"node": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422",
"type": "main",
"index": 0
}
]
]
},
"Set Text (voice)": {
"main": [
[
{
"node": "Set Text (final)",
"type": "main",
"index": 0
}
]
]
},
"Set Text (final)": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
}
},
"createdAt": "2025-06-13T15:41:27.742Z",
"id": "tXrVIlS53WyMJSbl",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "npetrova",
"nodes": [
{
"parameters": {
"model": {
"__rl": true,
"value": "gpt-4o-mini-2024-07-18",
"mode": "list",
"cachedResultName": "gpt-4o-mini-2024-07-18"
},
"options": {
"frequencyPenalty": 0
}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
220,
620
],
"id": "b037fcba-ec77-4f6e-9341-ce4018356aee",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"sessionIdType": "customKey",
"sessionKey": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"contextWindowLength": 50
},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
340,
620
],
"id": "2977cb00-11c1-4395-8b50-701d2961b6bd",
"name": "Window Buffer Memory"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"typeVersion": 1,
"position": [
460,
620
],
"id": "546849ed-637a-4bd0-a0c4-b3685bd301b4",
"name": "Calculator"
},
{
"parameters": {
"name": "calendarAgent",
"description": "Call this tool for any calendar action.",
"workflowId": {
"__rl": true,
"value": "ghDYULuooCxBRVTv",
"mode": "list",
"cachedResultName": "NPetrova GC"
},
"workflowInputs": {
"mappingMode": "defineBelow",
"value": {},
"matchingColumns": [],
"schema": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
}
},
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"typeVersion": 2,
"position": [
580,
620
],
"id": "25d16a3e-0b15-4467-bceb-f50c8061db42",
"name": "Calendar Agent"
},
{
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"id": "151c2ca8-dc3d-4c19-bdaf-0ad64ea77a5d",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"typeVersion": 1.1,
"position": [
-1920,
400
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"leftValue": "={{ $json.message.voice.file_id }}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "Voice"
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "8c844924-b2ed-48b0-935c-c66a8fd0c778",
"leftValue": "={{ $json.message.text }}",
"rightValue": "",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "Text"
}
]
},
"options": {}
},
"id": "e2da7e2a-4347-4dc5-9e12-e37fec0ce484",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
-1700,
400
]
},
{
"parameters": {
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"text": "={{ $json.output }}",
"additionalFields": {
"appendAttribution": false
}
},
"id": "86d02949-da05-4070-859b-760b2668f0b2",
"name": "Response",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
780,
400
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "file",
"fileId": "={{ $json.message.voice.file_id }}"
},
"id": "1a8a2269-54d6-4c77-9ba3-4045143eab57",
"name": "Download File",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
-1480,
300
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "audio",
"operation": "transcribe",
"options": {}
},
"id": "72df96ef-858e-4292-84ce-6e910b88735b",
"name": "Transcribe",
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 1.6,
"position": [
-1260,
300
],
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json.prompt }} {{ $json.text }}",
"options": {
"systemMessage": "=# Overview\nYou are an expert assistant that helps with content generation, post editing, theme suggestions, and other content-related tasks. You also handle calendar tasks when needed.\n\n## Language\nAlways respond in Russian using a professional, clear, and friendly tone.\n\n## Content Rules\nYou are allowed to generate and edit text content including posts, articles, and ideas for social media. Follow the tone and goals described in the prompt.\n\n## Tools\n- calendarAgent: Use this tool to take actions in calendar\n\n## Final Reminder\nAlways complete the task clearly and concisely. Do not refuse content generation.\nCurrent date/time: {{ $now }}"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1.7,
"position": [
320,
400
],
"id": "3cccd8fd-dff3-4f4b-93ac-17428e31f2f6",
"name": "\u0411\u0418\u0417\u041d\u0415\u0421 \u0410\u0421\u0421\u0418\u0421\u0422\u0415\u041d\u0422"
},
{
"parameters": {
"modelId": {
"__rl": true,
"value": "gpt-4o-mini",
"mode": "list",
"cachedResultName": "GPT-4O-MINI"
},
"messages": {
"values": [
{
"content": "\u0422\u044b \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434. \u041e\u0442\u0432\u0435\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON:\n{\n \"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\": \"\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430 | \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430 | \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c | \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c | \u043e\u0431\u0449\u0435\u0435\"\n}\n\n\u0422\u0438\u043f\u044b \u043a\u043e\u043c\u0430\u043d\u0434:\n- \"\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430\" \u2014 \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0441\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e/\u043f\u043e\u0441\u0442\n- \"\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430\" \u2014 \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0445\u043e\u0447\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c, \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0443\u0436\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0441\u0442\n- \"\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c\" \u2014 \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0442\u0435\u043c\u044b \u043f\u043e\u0441\u0442\u0430 \u0438\u043b\u0438 \u0442\u0435\u043c\u044b \u043a\u043e\u043d\u0442\u0435\u043d\u0442-\u043f\u043b\u0430\u043d\u0430\n- \"\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c\" \u2014 \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0441\u0438\u0442 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0442\u0435\u043c\u044b\n- \"\u043e\u0431\u0449\u0435\u0435\" \u2014 \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u043d\u0438 \u043f\u043e\u0434 \u043e\u0434\u043d\u0443 \u0438\u0437 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439",
"role": "system"
},
{
"content": "={{ $json.text }}"
}
]
},
"jsonOutput": true,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 1.8,
"position": [
-520,
400
],
"id": "b9ba71c1-db5f-43f6-b893-97c153bdd8a3",
"name": "OpenAI",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"leftValue": "={{$json[\"message\"][\"content\"][\"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\"]}}",
"rightValue": "\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430",
"operator": {
"type": "string",
"operation": "equals"
},
"id": "027a606a-f5ff-4466-977b-4584081cb9c7"
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "153401ed-088c-4de8-a8f1-2c4cce6a49f3",
"leftValue": "={{ $json[\"message\"][\"content\"][\"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\"] }}",
"rightValue": "\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "a2fe31be-cd54-4286-937c-f1572420ea7d",
"leftValue": "={{ $json[\"message\"][\"content\"][\"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\"] }}",
"rightValue": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "7d17d4c2-39b0-423a-b46a-f373ba5868e9",
"leftValue": "={{ $json[\"message\"][\"content\"][\"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\"] }}",
"rightValue": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "24187032-471d-47df-a555-bb804a5e3759",
"leftValue": "={{$json[\"message\"][\"content\"][\"\u043a\u043e\u043c\u0430\u043d\u0434\u0430\"]}}",
"rightValue": "\u043e\u0431\u0449\u0435\u0435",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
}
]
},
"options": {}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
-220,
360
],
"id": "dee20f48-0662-4467-a135-1066965bd53c",
"name": "Switch1"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "4c54f89c-3770-469c-896a-a4e3d3c5bb12",
"name": "prompt",
"value": "=You are a copywriter and content marketer. Write a medium-length social media post (about 1200\u20131500 characters) based on the given topic. Use a friendly and motivating tone. Feel free to include emojis and up to 5 relevant hashtags. End the post with a clear call to action encouraging the reader to engage.",
"type": "string"
},
{
"id": "49993771-5717-4cd5-9914-5c92ad8556a5",
"name": "text",
"value": "={{ $node[\"Set Text (final)\"].json[\"text\"] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
0,
200
],
"id": "95d78011-b40c-4bf0-a347-7c2f02c91358",
"name": "\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0442\u0435\u043c"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "232432eb-bf0e-4fe1-9569-78f098970af8",
"name": "prompt",
"value": "\u0422\u044b \u2013 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u0435\u0440 \u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442-\u043c\u0430\u0440\u043a\u0435\u0442\u043e\u043b\u043e\u0433. \u0422\u0432\u043e\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2013 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u043f\u043e\u0441\u0442\u044b \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u0430 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u043f\u0441\u0438\u0445\u043e\u043b\u043e\u0433\u0438\u0438, \u043d\u0443\u0442\u0440\u0438\u0446\u0438\u043e\u043b\u043e\u0433\u0438\u0438 \u0438 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0447\u0435\u0442\u044b\u0440\u0435 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b: \u0412\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435, \u042f\u043d\u0434\u0435\u043a\u0441 \u0414\u0437\u0435\u043d, Instagram \u0438 Telegram. \u0423 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u043e\u0441\u0442\u043e\u0432 \u0432\u0430\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0434\u043b\u0438\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442\u0430, \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u0445\u0435\u0448\u0442\u0435\u0433\u043e\u0432 \u0438 \u0441\u0442\u0438\u043b\u0435\u043c \u043f\u043e\u0434\u0430\u0447\u0438. \u0426\u0435\u043b\u0435\u0432\u0430\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044f: \u043b\u044e\u0434\u0438 35-50 \u043b\u0435\u0442, \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u0438, \u0441\u0430\u043c\u043e\u0437\u0430\u043d\u044f\u0442\u044b\u0435, \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u043b\u044e\u0434\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u043e\u0446\u0435\u043d\u043a\u0443, \u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u044d\u043d\u0435\u0440\u0433\u0438\u044e \u0438 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0442\u0435\u043b\u043e \u0432 \u043f\u043e\u0440\u044f\u0434\u043e\u043a. \u0418\u0445 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b: \u043d\u0438\u0437\u043a\u0430\u044f \u0441\u0430\u043c\u043e\u043e\u0446\u0435\u043d\u043a\u0430, \u0430\u043f\u0430\u0442\u0438\u044f, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u0445, \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u044d\u043d\u0435\u0440\u0433\u0438\u0438 \u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434. \u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u044c, \u043f\u0440\u043e\u0433\u0440\u0435\u0432\u0430\u0442\u044c \u043a \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u043e\u0431\u0449\u0438\u0435 \u0444\u0440\u0430\u0437\u044b \u0431\u0435\u0437 \u0433\u0435\u043d\u0434\u0435\u0440\u043d\u043e\u0439 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u043a\u0441\u0442 \u0431\u044b\u043b \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b \u0432\u0441\u0435\u043c. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0439 \u0441\u043e\u0432\u0435\u0442\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0434\u0430\u0435\u0448\u044c \u0441\u043e\u0432\u0435\u0442 \"\"\u043a\u0443\u0448\u0430\u0439\u0442\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e, \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u044f \u0432\u043a\u0443\u0441\"\", \u0434\u043e\u0431\u0430\u0432\u044c: \"\"\u041f\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435, \u043a\u0430\u043a\u043e\u0439 \u043d\u0430 \u0432\u043a\u0443\u0441 \u0430\u0432\u043e\u043a\u0430\u0434\u043e? \u041e\u0449\u0443\u0449\u0430\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u0435\u0433\u043e \u043a\u0440\u0435\u043c\u043e\u0432\u0443\u044e \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0443 \u0438 \u043b\u0435\u0433\u043a\u0443\u044e \u043e\u0440\u0435\u0445\u043e\u0432\u0443\u044e \u043d\u043e\u0442\u043a\u0443?\"\" \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u044c 10% \u0436\u0435\u043d\u0441\u043a\u043e\u0433\u043e \u044e\u043c\u043e\u0440\u0430. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438: \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0437\u044c\u044f! \u0414\u0440\u0443\u0433\u0438 \u043c\u043e\u0438! (\u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043c\u043e\u0439 \u043f\u0430\u043f\u0430) \u0421\u0430\u043c\u044b\u0435 the healthiest people! \u0417\u0434\u043e\u0440\u043e\u0432\u044c\u044f \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0434\u043e\u0440\u043e\u0432! \u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0441\u0435\u0445, \u043a\u0442\u043e \u0433\u043e\u0442\u043e\u0432 \u0431\u044b\u0442\u044c \u043c\u043e\u043b\u043e\u0434\u044b\u043c \u0438 \u0437\u0434\u043e\u0440\u043e\u0432\u044b\u043c! \u041f\u0440\u0438\u0432\u0435\u0442, my friends! (\u0423\u0447\u0443 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439, \u0438\u043d\u043e\u0433\u0434\u0430 \u043d\u0435 \u043c\u043e\u0433\u0443 \u0443\u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f \ud83d\ude01) \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u043c\u043e\u0438, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044e \u0437\u0430\u2026 \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0415\u0441\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0433\u0434\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u043c\u0435\u0441\u0442\u043d\u043e. \u041d\u0435 \u043f\u0438\u0448\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u043e\u043c\u0435 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430, \u043d\u0435 \u043f\u0438\u0448\u0438 \"\"\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a:\"\" \u0438\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0441\u0442 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438.\u041d\u0435 \u0432\u044b\u0434\u0435\u043b\u044f\u0439 \u0442\u0435\u043a\u0441\u0442 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u0438 \u044d\u0442\u0438\u043c\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 - ** \u0438 ### ",
"type": "string"
},
{
"id": "2b2ff60e-9772-4dc6-8dad-7de37ec83103",
"name": "text",
"value": "={{ $node[\"Set Text (final)\"].json[\"text\"] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
0,
0
],
"id": "13bb961d-2d52-475b-acb9-439607fc2db1",
"name": "\u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u043e\u0432"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "4c54f89c-3770-469c-896a-a4e3d3c5bb12",
"name": "prompt",
"value": "=You are a professional content marketer and SMM strategist. Your task is to edit and improve previously generated content themes to make them more relevant, engaging, and in line with the audience\u2019s pain points. The project is for an expert in psychology, nutrition, and mindful eating. The target audience is women aged 35\u201350 who are entrepreneurs, freelancers, or financially secure and seeking energy, self-esteem, and body transformation. Avoid bold formatting and do not number the topics. Keep suggestions concise and platform-neutral.",
"type": "string"
},
{
"id": "fd1f68cd-8e81-4b88-a416-88b1ff71d3e0",
"name": "text",
"value": "={{ $node[\"Set Text (final)\"].json[\"text\"] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
0,
400
],
"id": "7df4a5ea-6f57-402d-92c5-187dc6b3f906",
"name": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043c"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "4c54f89c-3770-469c-896a-a4e3d3c5bb12",
"name": "text",
"value": "={{ $node[\"Set Text (final)\"].json[\"text\"] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
0,
800
],
"id": "c4b02a9e-b316-49ff-a4c9-12e8efded100",
"name": "\u043e\u0431\u0449\u0435\u0435"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "fe7ecc99-e1e8-4a5e-bdd6-6fce9757b234",
"name": "text",
"value": "={{ $json.message.text }}",
"type": "string"
}
]
},
"options": {}
},
"id": "bda8c2b7-0d3b-48e0-abc2-2d5679765de0",
"name": "Set Text",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-1040,
500
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "72ac8133-34e7-4f08-bbb3-4b387c286c64",
"name": "prompt",
"value": "You are a copywriter and content marketer. Your task is to revise an existing social media post to improve its clarity, tone, and effectiveness while maintaining a friendly and motivating style. The goal is to adapt it for Telegram, VK, Instagram, and Yandex Zen. Include up to 5 relevant hashtags and emojis if natural. End with a strong call to action.\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u043e\u0431\u0449\u0438\u0435 \u0444\u0440\u0430\u0437\u044b \u0431\u0435\u0437 \u0433\u0435\u043d\u0434\u0435\u0440\u043d\u043e\u0439 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u043a\u0441\u0442 \u0431\u044b\u043b \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u043b \u0432\u0441\u0435\u043c. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0439 \u0441\u043e\u0432\u0435\u0442\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u0441\u0440\u0430\u0437\u0443 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0434\u0430\u0435\u0448\u044c \u0441\u043e\u0432\u0435\u0442 \"\u043a\u0443\u0448\u0430\u0439\u0442\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u043d\u043e, \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u044f \u0432\u043a\u0443\u0441\", \u0434\u043e\u0431\u0430\u0432\u044c: \"\u041f\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435, \u043a\u0430\u043a\u043e\u0439 \u043d\u0430 \u0432\u043a\u0443\u0441 \u0430\u0432\u043e\u043a\u0430\u0434\u043e? \u041e\u0449\u0443\u0449\u0430\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u0435\u0433\u043e \u043a\u0440\u0435\u043c\u043e\u0432\u0443\u044e \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0443 \u0438 \u043b\u0435\u0433\u043a\u0443\u044e \u043e\u0440\u0435\u0445\u043e\u0432\u0443\u044e \u043d\u043e\u0442\u043a\u0443?\" \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u044c 10% \u0436\u0435\u043d\u0441\u043a\u043e\u0433\u043e \u044e\u043c\u043e\u0440\u0430. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438: \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0437\u044c\u044f! \u0414\u0440\u0443\u0433\u0438 \u043c\u043e\u0438! (\u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043c\u043e\u0439 \u043f\u0430\u043f\u0430) \u0421\u0430\u043c\u044b\u0435 the healthiest people! \u0417\u0434\u043e\u0440\u043e\u0432\u044c\u044f \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0434\u043e\u0440\u043e\u0432! \u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e \u0432\u0441\u0435\u0445, \u043a\u0442\u043e \u0433\u043e\u0442\u043e\u0432 \u0431\u044b\u0442\u044c \u043c\u043e\u043b\u043e\u0434\u044b\u043c \u0438 \u0437\u0434\u043e\u0440\u043e\u0432\u044b\u043c! \u041f\u0440\u0438\u0432\u0435\u0442, my friends! (\u0423\u0447\u0443 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439, \u0438\u043d\u043e\u0433\u0434\u0430 \u043d\u0435 \u043c\u043e\u0433\u0443 \u0443\u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f \ud83d\ude01) \u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u043c\u043e\u0438, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044e \u0437\u0430\u2026 \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442! \u0415\u0441\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0433\u0434\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u043c\u0435\u0441\u0442\u043d\u043e. \u041d\u0435 \u043f\u0438\u0448\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u043e\u043c\u0435 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0430, \u043d\u0435 \u043f\u0438\u0448\u0438 \"\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a:\" \u0438\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u0442\u043e\u043b\u044c\u043a\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0441\u0442 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438.\u041d\u0435 \u0432\u044b\u0434\u0435\u043b\u044f\u0439 \u0442\u0435\u043a\u0441\u0442 \u0436\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u0438 \u044d\u0442\u0438\u043c\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 - ** \u0438 ### ",
"type": "string"
},
{
"id": "9a880348-9dad-49bb-9436-6faf65fb8cdd",
"name": "text",
"value": "={{ $node[\"Set Text (final)\"].json[\"text\"] }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
0,
600
],
"id": "32d1420a-345b-482a-8d56-1e8bcb1d72c6",
"name": "\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0441\u0442\u0430"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "2b2ff60e-9772-4dc6-8dad-7de37ec83103",
"name": "text",
"value": "={{ $json.text }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-1040,
300
],
"id": "142aaf20-b19f-4d42-b9d7-5dbafcda579f",
"name": "Set Text (voice)"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "2b2ff60e-9772-4dc6-8dad-7de37ec83103",
"name": "text",
"value": "={{ $json.text }}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-660,
400
],
"id": "5192e0fa-c24e-45fc-a783-d1a892858dcc",
"name": "Set Text (final)"
}
],
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 0,
"updatedAt": "2025-07-01T17:59:49.000Z",
"versionId": "4ceb0478-705d-4d33-960d-fcefd32ca26a"
}
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.
openAiApitelegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
npetrova. Uses lmChatOpenAi, memoryBufferWindow, toolCalculator, toolWorkflow. Event-driven trigger; 20 nodes.
Source: https://github.com/bfirrst/n8nbackup/blob/91b4e4c4c718d4009e49b8eb3322fc3ab13dbad0/workflows/tXrVIlS53WyMJSbl.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.
BoomerBobBot.TP. Uses agent, telegramTrigger, telegram, memoryBufferWindow. Event-driven trigger; 95 nodes.
Digital marketers, content creators, social media managers, and businesses who want to use AI marketing automation for YouTube Shorts without spending hours on production. This AI workflow helps anyon
Jarvis is a powerful multi-agent productivity assistant built in n8n. It works directly from Telegram and can understand both text messages and voice notes.
Unlock the Power of Language with Personalized AI Learning! MOTION TUTOR is a revolutionary AI-powered language learning platform that adapts to your progress and guides you from basic vocabulary to c
Automate your personal productivity with this intelligent n8n workflow that integrates Telegram, Google Sheets, and OpenAI (GPT-4o). This system uses multiple AI agents to manage work hours, tasks, fi