WP - Aktualisiert
Dies ist ein AI, Marketing-Bereich Automatisierungsworkflow mit 16 Nodes. Hauptsächlich werden If, Discord, Telegram, Wordpress, HttpRequest und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. Nutzen Sie KI, um SEO-optimierte WordPress-Blogbeiträge zu generieren und zu veröffentlichen
- •Discord Bot Token oder Webhook
- •Telegram Bot Token
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
- •OpenAI API Key
Verwendete Nodes (16)
Kategorie
{
"id": "lZI2xknLPhHU6gZB",
"meta": {
"instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
"templateCredsSetupCompleted": true
},
"name": "WP - Updated",
"tags": [],
"nodes": [
{
"id": "a7e0b3f7-7b86-4e94-b5c5-104cb92a332f",
"name": "Themenauswahl und Titelerstellung",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
320,
-320
],
"parameters": {
"text": "Do as instructed!",
"messages": {
"messageValues": [
{
"message": "=You are an expert SEO blog writer for “Dax AI,” specializing in Technology and Artificial Intelligence content. For each request, you must:\n\n1. Randomly select one category (exactly as shown):\n – Technology\n – Artificial Intelligence (AI)\n – Tech Fact\n – Tech History\n – Tech Tips\n\n2. Create:\n • A unique, non-robotic article title (no colons “:”, clickbait is OK but don’t exaggerate). \n • A URL-friendly slug (lowercase, hyphens). \n • A focus keyphrase (max 2 words, capturing the main idea). \n • A meta description (≤160 characters, summarizing the article).\n\n3. Use the current year placeholder {{ $json.Year }} if needed in the title.\n\nOutput exactly in this format:\nCategory: <chosen category>\nTitle: <your title>\nSlug: <your-slug>\nFocus Keyphrase: <max 2 words>\nMeta Description: <≤160 characters>"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.6
},
{
"id": "55642750-4403-4868-a263-6e08bf6fbb05",
"name": "Basic LLM Kette",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
640,
-320
],
"parameters": {
"text": "=Write a comprehensive, 1,500–2,500-word article using the following inputs:\n\n• Title: {{ $json.output.title }}\n• Category: {{ $json.output.category }}\n• Focus Phrase: {{ $json.output.focus_phrase }}\n\nRequirements:\n\nTitle:\n – Craft an engaging title that includes the focus phrase.\n - Do not add title in the body\n\nIntroduction (100–150 words)\n - Dont use word \"Introduction\"\n – Hook the reader.\n – Include the focus phrase.\n\nBody Structure\n - Do Not Add Title In the body\n – Use 4–6 H2 subheadings, with 1–2 H3s beneath each as needed.\n – Ensure the focus phrase appears in at least one H2 or H3.\n – Sprinkle the focus phrase naturally throughout—minimum 4 times, maximum 16 times.\n – Use bullet lists, examples, data or quotes to illustrate key points.\n - add outbound link if available\n\nTone & Style\n – Friendly yet authoritative.\n – Clear, concise paragraphs (2–4 sentences each).\n – Smooth transitions and varied sentence structure.\n\nConclusion & Call to Action\n - Don't use starting \"Conclusion\"\n – Summarize the key takeaways.\n – End with a compelling call to action or next step.\n - add available to contact cta (\"khmuhtadin.com\")\n\nEnsure flawless grammar, optimal keyword density, and readability for a general audience.",
"messages": {
"messageValues": [
{
"message": "=You are an elite blog writer for Dax AI, tasked with producing highly valuable, SEO-optimized, audience-focused long-form articles suitable for direct publication in WordPress. When given a topic or title, follow these rules precisely:\n\n1. Content Focus\n - Deliver practical tips, clear strategies, in-depth insights or step-by-step guides directly related to the topic.\n - Prioritize original, actionable advice that readers can implement immediately.\n\n2. Article Length & Structure\n - Minimum 1,500 words.\n - Use clear hierarchical headings (H2, H3, H4) to organize sections and subsections.\n - Ensure each section flows logically, with introductions, transitions, and conclusions where appropriate.\n\n3. SEO Optimization\n - Make content scannable: use short paragraphs, subheadings, and bulleted or numbered lists.\n - Naturally incorporate relevant keywords without keyword stuffing.\n - Write an engaging, concise meta description (under 160 characters) at the top.\n\n4. WordPress-Compatible Formatting\n - Output plain text only—no Markdown, no code fences, no additional commentary.\n - Format headings as WordPress recognizes (e.g., “<h2>Section Title</h2>” or using the WordPress editor’s native heading styles).\n - For lists, use a simple dash or number followed by a space (e.g., “– Android Automation Apps:” or “1. Step one”) never make it bols (e.g., \"- **product 1**\").\n - Do not include the article title, any author bylines, or any formatting instructions—only the body content.\n\n5. Final Output\n – Only the article body in ready-to-publish WordPress format.\n – No extra notes, disclaimers, or explanations.\n – Confirm compliance by immediately starting with the first section heading when writing.\n"
}
]
},
"promptType": "define"
},
"typeVersion": 1.6
},
{
"id": "3ab3b38b-0627-4a92-a3c2-75776cd896cc",
"name": "Themenauswahl und Titelerstellung Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
500,
-120
],
"parameters": {
"jsonSchemaExample": "{\n\t\"category\": \"Technology\",\n\t\"title\": \"Article Title\",\n \"slug\": \"article-slug\",\n\t\"focus_phrase\": \"focus phrase for SEO\",\n\t\"meta_description\": \"meta description under 160 characters\"\n}"
},
"typeVersion": 1.2
},
{
"id": "f5bafe2f-ac4b-42e5-9c23-506b02115060",
"name": "Wordpress Beitragsentwurf",
"type": "n8n-nodes-base.wordpress",
"position": [
340,
20
],
"parameters": {
"title": "={{ $('Topic Chooser and Title Maker').item.json.output.title }}",
"additionalFields": {
"slug": "={{ $('Topic Chooser and Title Maker').item.json.output.slug }}",
"format": "standard",
"status": "publish",
"content": "={{ $json.text }}",
"authorId": 1,
"categories": "={{ $('Topic Chooser and Title Maker').item.json.output.category == \"Technology\" ? [3] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Artificial Intelligence (AI)\" ? [4] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech Fact\" ? [7] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech History\" ? [8] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech Tips\" ? [9] : [1] }}"
}
},
"credentials": {
"wordpressApi": {
"id": "gGfRrkCtaoISRmDr",
"name": "Wordpress account"
}
},
"typeVersion": 1
},
{
"id": "34fcbcf7-a734-4b7d-9421-0371f56de25d",
"name": "OpenAI - Bild generieren",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
540,
20
],
"parameters": {
"prompt": "=Create a highly realistic, natural-looking image that visually represents the blog article titled \"{{ $json.title.raw }}\". The image should be grounded in reality with believable lighting, textures, and composition—avoid fantasy or surreal elements. Focus on lifelike details that a real camera could capture. Do not include any text in the image.",
"options": {
"size": "1024x1024",
"style": "vivid"
},
"resource": "image"
},
"credentials": {
"openAiApi": {
"id": "xgxbqurhU1VXjSge",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "a860c065-448a-44f6-83de-6a739380c731",
"name": "Bild in WP hochladen",
"type": "n8n-nodes-base.httpRequest",
"position": [
740,
20
],
"parameters": {
"url": "https://cartilo.my.id/wp-json/wp/v2/media",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "binaryData",
"sendHeaders": true,
"authentication": "predefinedCredentialType",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "image/png"
},
{
"name": "Content-Disposition",
"value": "=attachment; filename={{$now.toMillis()}}.png"
}
]
},
"inputDataFieldName": "data",
"nodeCredentialType": "wordpressApi"
},
"credentials": {
"wordpressApi": {
"id": "gGfRrkCtaoISRmDr",
"name": "Wordpress account"
}
},
"typeVersion": 4.2
},
{
"id": "638a51ea-dedf-4734-8e12-c1fc0d76b794",
"name": "Wordpress - Beitragsbild festlegen",
"type": "n8n-nodes-base.httpRequest",
"position": [
940,
0
],
"parameters": {
"url": "=https://cartilo.my.id/wp-json/wp/v2/posts/{{ $('Wordpress Post Draft').item.json.id }}",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "predefinedCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "featured_media",
"value": "={{ $json.id }}"
}
]
},
"nodeCredentialType": "wordpressApi"
},
"credentials": {
"wordpressApi": {
"id": "gGfRrkCtaoISRmDr",
"name": "Wordpress account"
}
},
"typeVersion": 4.2
},
{
"id": "cf9ed09e-aca1-496b-8b39-a1290f912bbf",
"name": "Zeitplan-Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-80,
-140
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 3
}
]
}
},
"typeVersion": 1.2
},
{
"id": "3a661537-7bf8-4f05-9869-c2ed0f4f497d",
"name": "Titel, Kategorie, Meta, Keyphrase-Generator",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
340,
-120
],
"parameters": {
"model": "google/gemini-2.5-flash-preview",
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "DPrHlBN0s5WFDxi9",
"name": "OpenRouter account"
}
},
"typeVersion": 1
},
{
"id": "14ac3e7a-5830-4f36-98ce-672c1442cba8",
"name": "An Discord senden mit Webhook-Trigger",
"type": "n8n-nodes-base.discord",
"position": [
1180,
-60
],
"webhookId": "722513b9-8a0c-4ba1-b0ee-c712d8fb0af6",
"parameters": {
"embeds": {
"values": [
{}
]
},
"content": "=Published!\n{{ $json.link }}",
"options": {},
"authentication": "webhook"
},
"credentials": {
"discordWebhookApi": {
"id": "LLZlMnlqvhY0SVaL",
"name": "Discord Webhook account"
}
},
"typeVersion": 2
},
{
"id": "9a1bd821-e55f-4448-b4ba-a827e7a0724c",
"name": "Artikel-Generator",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
660,
-120
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "xgxbqurhU1VXjSge",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "4ef52544-155b-4192-9fe3-243503c3f83e",
"name": "Telegram-Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-180,
-380
],
"webhookId": "a9b697dc-5b4e-418c-83ed-54966ce7ea34",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "7yvBdfOsTDXmqA4b",
"name": "motun8nwpbot"
}
},
"typeVersion": 1.2
},
{
"id": "29fd6900-3f7c-4efa-83bf-93297239c425",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
0,
-380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "3dbc34fc-8457-422f-807e-123b5f16bd0c",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.message.text }}",
"rightValue": "generate"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "89058ee2-9400-4b32-8cf4-d1a5796a003b",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
1180,
160
],
"webhookId": "29c01d67-35b0-4234-92dd-c729fcb6fe7e",
"parameters": {
"text": "=Published!\n\n{{ $json.link }}",
"chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "7yvBdfOsTDXmqA4b",
"name": "motun8nwpbot"
}
},
"typeVersion": 1.2
},
{
"id": "3e8fb441-91eb-4697-840d-9dc0741b43cc",
"name": "Notizzettel",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
-680
],
"parameters": {
"width": 760,
"height": 260,
"content": "## Workflow Description\nThis workflow generates and publishes SEO-optimized WordPress blog posts using AI:\n\n1. Triggers: Runs every 3 hours (Schedule Trigger) or via Telegram ('generate').\n2. Generates a category, title, slug, focus keyphrase, and meta description with OpenRouter.\n3. Writes a 1,500–2,500-word article using OpenAI GPT-4.1-mini.\n4. Publishes the article to WordPress.\n5. Creates a featured image with OpenAI and uploads it.\n6. Notifies Discord and Telegram with the post link."
},
"typeVersion": 1
},
{
"id": "fd604313-c4c8-4d02-b7e9-2fc7229608e2",
"name": "Notizzettel1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
240
],
"parameters": {
"width": 620,
"height": 280,
"content": "## Setup Instructions\nTo use this workflow, set up the following credentials in n8n:\n\n- WordPress API: Provide the URL, username, and password for your WordPress site.\n- OpenAI API: Provide your OpenAI API key.\n- OpenRouter API: Provide your OpenRouter API key.\n- Discord Webhook: Create a webhook in your Discord server and provide the URL.\n- Telegram API: Provide the token for your Telegram bot.\n\nn8n will prompt you to install any missing nodes upon import.\n\n"
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b5690cda-0809-43c5-a799-f6ffe1689389",
"connections": {
"29fd6900-3f7c-4efa-83bf-93297239c425": {
"main": [
[
{
"node": "a7e0b3f7-7b86-4e94-b5c5-104cb92a332f",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "f5bafe2f-ac4b-42e5-9c23-506b02115060",
"type": "main",
"index": 0
}
]
]
},
"cf9ed09e-aca1-496b-8b39-a1290f912bbf": {
"main": [
[
{
"node": "a7e0b3f7-7b86-4e94-b5c5-104cb92a332f",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "29fd6900-3f7c-4efa-83bf-93297239c425",
"type": "main",
"index": 0
}
]
]
},
"9a1bd821-e55f-4448-b4ba-a827e7a0724c": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"a860c065-448a-44f6-83de-6a739380c731": {
"main": [
[
{
"node": "638a51ea-dedf-4734-8e12-c1fc0d76b794",
"type": "main",
"index": 0
}
]
]
},
"f5bafe2f-ac4b-42e5-9c23-506b02115060": {
"main": [
[
{
"node": "34fcbcf7-a734-4b7d-9421-0371f56de25d",
"type": "main",
"index": 0
}
]
]
},
"34fcbcf7-a734-4b7d-9421-0371f56de25d": {
"main": [
[
{
"node": "a860c065-448a-44f6-83de-6a739380c731",
"type": "main",
"index": 0
}
]
]
},
"An Discord senden mit Webhook": {
"main": [
[]
]
},
"a7e0b3f7-7b86-4e94-b5c5-104cb92a332f": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"638a51ea-dedf-4734-8e12-c1fc0d76b794": {
"main": [
[
{
"node": "An Discord senden mit Webhook",
"type": "main",
"index": 0
},
{
"node": "89058ee2-9400-4b32-8cf4-d1a5796a003b",
"type": "main",
"index": 0
}
]
]
},
"3ab3b38b-0627-4a92-a3c2-75776cd896cc": {
"ai_outputParser": [
[
{
"node": "a7e0b3f7-7b86-4e94-b5c5-104cb92a332f",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"3a661537-7bf8-4f05-9869-c2ed0f4f497d": {
"ai_languageModel": [
[
{
"node": "a7e0b3f7-7b86-4e94-b5c5-104cb92a332f",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Experte - Künstliche Intelligenz, Marketing
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Khairul Muhtadin
@khmuhtadinDiesen Workflow teilen