A free guide by Marino Merlini (@marinoautomates)
Founder of Meet Blaine
The 36-Agent Marketing Loop Blueprint
How to wire Claude Code, Notion, Higgsfield, and Slack into a one-person marketing department where nothing posts without your sign-off.
Running a business? We set this up for you. Book a 30-min call
Part 1: The 36-Agent Architecture Map
Instead of one giant prompt that hallucinates, this system splits marketing into 36 narrow micro-agents across 4 modules. Every agent has one job, reads from one shared Notion database, and hands its work to the next.
Module 1: Research & Content (Agents 1 to 10)
Agents 1 to 4 are Trend Spotters and Audience Researchers that scrape outlier videos, competitor hooks, and buyer questions from your CRM calls. Agents 5 to 10 are specialized writers: Short-Form Scriptwriter, LinkedIn Ghostwriter, Newsletter Drafter, Hook Tester, Tone Checker, and Notion Formatter.
Module 2: Creative & Distribution (Agents 11 to 22)
Agents 11 to 16 handle production: Higgsfield Prompt Engineer, B-Roll Generator, Thumbnail Builder, ElevenLabs Voice Cloner, Audio Sync, and Caption Burner. Agents 17 to 22 run the Slack Approval Gate, format ratios for Instagram, TikTok, YouTube, and LinkedIn, schedule approved posts, and draft comment replies in your voice.
Module 3: The Analytics Loop (Agents 23 to 30)
Agents 23 to 26 pull view velocity, watch time, link clicks, and UTM tags across every social channel. Agents 27 to 30 match those UTMs to booked calendar calls and Stripe revenue, score each post by real buyer conversion, and write the winning angles back into Module 1's queue.
Module 4: Claude Code Orchestrator (Agents 31 to 36)
Agents 31 to 36 live inside your Claude Code project setup. They run cron schedules, verify API webhooks, watch for failed renders, sync CRM states, clean up duplicate database rows, and compile your one-page Morning Executive Brief at 7:00 AM.
mkdir marketing-loop && cd marketing-loop npm install -g @anthropic-ai/claude-code claude
Part 2: Module 1: Research & Auto-Drafting in Notion
You never stare at a blank page because Module 1 fills your Notion content calendar overnight. By the time you sit down, trends are researched and scripts are written in your exact cadence.
Set up your Notion Master Queue
Create a database in Notion (https://www.notion.so) with properties for Status (Researching, Draft Ready, Approved, Published, Winner), Channel, Hook, Script Body, Asset URL, and Stripe Revenue. Connect Notion to Claude using the Notion integration token so your agents can read and write rows directly.
Deploy the Trend & Buyer Research Agents
Have your research agents scan two places every night: top-performing posts in your niche from the last 7 days, and objections logged in your sales call transcripts. When an angle shows up in both places, the agent creates a new row in Notion marked 'Researching'.
Run the Multi-Channel Drafting Agents
Once a research row lands, three writing agents trigger in parallel: one writes a 45-second reel script, one writes a text post for LinkedIn, and one drafts a 300-word newsletter section. When all three finish, the status flips to 'Draft Ready'.
You are Agent 05 (Short-Form Scriptwriter). Read all rows in the Notion Content Queue where Status = 'Researching'. Using the voice rules in /brand/voice.md and the buyer question in the row, write a 9-to-11 line vertical video script. Line 1 must state a concrete outcome in plain English. Update the Notion row with the script and flip Status to 'Draft Ready'.
Part 3: Module 2: Creative Studio & The Slack Approval Gate
Once a script is marked 'Draft Ready' in Notion, creative agents build the video and audio assets automatically. Nothing ever publishes on its own: every piece stops at a Slack approval button on your phone.
Connect the Higgsfield MCP for Visuals
Sign into your account at Higgsfield AI (https://higgsfield.ai) with active generation credits and connect the hosted Higgsfield MCP (https://mcp.higgsfield.ai) inside Claude. This gives your creative agents access to 35+ image and video generation tools, camera motion controls, and character consistency right from your prompt.
Generate Narration in ElevenLabs
Your audio agent sends the approved script text to the ElevenLabs API (https://elevenlabs.io) using your cloned voice ID. It saves the rendered MP3 alongside the Higgsfield B-roll clips and attaches both links to the Notion row.
Wire the 100% Human Sign-off in Slack
Configure an incoming webhook and interactive button in Slack (https://slack.com). When the video and voiceover finish rendering, the Slack Gate Agent posts the preview clip, caption, and two buttons ('Approve & Publish' or 'Send Back with Notes') to your #content-approvals channel.
You are Agent 12 (Visual Producer). For every Notion row where Status = 'Draft Ready', call the Higgsfield MCP (https://mcp.higgsfield.ai) to generate three 5-second visual B-roll clips matching the script's visual cues, then call ElevenLabs to render the voiceover. Post the preview bundle to the Slack #content-approvals webhook and wait for human button click.
Part 4: Module 3: The Revenue & Analytics Loop
Most creators track views, which is why they go broke with high reach. Module 3 connects your content directly to booked calls and Stripe payments, then feeds the winners back into next week's research.
Tag Every Link and Keyword CTA
When the distribution agents publish an approved post or DM a guide link, they attach a unique post ID to the URL. That ID follows the lead into your calendar booking form and CRM.
Match Content to Stripe Revenue
Your attribution agent queries the Stripe API (https://stripe.com) every night to check new customer payments and lifetime value against the post IDs stored in your CRM. It writes the exact dollar amount and booked call count back into that post's row in Notion.
Auto-Feed Winners into Next Week's Queue
Every Sunday night, the Loop Agent filters your Notion database for the top 20% of posts that drove booked calls or Stripe revenue. It extracts their hook structure and topic, then creates 5 new 'Researching' rows at the top of Module 1 for Monday morning.
You are Agent 29 (Revenue Loop Analyst). Query Stripe and CRM records from the last 7 days, match customer email metadata to Notion Post IDs, and update the 'Booked Calls' and 'Stripe Revenue' columns in Notion. For any post with >1 booked call, generate 3 follow-up topic variations and insert them at the top of the Notion queue as 'Researching'.
Part 5: Module 4: Claude Code Orchestration & The Morning Brief
Claude Code (https://github.com/anthropics/claude-code), which now has over 17M weekly downloads on npm, acts as the chief of staff over all 36 agents. Every morning, it hands you one clean summary page so you know what worked, what is booked, and what needs your approval.
Create Your Master CLAUDE.md File
In the root of your project folder, create a CLAUDE.md file that lists all 36 agent markdown files, your Notion database IDs, your Slack webhook URL, and your safety rules (Rule 1: Never publish to social channels without a verified Slack approval payload).
Automate the Morning Executive Brief
Set Agent 36 to run every morning at 7:00 AM via a scheduled task. It reads yesterday's published posts, today's calendar bookings, Stripe revenue attributed to content, and the 3 drafts waiting in Slack, then formats a single one-page brief in Notion and pings you in Slack.
You are the Claude Code Orchestrator (Agent 36). Read Notion, CRM bookings, and Stripe events from the last 24 hours. Generate a one-page 'Morning Executive Brief' with four bulleted sections: 1. Revenue & Calls Attributed Yesterday, 2. Top Performing Post & Why, 3. Drafts Waiting for Slack Approval Today, 4. Next 3 Topics Queued in Module 1. Post the summary to Slack #morning-brief.
Mistakes to avoid
- Letting agents post autonomously without a Slack approval button. Always keep 100% human sign-off before anything hits a public channel.
- Building one giant mega-prompt instead of modular micro-agents. When an agent only has one job (like writing hooks or checking Stripe UTMs), it rarely breaks and is easy to fix.
- Feeding high-view posts back into the loop instead of high-revenue posts. Connect Stripe and your calendar so the loop optimizes for buyers, not just eyeballs.
- Forgetting to fund or authenticate your Higgsfield AI account before calling the Higgsfield MCP (mcp.higgsfield.ai), which causes the creative pipeline to stall on video renders.
Watch the video
Watch on Instagram
Want this built for you?
At Meet Blaine, my team builds custom AI employees and multi-agent loops for 7, 8, and 9-figure companies. We plug directly into the software you already use, implement the entire architecture for you, and stay on to maintain it. If you want us to map out what this looks like inside your business, grab a demo call at meetblaine.com.
- You walk us through your week. Where the hours go and what keeps falling through.
- We show you what to hand off first. Which jobs an AI employee can take over, and what stays with you.
- You leave with a clear next step. Whether or not we end up working together.
Calendar not loading? Open it in a new page
Book a 30-min call: api.leadconnectorhq.com