This workflow corresponds to n8n.io template #4022 — we link there as the canonical source.
This workflow follows the Chainllm → Chat Trigger 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 →
{
"id": "eSPsRuvDjDKmvlRD",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "BuzzBlast",
"tags": [],
"nodes": [
{
"id": "fd9460dc-62b8-42c2-b18f-5a37ef3cd2c3",
"name": "Sticky - Chat Trigger",
"type": "n8n-nodes-base.stickyNote",
"position": [
-760,
-340
],
"parameters": {
"color": "#FF0000",
"width": 300,
"content": "Receives the initial chat message that triggers the workflow. This node captures user input from a configured chat platform, which is then passed to the AI for optimization."
},
"typeVersion": 1
},
{
"id": "2b5337cc-d674-49ea-8581-73acf70f3e87",
"name": "Sticky - AI Optimizer",
"type": "n8n-nodes-base.stickyNote",
"position": [
-400,
-340
],
"parameters": {
"color": "#FF0000",
"width": 300,
"content": "Uses OpenRouter's AI to optimize the input message for virality across X, Discord, and LinkedIn. Detects the input language and generates platform-specific content in the same language."
},
"typeVersion": 1
},
{
"id": "f50c4cf5-ea73-428b-90ea-d4a3c195bf3a",
"name": "Sticky - OpenRouter",
"type": "n8n-nodes-base.stickyNote",
"position": [
-520,
80
],
"parameters": {
"color": "#FF0000",
"width": 280,
"height": 180,
"content": "\n\n\n\n\nConfigures the OpenRouter AI model (LLaMA-4) to process the chat input and generate optimized content for each social media platform."
},
"typeVersion": 1
},
{
"id": "d842efaf-291b-4c1a-8bc2-8434b6cfe9b0",
"name": "Sticky - Parser",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
80
],
"parameters": {
"color": {},
"width": 280,
"height": 180,
"content": "\n\n\n\n\nParses the AI-generated output into a structured JSON format, separating content for each platform (X, Discord, LinkedIn)."
},
"typeVersion": 1
},
{
"id": "e3ae43d2-1dab-473a-bbf9-1bd35c6944ed",
"name": "Sticky - Split",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-340
],
"parameters": {
"color": "#FF0000",
"width": 220,
"content": "Splits the structured JSON output into individual items for each platform, enabling routing to the appropriate social media node."
},
"typeVersion": 1
},
{
"id": "f8e2ab9d-f96a-4748-8bcb-d9dfa8a24ef1",
"name": "Sticky - Switch",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-340
],
"parameters": {
"color": "#FF0000",
"content": "Routes the optimized content to the correct platform (X, Discord, or LinkedIn) based on the 'platform' field in the JSON output."
},
"typeVersion": 1
},
{
"id": "024b6c38-65fd-4f1d-8dd6-31045c97088f",
"name": "Sticky - Post to X",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
-540
],
"parameters": {
"color": "#FF0000",
"content": "Posts the AI-optimized content to X, using the input message and the output tailored for X's character limits and style."
},
"typeVersion": 1
},
{
"id": "7e24ed1a-4a6f-4f51-8afb-8239cb832bde",
"name": "Sticky - Post to Discord",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
40
],
"parameters": {
"color": "#FF0000",
"content": "Sends the AI-optimized content to a Discord server via a webhook, formatted for community engagement."
},
"typeVersion": 1
},
{
"id": "3184d4bd-3f42-4284-918a-5344431ae9ae",
"name": "Sticky - Post to LinkedIn",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
-260
],
"parameters": {
"color": "#FF0000",
"content": "Shares the AI-optimized content on LinkedIn, formatted for professional tone and audience engagement."
},
"typeVersion": 1
},
{
"id": "f56606cf-4fee-4037-8096-0083e6118f3e",
"name": "Generate Content",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-360,
0
],
"parameters": {
"model": "meta-llama/llama-4-maverick:free",
"options": {}
},
"credentials": {
"openRouterApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "158d2322-527c-402a-a26d-87f74004ba7a",
"name": "Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-200,
0
],
"parameters": {
"jsonSchemaExample": "[\n {\n \"platform\": \"twitter\",\n \"content\": \"tweet goes here\"\n },\n {\n \"platform\": \"discord\",\n \"content\": \"message goes here\"\n }\n]"
},
"typeVersion": 1.2
},
{
"id": "ff1097b0-b0cd-4c62-aa10-54fc2890b3f2",
"name": "Sticky - Parser1",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
80
],
"parameters": {
"color": 4,
"width": 280,
"height": 180,
"content": "**Enjoy BuzzBlast for free!** Got ideas, feedback, or just wanna chat? Hit me up at [khmuhtadin.com](https://khmuhtadin.com). \n\nFeeling generous? Buy me a coffee at [buymeacoffee.com/khmuhtadin](https://buymeacoffee.com/khmuhtadin) to keep the buzz going! \u2615"
},
"typeVersion": 1
},
{
"id": "eee77d13-62cc-43b7-be0b-6fccc9f82647",
"name": "Split Platform Content",
"type": "n8n-nodes-base.splitOut",
"position": [
20,
-200
],
"parameters": {
"options": {},
"fieldToSplitOut": "output"
},
"typeVersion": 1
},
{
"id": "f418837e-a963-437b-9f11-7184b90c661a",
"name": "Route to Platform",
"type": "n8n-nodes-base.switch",
"position": [
260,
-220
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "Twitter",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "50e6b6e3-dba7-4a9c-bd87-e70cddd17f8a",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.platform }}",
"rightValue": "Twitter"
}
]
},
"renameOutput": true
},
{
"outputKey": "Discord",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "0f14d2c8-74ab-4c19-8249-46d01fc9cbad",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.platform }}",
"rightValue": "Discord"
}
]
},
"renameOutput": true
},
{
"outputKey": "LinkedIn",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "fae91576-c20a-47e2-b045-7bbc05e85f55",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.platform }}",
"rightValue": "LinkedIn"
}
]
},
"renameOutput": true
},
{
"outputKey": "Linkedin",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "6f01c3d4-6d89-4223-9140-7fe2288e4375",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.platform }}",
"rightValue": "Linkedin"
}
]
},
"renameOutput": true
}
]
},
"options": {},
"looseTypeValidation": true
},
"typeVersion": 3.2
},
{
"id": "88b9267d-f9a7-4cd1-98a5-1c61ca803996",
"name": "Post to X",
"type": "n8n-nodes-base.twitter",
"position": [
660,
-440
],
"parameters": {
"text": "=test automation: \ninput: {{ $('Chat Input Trigger').item.json.chatInput }}\n\noutput: {{ $json.content }}",
"additionalFields": {}
},
"credentials": {
"twitterOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 2
},
{
"id": "dc5f941f-5236-4aca-97ab-f619a3cb1a48",
"name": "Post to LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
660,
-160
],
"parameters": {
"text": "=test app buzzer LOL\ninput: {{ $('Chat Input Trigger').item.json.chatInput }}\n\noutput: {{ $json.content }}",
"person": "XkhxgLp6zG",
"additionalFields": {}
},
"credentials": {
"linkedInOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "4f7e82f3-003c-4fdc-8ed6-6adaab7e9a13",
"name": "Post to Discord",
"type": "n8n-nodes-base.discord",
"position": [
660,
140
],
"parameters": {
"content": "=test automation: \ninput: {{ $('Chat Input Trigger').item.json.chatInput }}\n\noutput: {{ $json.content }}",
"options": {},
"authentication": "webhook"
},
"credentials": {
"discordWebhookApi": {
"name": "<your credential>"
}
},
"typeVersion": 2
},
{
"id": "4aaec093-6d34-4810-b297-6f1204bf7b4f",
"name": "Chat Input Trigger",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-580,
-200
],
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "d1f3a884-bcbb-4035-a52f-36b167bf9fd8",
"name": "AI Content Optimizer",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-360,
-200
],
"parameters": {
"text": "Do as instructed!",
"messages": {
"messageValues": [
{
"message": "=you are a social media specialist, optimize this input ({{ $json.chatInput }}) for several platform like twitter, discord and linkedin\n\nthe main focus is to get viral!\n\ndetect the language input first. generate the output in the same language"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.6
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "811ada06-e49b-4cea-a696-2b8eb40921fd",
"connections": {
"Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Content Optimizer",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Generate Content": {
"ai_languageModel": [
[
{
"node": "AI Content Optimizer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Route to Platform": {
"main": [
[
{
"node": "Post to X",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to Discord",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to LinkedIn",
"type": "main",
"index": 0
}
],
[
{
"node": "Post to LinkedIn",
"type": "main",
"index": 0
}
]
]
},
"Chat Input Trigger": {
"main": [
[
{
"node": "AI Content Optimizer",
"type": "main",
"index": 0
}
]
]
},
"AI Content Optimizer": {
"main": [
[
{
"node": "Split Platform Content",
"type": "main",
"index": 0
}
]
]
},
"Split Platform Content": {
"main": [
[
{
"node": "Route to Platform",
"type": "main",
"index": 0
}
]
]
}
}
}
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.
discordWebhookApilinkedInOAuth2ApiopenRouterApitwitterOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Amplify your social media presence with BuzzBlast, an n8n workflow designed to make your content go viral across X, Discord, and LinkedIn. By sending a single chat message, BuzzBlast leverages OpenRouter's AI to optimize your input for each platform’s unique audience—crafting…
Source: https://n8n.io/workflows/4022/ — 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 is built for creators, solopreneurs, SaaS founders, and agencies looking to automate their social media content process from idea to publication. It combines the power of OpenAI, Google
AI Social Media Publisher from WordPress. Uses manualTrigger, googleSheets, lmChatOpenRouter, outputParserStructured. Event-driven trigger; 20 nodes.
This workflow automates the process of creating and publishing social media posts across multiple platforms (Twitter/X, Facebook, LinkedIn, and Instagram) based on content from a WordPress post. It us
✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition. Uses chatTrigger, stickyNote, toolWorkflow, memoryBufferWindow. Chat trigger; 100 nodes.
This workflow is designed for content creators, social media managers, and marketing teams who need to efficiently create and publish content across multiple social media platforms. It's perfect for b