{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "92da8211-5d45-465f-a8c9-5bb000d7ce05",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2864,
        -576
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "342b0843-15d7-4f62-8a6d-5ef82fe03dd8",
      "name": "CMO Agent",
      "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": "Copywriter Agent",
      "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": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2208,
        368
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "94ebb27d-22da-473c-95de-f2a5034dd61c",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2672,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "o3",
          "cachedResultName": "o3"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ef34bd91-3b12-4638-bf9e-72f1043798c3",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "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": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1824,
        -144
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "47def529-ad89-4f05-857d-6903ce14fb81",
      "name": "Email 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": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1328,
        96
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "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": "OpenAI Chat Model5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1776,
        -768
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "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": "OpenAI Chat Model6",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -944
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c3ef94e0-de02-4fe8-b526-9b1a3533629b",
      "name": "Sticky Note9",
      "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": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -544
      ],
      "parameters": {
        "color": 4,
        "width": 740,
        "height": 3928,
        "content": "## \ud83e\udd16 **CMO AGENT WITH FULL MARKETING TEAM - AI WORKFLOW**\n\n**\ud83d\udd25 Powered by OpenAI O3 & GPT-4.1-mini Multi-Agent System**\n\n#AIMarketing #MarketingAutomation #n8nWorkflows #OpenAI #MultiAgentSystem\n\n---\n\n### \ud83d\udcdd **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**\ud83c\udfaf 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### \ud83d\ude80 **Quick Start Setup**\n\n1. **\ud83d\udd11 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. **\ud83c\udf10 Deploy Webhook**\n   - Copy the webhook URL from chat trigger\n   - Test with simple marketing questions\n   - Monitor execution in n8n interface\n\n3. **\ud83d\udcac 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### \ud83d\udc65 **Marketing Team Structure**\n\n**\ud83c\udfaf 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**\u270d\ufe0f 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**\ud83d\udcf1 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**\ud83d\udd0d 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**\ud83d\udce7 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**\ud83d\udcf2 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**\ud83c\udfa8 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### \ud83d\udca1 **Real-World Use Cases**\n\n**\ud83d\ude80 Product Launch Campaign**\n\"Create a complete product launch campaign for our new SaaS tool\"\n- CMO creates strategy \u2192 Copywriter drafts landing page \u2192 Email specialist creates drip campaign \u2192 Social media manager plans launch posts\n\n**\ud83d\udcdd Content Marketing Sprint**\n\"Generate a month of SEO blog posts about AI automation\"\n- CMO plans topics \u2192 SEO writer creates optimized posts \u2192 Social media manager creates promotion posts \u2192 Email specialist creates newsletter\n\n**\ud83c\udfaf Social Media Blitz**\n\"Create viral content for our Black Friday sale\"\n- CMO sets objectives \u2192 Social media manager creates platform-specific content \u2192 Facebook ads writer creates ad variations \u2192 Brand voice ensures consistency\n\n**\ud83d\udce7 Email Funnel Creation**\n\"Build a 7-day onboarding email sequence\"\n- CMO outlines customer journey \u2192 Email specialist writes sequence \u2192 Copywriter enhances CTAs \u2192 Brand voice maintains tone\n\n**\ud83d\udd0d SEO Content Strategy**\n\"Improve our website's organic traffic\"\n- CMO analyzes gaps \u2192 SEO writer creates pillar content \u2192 Copywriter enhances readability \u2192 Social media promotes content\n\n---\n\n### \u2699\ufe0f **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**\ud83d\udcb0 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### \ud83d\udd27 **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### \ud83d\udcca **Expected Results**\n\n- **\u26a1 Speed**: Complete marketing tasks 10x faster\n- **\ud83d\udc8e Quality**: Professional-grade content every time\n- **\ud83d\udd04 Consistency**: Unified brand voice across channels\n- **\ud83d\udcc8 Scale**: Handle multiple campaigns simultaneously\n- **\ud83d\udcb0 ROI**: Reduce content creation costs by 80%\n\n---\n\n### \ud83c\udff7\ufe0f **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
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Copywriter Agent": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Copywriter Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Facebook ads Copywriter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "SEO Content Writer",
            "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": "Social Media Manager",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "Brand Voice Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SEO Content Writer": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Social Media Manager": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Brand Voice Specialist": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Facebook ads Copywriter": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Email Marketing Specialist": {
      "ai_tool": [
        [
          {
            "node": "CMO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "CMO Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}