Multi-Version-Inhalts-Generator mit AI-Bewertung und Präferenz-Rangfolge für Advocacy
Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 11 Nodes. Hauptsächlich werden SplitOut, Aggregate, ExecuteWorkflow, ExecuteWorkflowTrigger, LmChatOpenRouter und andere Nodes verwendet. Erstellen und bewerten Sie Inhalte zur Interessenvertretung von Tieren mit Claude AI, Open Paws und Hugging Face
- •Keine besonderen Voraussetzungen, sofort nach Import nutzbar
Verwendete Nodes (11)
Kategorie
{
"id": "BemMdzpvedBEQKot",
"meta": {
"instanceId": "26bd595441827fb23edb0643d6d240e79b0b8993d278e90950f16e18bf9e3c4a"
},
"name": " Multi-Version Content Generator with AI Scoring & Advocacy Preference Ranking",
"tags": [],
"nodes": [
{
"id": "ed9ebb62-1111-4d13-9170-8e01b5c34e06",
"name": "OpenRouter Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
340,
220
],
"parameters": {
"model": "anthropic/claude-sonnet-4",
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "QqgKARn52qQiKICN",
"name": "OpenRouter account"
}
},
"typeVersion": 1
},
{
"id": "092e08c1-1794-4c52-8081-f128e404e155",
"name": "Inhalt erstellen",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
200,
0
],
"parameters": {
"options": {},
"workflowId": {
"__rl": true,
"mode": "list",
"value": "k053fXGjIF7dUIQZ",
"cachedResultName": "♻️ 🧩 📚 General Research Agent"
},
"workflowInputs": {
"value": {
"chatInput": "=# INSTRUCTIONS\n\nYou will research the topic using Serper (Google search) or the Open Paws database. After your research, generate content as described below.\n\nCreate 10 different full-length versions of the content type specified by the user.\n\nContent type: {{ $json.contentType }} \nPoster’s profile description: {{ $json['Poster’s profile description'] }} \nTone (e.g., formal, casual, friendly): {{ $json['Tone (e.g., formal, casual, friendly)'] }} \nStyle (e.g., concise, detailed, persuasive): {{ $json['Style (e.g., concise, detailed, persuasive)'] }} \nTopic / Instructions: {{ $json['Topic or Instructions'] }}\n\nYour final response must be a JSON array of exactly 5 objects. Each object should have a `\"text\"` key with the complete, fully written content as the value.\n\n# VERY IMPORTANT\n\n- Always write full content — if it’s a blog post, write full posts, not just titles. For emails, include subject lines and full bodies. \n- Use BB-code formatting, NOT markdown. \n- Format content according to the specified content type and style. \n- Do not include example or placeholder links. Any URLs must be real and found via Serper, Open Paws, or social media tools during your research. \n- Use only one tool call to generate high-quality content quickly — avoid multiple searches or iterations.",
"sessionId": "={{ (Math.random().toString(36).substring(2) + Date.now().toString(36)) }}"
},
"schema": [
{
"id": "chatInput",
"type": "string",
"display": true,
"required": false,
"displayName": "chatInput",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "sessionId",
"type": "string",
"display": true,
"required": false,
"displayName": "sessionId",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
}
},
"typeVersion": 1.2
},
{
"id": "e1175f51-e7d2-4be1-9271-9566078fc034",
"name": "Inhalt extrahieren",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
380,
0
],
"parameters": {
"text": "={{ $json.output }}",
"options": {
"systemPromptTemplate": "=CRITICAL: Begin your response directly with an opening curly bracket.\n\nDO NOT begin your response with ```json, backticks, code blocks or any preamble or indication that you are about to return code.\n\nONLY return the code itself directly beginning with an opening curly bracket\n\nIMPORTANT: return exactly 10 variations of the text in your given array, exactly as they appear in the user query\n\nUse the kind of text formatting or styling that is typical of the following content type: {{ $('When Executed by Another Workflow').item.json.contentType }}"
},
"schemaType": "fromJson",
"jsonSchemaExample": "[\n {\n\t\"text\": \"caption1\"\n },\n {\n\t\"text\": \"caption2\"\n }\n]"
},
"typeVersion": 1.2
},
{
"id": "cf7b3f39-7f72-48af-9cf9-c7583b339fbe",
"name": "Inhalt aufteilen",
"type": "n8n-nodes-base.splitOut",
"position": [
720,
0
],
"parameters": {
"options": {},
"fieldToSplitOut": "output"
},
"typeVersion": 1
},
{
"id": "24ea78e2-f4f1-40ec-8bcd-11862dac89eb",
"name": "Bei Ausführung durch anderen Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
0,
0
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "contentType"
},
{
"name": "Poster’s profile description"
},
{
"name": "Tone (e.g., formal, casual, friendly)"
},
{
"name": "Style (e.g., concise, detailed, persuasive)"
},
{
"name": "Topic or Instructions"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "8420b516-c23e-4c3e-a151-3b0a2dae37e3",
"name": "Haftnotiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
-360,
-380
],
"parameters": {
"width": 280,
"height": 580,
"content": "# 📝 User Input Configuration\n\n- Fill in these fields to customize the content generation: \n • **Content type:** Specify the type of content to generate (e.g., blog post, email newsletter, social media caption) \n • **Poster’s profile description:** Brief description of the poster or target audience for the content \n • **Tone (e.g., formal, casual, friendly):** Desired tone of the content \n • **Style (e.g., concise, detailed, persuasive):** Writing style preferences \n • **Topic or Instructions:** Describe the main subject or specific instructions for the content\n\n- Clear and accurate inputs help guide the research and writing process effectively.\n"
},
"typeVersion": 1
},
{
"id": "efc808fe-a306-42aa-8443-ce2a17316fd6",
"name": "Haftnotiz1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
-320
],
"parameters": {
"width": 460,
"height": 260,
"content": "# 🔍 Research Agent Usage\n\n- This node calls the [Multi-tool Research Agent subworkflow](https://n8n.io/workflows/5588-multi-tool-research-agent-for-animal-advocacy-with-openrouter-serper-and-open-paws-db/) which: \n • Performs focused research using Serper and the Open Paws database \n • Gathers relevant, up-to-date information on the specified topic or organization \n • Generates the full written content based on the research and user inputs"
},
"typeVersion": 1
},
{
"id": "64d7c2de-de78-4972-912e-23eb03f60409",
"name": "Text bewerten",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
940,
0
],
"parameters": {
"mode": "each",
"options": {},
"workflowId": {
"__rl": true,
"mode": "list",
"value": "RyxYPLmF5sWDhC2Z",
"cachedResultName": "✅ 🧩 📚 Score Text"
},
"workflowInputs": {
"value": {
"text": "={{ $json.text }}"
},
"schema": [
{
"id": "text",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "text",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"text"
],
"attemptToConvertTypes": false,
"convertFieldsToString": true
}
},
"typeVersion": 1.2
},
{
"id": "6ae0dbcc-fada-44f3-933e-a0cdabb09da7",
"name": "Aggregieren",
"type": "n8n-nodes-base.aggregate",
"position": [
1160,
0
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "d386279d-8386-4369-ac91-5f8f8b502899",
"name": "Haftnotiz2",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
-460
],
"parameters": {
"width": 560,
"height": 400,
"content": "# 📊 Text Scoring and Evaluation\n\n- This node calls the [Evaluate Animal Advocacy Text subworkflow](https://n8n.io/workflows/5587-evaluate-animal-advocacy-text-with-hugging-face-open-paws-ai-models/) to: \n • Analyze each content variation’s effectiveness using Open Paws AI models \n • Score text based on real-world performance data from social media and email marketing campaigns \n • Incorporate animal advocates’ rankings on metrics such as: \n - Impact on animal welfare \n - Persuasiveness \n - Emotional resonance \n - Clarity and engagement \n\n- The scoring helps identify the most effective and high-impact content variations for advocacy outreach. \n- Uses Hugging Face models fine-tuned on relevant datasets to predict audience response and optimize messaging.\n"
},
"typeVersion": 1
},
{
"id": "f2d4d944-a334-4041-bea0-a0daa639547b",
"name": "Haftnotiz3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1140,
-440
],
"parameters": {
"width": 540,
"height": 380,
"content": "# 📦 Final Aggregation & Output\n\n- This node combines the content variations with their corresponding: \n • Performance scores (based on real-world analytics) \n • Prediction scores (from Open Paws preference models tuned by animal advocates)\n\n- Designed as a subworkflow output, enabling seamless integration into other n8n flows for: \n • Automated posting of top-performing content \n • AI agent decision-making on content selection \n • Scheduling and managing advocacy campaigns with data-driven messaging \n\n- Empowers users to maximize impact by prioritizing content proven effective and favored by animal advocacy experts.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {
"When Executed by Another Workflow": [
{
"json": {
"contentType": "email newsletter",
"Topic or Instructions": "Explain recent advances in animal welfare legislation and how readers can support the movement.",
"Poster’s profile description": "a passionate animal welfare advocate",
"Tone (e.g., formal, casual, friendly)": "friendly",
"Style (e.g., concise, detailed, persuasive)": "persuasive"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "7380fdb5-5d09-4554-b80b-977d3223e0b8",
"connections": {
"64d7c2de-de78-4972-912e-23eb03f60409": {
"main": [
[
{
"node": "6ae0dbcc-fada-44f3-933e-a0cdabb09da7",
"type": "main",
"index": 0
}
]
]
},
"092e08c1-1794-4c52-8081-f128e404e155": {
"main": [
[
{
"node": "e1175f51-e7d2-4be1-9271-9566078fc034",
"type": "main",
"index": 0
}
]
]
},
"e1175f51-e7d2-4be1-9271-9566078fc034": {
"main": [
[
{
"node": "cf7b3f39-7f72-48af-9cf9-c7583b339fbe",
"type": "main",
"index": 0
}
]
]
},
"cf7b3f39-7f72-48af-9cf9-c7583b339fbe": {
"main": [
[
{
"node": "64d7c2de-de78-4972-912e-23eb03f60409",
"type": "main",
"index": 0
}
]
]
},
"ed9ebb62-1111-4d13-9170-8e01b5c34e06": {
"ai_languageModel": [
[
{
"node": "e1175f51-e7d2-4be1-9271-9566078fc034",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"24ea78e2-f4f1-40ec-8bcd-11862dac89eb": {
"main": [
[
{
"node": "092e08c1-1794-4c52-8081-f128e404e155",
"type": "main",
"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?
Fortgeschritten - Content-Erstellung, Multimodales KI
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
Open Paws
@openpawsOpen Paws is a nonprofit building open-source AI tools to accelerate animal advocacy. We create machine learning models and automation workflows trained on real-world campaign data to help end industrial animal exploitation. All tools are free, transparent, and designed for real-world impact.
Diesen Workflow teilen