Construir un equipo de marketing de IA basado en OpenAI O3 y GPT-4.1-mini para la creación automatizada de contenido

Avanzado

Este es unContent Creation, AI Chatbotflujo de automatización del dominio deautomatización que contiene 18 nodos.Utiliza principalmente nodos como Agent, AgentTool, ToolThink, ChatTrigger, LmChatOpenAi. Construir un equipo de marketing de IA basado en OpenAI O3 y GPT-4.1-mini para la creación automatizada de contenido

Requisitos previos
  • Clave de API de OpenAI
Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "meta": {
    "instanceId": "12e6f290a974a1eee154f8d915aade185e90e826260e6aeab8a087ba7386a1bc",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "92da8211-5d45-465f-a8c9-5bb000d7ce05",
      "name": "Al recibir mensaje de chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2864,
        -576
      ],
      "webhookId": "ae1ab708-881f-4462-8bf3-967eb0c219f9",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "342b0843-15d7-4f62-8a6d-5ef82fe03dd8",
      "name": "Agentee de CMO",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2640,
        -816
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2.1
    },
    {
      "id": "b02e8c9d-7a33-4c7e-a4ff-618d3b115711",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -2512,
        -496
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a5d31991-4bbb-4cf3-bfc7-ed1a756e6455",
      "name": "Agentee de Copywriter",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -2240,
        -96
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in writing copy whenver you need to write copy"
      },
      "typeVersion": 2.2
    },
    {
      "id": "58e19949-145c-4bdb-ad2b-82fdfd356c21",
      "name": "Modelo de chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2208,
        368
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "94ebb27d-22da-473c-95de-f2a5034dd61c",
      "name": "Modelo de chat OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2672,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "o3",
          "cachedResultName": "o3"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ef34bd91-3b12-4638-bf9e-72f1043798c3",
      "name": "Modelo de chat OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "a36019e0-0b00-41f9-9b27-4461900fc949",
      "name": "Facebook ads Copywriter",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1280,
        -704
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in writing Facebook ads copy whenver you need to write Facebook ads copy"
      },
      "typeVersion": 2.2
    },
    {
      "id": "1d0dc13d-a0e5-4aef-856b-2e42371a0bfc",
      "name": "SEO Content Writer",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1840,
        -304
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in SEO content optimization, keyword research, and writing SEO-friendly content"
      },
      "typeVersion": 2.2
    },
    {
      "id": "b2fcab88-76ab-4d8e-8c72-a8159d006c72",
      "name": "Modelo de chat OpenAI3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1824,
        -144
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "47def529-ad89-4f05-857d-6903ce14fb81",
      "name": "Correo electrónico Marketing Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1328,
        -80
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in email marketing campaigns, newsletters, and email sequence writing"
      },
      "typeVersion": 2.2
    },
    {
      "id": "cc8342da-8df2-4072-b6d1-8a058ea3f712",
      "name": "Modelo de chat OpenAI4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1328,
        96
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "877450ee-1eac-4a73-ad5b-47ddbbe3381e",
      "name": "Social Media Manager",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1744,
        -1024
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in social media content creation for all platforms (Twitter, LinkedIn, Instagram, TikTok)"
      },
      "typeVersion": 2.2
    },
    {
      "id": "ec4da24e-f1dc-4749-b03b-5edcd9ecf061",
      "name": "Modelo de chat OpenAI5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1776,
        -768
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "41652593-78c9-40f0-ab38-adaf345cc1fb",
      "name": "Brand Voice Specialist",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1344,
        -1264
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in maintaining brand voice consistency and creating brand guidelines"
      },
      "typeVersion": 2.2
    },
    {
      "id": "8a29c24c-932e-46c1-a050-ac52a20ee968",
      "name": "Modelo de chat OpenAI6",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -944
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BbTwqBymI7opVkuO",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c3ef94e0-de02-4fe8-b526-9b1a3533629b",
      "name": "Nota adhesiva9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -880
      ],
      "parameters": {
        "color": 4,
        "width": 580,
        "height": 320,
        "content": "=======================================\n        CMO AGENT WITH MARKETING TEAM\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "d69d8914-a41e-4ae7-a076-267beec814cb",
      "name": "Nota adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -544
      ],
      "parameters": {
        "color": 4,
        "width": 740,
        "height": 3928,
        "content": "## 🤖 **CMO AGENT WITH FULL MARKETING TEAM - AI WORKFLOW**\n\n**🔥 Powered by OpenAI O3 & GPT-4.1-mini Multi-Agent System**\n\n#AIMarketing #MarketingAutomation #n8nWorkflows #OpenAI #MultiAgentSystem\n\n---\n\n### 📝 **Workflow Overview**\n\nThis workflow creates a complete AI-powered marketing department with a **Chief Marketing Officer** orchestrating specialized team members. Each agent has unique capabilities tailored for specific marketing tasks, enabling comprehensive marketing automation.\n\n**🎯 What This Workflow Does:**\n- Provides a conversational AI marketing team accessible via chat\n- CMO Agent analyzes requests and delegates to appropriate specialists\n- Each specialist delivers expert-level outputs in their domain\n- Maintains consistent brand voice across all content\n\n---\n\n### 🚀 **Quick Start Setup**\n\n1. **🔑 Configure Credentials**\n   - Add your OpenAI API key to all chat models\n   - Ensure sufficient API credits for O3 model usage\n   - Test each agent connection individually\n\n2. **🌐 Deploy Webhook**\n   - Copy the webhook URL from chat trigger\n   - Test with simple marketing questions\n   - Monitor execution in n8n interface\n\n3. **💬 Start Using**\n   - Ask the CMO for any marketing task\n   - Be specific about your requirements\n   - Let the team collaborate on complex projects\n\n---\n\n### 👥 **Marketing Team Structure**\n\n**🎯 CMO Agent** (O3 Model - Premium)\n- Strategic marketing oversight & planning\n- Task delegation to specialized agents\n- High-level decision making\n- Complex reasoning & strategy\n- *Cost: High | Latency: ~3-5s*\n\n**✍️ Copywriter Agent** (GPT-4.1-mini)\n- General marketing copy & content\n- Product descriptions & landing pages\n- Brand storytelling & narratives\n- *Cost: Low | Latency: <1s*\n\n**📱 Facebook Ads Copywriter** (GPT-4.1-mini)\n- Social media ad copy optimization\n- A/B testing variations\n- Audience-specific messaging\n- *Cost: Low | Latency: <1s*\n\n**🔍 SEO Content Writer** (GPT-4.1-mini)\n- Search-optimized blog posts\n- Keyword research & integration\n- Meta descriptions & titles\n- *Cost: Low | Latency: <1s*\n\n**📧 Email Marketing Specialist** (GPT-4.1-mini)\n- Email campaign sequences\n- Newsletter content creation\n- Subject line optimization\n- *Cost: Low | Latency: <1s*\n\n**📲 Social Media Manager** (GPT-4.1-mini)\n- Multi-platform content calendar\n- Platform-specific content (Twitter/X, LinkedIn, Instagram, TikTok)\n- Hashtag research & trending topics\n- *Cost: Low | Latency: <1s*\n\n**🎨 Brand Voice Specialist** (GPT-4.1-mini)\n- Brand consistency enforcement\n- Style guide creation & maintenance\n- Tone & voice alignment\n- *Cost: Low | Latency: <1s*\n\n---\n\n### 💡 **Real-World Use Cases**\n\n**🚀 Product Launch Campaign**\n\"Create a complete product launch campaign for our new SaaS tool\"\n- CMO creates strategy → Copywriter drafts landing page → Email specialist creates drip campaign → Social media manager plans launch posts\n\n**📝 Content Marketing Sprint**\n\"Generate a month of SEO blog posts about AI automation\"\n- CMO plans topics → SEO writer creates optimized posts → Social media manager creates promotion posts → Email specialist creates newsletter\n\n**🎯 Social Media Blitz**\n\"Create viral content for our Black Friday sale\"\n- CMO sets objectives → Social media manager creates platform-specific content → Facebook ads writer creates ad variations → Brand voice ensures consistency\n\n**📧 Email Funnel Creation**\n\"Build a 7-day onboarding email sequence\"\n- CMO outlines customer journey → Email specialist writes sequence → Copywriter enhances CTAs → Brand voice maintains tone\n\n**🔍 SEO Content Strategy**\n\"Improve our website's organic traffic\"\n- CMO analyzes gaps → SEO writer creates pillar content → Copywriter enhances readability → Social media promotes content\n\n---\n\n### ⚙️ **Model Selection Strategy**\n\n**Why O3 for CMO?**\n- Advanced reasoning for complex strategies\n- Better understanding of business context\n- Superior task delegation decisions\n- Worth the cost for strategic thinking\n\n**Why GPT-4.1-mini for Specialists?**\n- Excellent cost-performance ratio\n- Sub-second response times\n- Sufficient for focused tasks\n- Allows parallel processing of multiple agents\n\n**💰 Cost Optimization Tips:**\n- Use O3 sparingly for high-level strategy\n- Batch similar requests to specialists\n- Cache common responses\n- Monitor token usage in OpenAI dashboard\n\n---\n\n### 🔧 **Advanced Configuration**\n\n**Customizing Agent Prompts:**\n- Edit tool descriptions for specific brand voice\n- Add industry-specific context\n- Include company guidelines in prompts\n- Reference existing content examples\n\n**Performance Tuning:**\n- Adjust temperature settings per agent\n- Implement token limits for cost control\n- Add timeout handling for long tasks\n- Enable streaming for real-time feedback\n\n---\n\n### 📊 **Expected Results**\n\n- **⚡ Speed**: Complete marketing tasks 10x faster\n- **💎 Quality**: Professional-grade content every time\n- **🔄 Consistency**: Unified brand voice across channels\n- **📈 Scale**: Handle multiple campaigns simultaneously\n- **💰 ROI**: Reduce content creation costs by 80%\n\n---\n\n### 🏷️ **Tags & Keywords**\n\n#AIMarketing #MarketingAutomation #n8n #OpenAI #ChatGPT #O3Model #ContentMarketing #EmailMarketing #SEO #SocialMediaMarketing #BrandVoice #MarketingAI #WorkflowAutomation #DigitalMarketing #MarTech #AIAgents #MultiAgentSystem #ContentCreation #MarketingStrategy #Copywriting"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "b02e8c9d-7a33-4c7e-a4ff-618d3b115711": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Agente de Copywriter": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Agente de Copywriter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "a36019e0-0b00-41f9-9b27-4461900fc949",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "1d0dc13d-a0e5-4aef-856b-2e42371a0bfc",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Email Marketing Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "877450ee-1eac-4a73-ad5b-47ddbbe3381e",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "41652593-78c9-40f0-ab38-adaf345cc1fb",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "1d0dc13d-a0e5-4aef-856b-2e42371a0bfc": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "877450ee-1eac-4a73-ad5b-47ddbbe3381e": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "41652593-78c9-40f0-ab38-adaf345cc1fb": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "a36019e0-0b00-41f9-9b27-4461900fc949": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Email Marketing Specialist": {
      "ai_tool": [
        [
          {
            "node": "Agente de CMO",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Agente de CMO",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Avanzado - Creación de contenido, Chatbot de IA

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Flujos de trabajo relacionados recomendados

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos18
Categoría2
Tipos de nodos6
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Autor
Yaron Been

Yaron Been

@yaron-nofluff

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34