Marketing Plan & Implement Agent
Two-phase marketing agent with brand context: Stage 0 extracts brand info from URL or manual input, planning phase gathers requirements and creates a plan with todos, implementation phase executes the plan using web scraping and research tools. Uses callOptionsSchema + prepareCall for dynamic agent configuration.
View Full Pattern on Desktop

Problems Solved
- Two-phase marketing workflow (plan then implement)
- Interactive plan building through conversation
- Automated research and web scraping during implementation
- Structured todo list generation with dependencies
- Real-time progress visualization for agent tools
- Human-in-the-loop approval for plans
- Stage management between planning and implementation
- Dynamic agent configuration via callOptionsSchema and prepareCall
- Passing runtime context to tools via experimental_context
- Brand context extraction from URLs using Cheerio
Use Cases
- Marketing campaign planning and execution
- Competitor research and analysis
- Content marketing strategy development
- SEO research and implementation
- Market trend analysis
- Brand positioning research
AI SDK APIs
Tags
Requirements
- Node.js
- 18+
- Memory
- 512MB
- Other
- OpenAI API key
- Firecrawl API key
External Services
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View PatternView Pattern on DesktopRelated Patterns


Accessibility Audit Agent
Audit any website for WCAG 2.1 accessibility compliance using Firecrawl, then use AI tools to analyze issues by severity, check color contrast, validate heading structure, generate alt text, and create prioritized remediation plans with visual tool outputs.


Branding Agent
Extract brand design systems from any website using Firecrawl, then use AI tools to export tokens, generate color palettes, check accessibility, and analyze brand personality.


Competitor Research Agent
Enter a competitor URL to get comprehensive competitive intelligence. Uses Firecrawl Map + Parallel Scrape for fast extraction (~3-5s). Analyzes positioning, pricing, features, tech stack, and generates sales battle cards.


Data Analysis Agent
Upload CSV or JSON data and get AI-powered analysis with interactive visualizations. Detect patterns, correlations, outliers, and generate insights with confidence scores. Export comprehensive reports.