Level 3Enterprise Playbook

The Multi-Agent Marketing Swarm

Setup Time: 1 week
Est. API Cost: ~$80–$150/mo
Client Price: $2,000–$10,000

Comprehensive marketing requires five distinct functions operating in parallel: content creation, social media management, email marketing, lead generation, and performance analytics. Staffing all five costs $8,000–$15,000 per month in salaries and agency fees. Most businesses cannot sustain that investment — so they pick two or three functions, under-resource them, and wonder why their marketing fails to compound. The real problem is not budget. It is that these five functions have always required five people. Until now they do not. 🤖 AGENT ARCHITECTURE

Follow the exact steps below to configure and deploy this automation inside your OpenClaw workspace.

  1. 1Create a new multi-agent array named `marketing-swarm` — this architecture requires six distinct Prompts (one Orchestrator and five sub-agents).
  2. 2Configure the Orchestrator agent's `BRAND_CONTEXT` section: this single Prompt Architecture cascades brand voice, audience definitions, and strategic priorities to all five sub-agents automatically. You configure brand context once — all five agents inherit it.
  3. 3Connect the five integration layers: CMS (content scheduling), social platforms (4× OAuth connections), email platform (Mailchimp, Klaviyo, or ActiveCampaign API), CRM (lead destination), and analytics (Google Analytics 4 + ad platform APIs for the Analytics Agent).
  4. 4Run the Orchestrator in `--dry-run` mode to confirm all five sub-agents initialise correctly and receive the cascaded brand context. Check the inter-agent communication log to verify the Orchestrator is routing tasks correctly before any live API calls.
  5. 5Schedule the Orchestrator: `openclaw schedule marketing-swarm --cron "0 7 * * 0"` for Sunday 07:00. Review and approve the weekly strategy memo before it cascades to sub-agents. This single 20-minute review is your human oversight point for the entire marketing operation.

Save this file as: .openclaw/agents/the-multi-agent-marketing-swarm/context.json

context.json
context payload
{
  "automation_id": "21",
  "title": "The Multi-Agent Marketing Swarm",
  "level": 3,
  "tier": "Enterprise Playbook",
  "setup_time": "1 week",
  "estimated_api_cost": "~$80–$150/mo",
  "client_price_range": "$2,000–$10,000",
  "agents": [
    {
      "role": "orchestrator",
      "model": "claude-3-5-sonnet",
      "temperature": 0.2,
      "max_tokens": 4096
    }
  ],
  "memory": "session",
  "output_format": "structured_json",
  "human_review_gate": true,
  "documentation_standard": "required"
}

Run these commands from your openclaw-workshop/ directory to validate, test, and schedule this automation. Commands are taken directly from The OpenClaw Income Engine, Appendix G.

terminal
execution commands
# ── STEP 1: Validate Orchestrator brand context ──
$ openclaw run marketing-swarm --orchestrator-check --verbose
$ 
# ── STEP 2: Run inter-agent communication test (no live API calls) ──
$ openclaw test marketing-swarm --orchestrator marketing-swarm-controller \
$   --agents ./skills/21-marketing-swarm/agents/ --dry-run --log-level verbose
# Expected: 6 green checkmarks. Any red — fix before proceeding.
$ 
# ── STEP 3: Validate each integration layer individually ──
$ openclaw run marketing-swarm --test-agent content_agent
$ openclaw run marketing-swarm --test-agent social_agent
$ openclaw run marketing-swarm --test-agent email_agent
$ openclaw run marketing-swarm --test-agent lead_gen_agent
$ openclaw run marketing-swarm --test-agent analytics_agent
$ 
# ── STEP 4: First supervised run — generate strategy memo only ──
$ openclaw run marketing-swarm --phase orchestrator-only
$ 
# ── STEP 5: Approve memo and cascade to sub-agents ──
$ openclaw approve marketing-swarm --memo-id <id> --action cascade
$ 
# ── STEP 6: Schedule full weekly swarm ──
$ openclaw schedule marketing-swarm --cron "0 7 * * 0"
$ 
# ── Check inter-agent communication log ──
$ openclaw run marketing-swarm --log --tail 100
$ 
# ── Refresh expired social tokens (run before 60-day expiry) ──
$ openclaw auth social --platform linkedin --refresh
$ openclaw auth social --platform instagram --refresh

Automation Stats

  • Automation#21 / 30
  • LevelLevel 3
  • TierEnterprise Playbook
  • Setup Time1 week
  • API Cost~$80–$150/mo
  • Client Price$2,000–$10,000

Full Deployment Guide

Get the complete step-by-step playbook, all 30 context payloads, engineered prompt files, and the full technical deployment appendix in Book 2.

Get the Book