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": true,
"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-05-29T11:23:38.016Z",
"id": "kAYBoLCIUgf6TybV",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "NPetrova Assistent",
"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": [
1960,
1560
],
"id": "b231e071-9b0c-4e67-bc85-465d2b3f3675",
"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": [
2080,
1560
],
"id": "f02e1fb5-ca79-4731-9138-03da41fb6e5b",
"name": "Window Buffer Memory"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"typeVersion": 1,
"position": [
2200,
1560
],
"id": "353d1c0d-0c2a-4932-b9f1-aba26e1bc606",
"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": [
2320,
1560
],
"id": "18b43880-eef2-4e55-870d-b4faf2178dc3",
"name": "Calendar Agent"
},
{
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"id": "0b492f5f-5a71-4d61-a453-cc89ca0f48e6",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"typeVersion": 1.1,
"position": [
-180,
1340
],
"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": "53b3988c-4d2b-4783-8fa1-f007d15aaf36",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
40,
1340
]
},
{
"parameters": {
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"text": "={{ $json.output }}",
"additionalFields": {
"appendAttribution": false
}
},
"id": "51858aed-19be-4bab-a333-3e43a0c68b29",
"name": "Response",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
2520,
1340
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "file",
"fileId": "={{ $json.message.voice.file_id }}"
},
"id": "0baec7cf-4565-478c-a163-f9558e5db993",
"name": "Download File",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
260,
1240
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"resource": "audio",
"operation": "transcribe",
"options": {}
},
"id": "505fdbf8-7033-4aac-be79-19af40c436ef",
"name": "Transcribe",
"type": "@n8n/n8n-nodes-langchain.openAi",
"typeVersion": 1.6,
"position": [
480,
1240
],
"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": [
2060,
1340
],
"id": "45f958ed-ecc7-49d3-9570-2f94a5908b8e",
"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": [
1220,
1340
],
"id": "49d05442-35a8-47ca-964f-79841ccd2a98",
"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": [
1520,
1300
],
"id": "b3142285-27f6-4965-a918-f728bb49551a",
"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": [
1740,
1140
],
"id": "69b2522d-6f00-4115-b4fa-1222d088914e",
"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": [
1740,
940
],
"id": "34f1b941-6c9a-44ee-8942-0edf7963beca",
"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": [
1740,
1340
],
"id": "975d6680-4270-44a6-8079-57b1cbd7fe9b",
"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": [
1740,
1740
],
"id": "54356f1e-7eb3-4544-8fa0-fb8c1eb95374",
"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": "99b692f8-feb2-4864-9543-f7933bdf4c78",
"name": "Set Text",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
700,
1440
]
},
{
"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": [
1740,
1540
],
"id": "8660205d-e88b-4c6a-b77d-8619858a8ece",
"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": [
700,
1240
],
"id": "58c053af-ae65-44b8-975d-69fe76537640",
"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": [
1080,
1340
],
"id": "1a488d51-4fd9-4e36-90d9-1d82b0702f00",
"name": "Set Text (final)"
}
],
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"tags": [],
"triggerCount": 1,
"updatedAt": "2025-05-29T11:27:19.000Z",
"versionId": "752789f9-9ec8-4b78-b36e-1bf83bf09535"
}
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 Assistent. Uses lmChatOpenAi, memoryBufferWindow, toolCalculator, toolWorkflow. Event-driven trigger; 20 nodes.
Source: https://github.com/bfirrst/n8nbackup/blob/91b4e4c4c718d4009e49b8eb3322fc3ab13dbad0/workflows/kAYBoLCIUgf6TybV.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.
Personal Assistant. Uses memoryBufferWindow, agent, agentTool, httpRequestTool. Event-driven trigger; 77 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.
Inbox Guardian. Uses gmailTrigger, lmChatOpenAi, agent, textClassifier. Event-driven trigger; 66 nodes.