# Design: Marketing Intelligence Co-Pilot — Lodge-First Launch Generated by /office-hours on 2026-06-04 Branch: main Repo: hermes-mcp Status: APPROVED Mode: Startup Supersedes: garfieldheron-main-design-20260521-101750.md --- ## Problem Statement Mortgage brokers, insurance agents, and financial services professionals need marketing tools to compete — but enterprise platforms like Opal cost $15k+/year and burn through AI token budgets. Individual brokers like Alex have no team. They need a co-pilot, not a platform. SquareMCP can replace Opal for CMGBank's mid-July launch AND become the daily marketing co-pilot for Alex and the lodge network — at a fraction of the cost. --- ## Demand Evidence - **Alex** (mortgage broker) asked directly for marketing tools for his business - **Alex Ferrari** (mortgage reseller) needs promotion tools for his pipeline - **CMGBank / Paul** (board-level) is actively evaluating Opal alternatives — pain point: Opal's AI token usage is too expensive; wants to internalize - **The lodge** — fraternal network of mortgage brokers, insurance agents, investors, multiple sectors. Members are watching. If it works for Alex at the July meeting, the network converts. - **Mid-July launch** is a live demo to the lodge network — not just a CMG deliverable. Paul sees the room using it. That's the close. --- ## Status Quo - Alex posts manually, inconsistently, with no competitive awareness - CMG evaluating Opal ($15k+/yr enterprise) — AI features too expensive - Lodge members have no shared marketing tooling — every broker does it alone - Current workaround: manual Instagram/LinkedIn posts, no analytics, no competitor intel --- ## Target User & Narrowest Wedge **Primary user:** Alex (individual mortgage broker / reseller) **What he needs this week:** FAQs about mortgages, competitor research on what other brokers post, and a report he can bring to the lodge meeting in July. **Wedge:** The Monday Morning Brief — a weekly automated package that Alex receives without logging in: competitor posts, 5 draft posts, last week's performance summary. **Secondary:** Paul at CMGBank — board level, needs to see a full dashboard by mid-July to greenlight SquareMCP as the Opal replacement for CMG. --- ## Constraints - Mid-July hard deadline for lodge demo / Paul's launch decision - LinkedIn Marketing API partner approval takes weeks — cannot depend on it for July - Alex's UX: he receives a weekly email brief (SMTP) — no login, no dashboard required for Phase A/C - Must work across financial services AND hospitality (lodge) use cases --- ## Premises 1. Alex and the lodge are the proof. CMG is the check. If it works for Alex at the July meeting, Paul doesn't need a sales pitch — he sees a room already using it. 2. FAQs, competitor research, and reports are the week-1 features. They need no new platform API approvals and can ship in days. 3. Multi-step workflows ship last — the capstone once underlying tools are stable. Shipping them broken before the lodge meeting would be worse than not shipping at all. --- ## Approaches Considered ### Approach A: Lodge-First Wedge (Ship in 2 weeks) - FAQs + competitor research + reports only - Alex runs it this week, brings output to July lodge meeting - No new platform API clients needed - Reuses: search_tweets, Obsidian client, web crawler - Effort: S (human: ~3 days / CC: ~4 hours) - Pros: Ships fast, zero approval risk, real output Alex can show - Cons: Doesn't fully replace Opal, no campaign monitoring yet ### Approach C: Alex's Co-Pilot (2 weeks after A) - One automated workflow: "Monday Morning Brief" - Weekly auto-run: research competitors, generate 5 post drafts, monitor last week's performance, email report to Alex - Alex doesn't need a dashboard — he gets a brief - The report IS the product demo at the lodge - Effort: M (human: ~2 weeks / CC: ~1 week) - Pros: Alex self-sufficient, lodge sees real output not a demo - Cons: Hides the platform UI — harder Opal replacement story without a dashboard ### Approach B: Full Opal Replacement (6 weeks, funded by CMG) - All 7 features: FAQs → metadata → reports → competitor research → SEO → campaign monitoring → workflows - Full dashboard, multi-tenant, CMG + lodge members as subscribers - Effort: XL (human: 6 weeks / CC: ~3 weeks) - Pros: Full replacement story, Paul can sign on the spot - Cons: Tight timeline, LinkedIn analytics needs partner approval --- ## Recommended Approach **A then C then B — in that order, with Alex as the implementation focus.** - **Week 1-2 (A):** Ship FAQs, competitor research, generate reports. Alex uses them. Real output in hand for the lodge. - **Week 3-4 (C):** Build the Monday Morning Brief workflow around Alex's specific use case. He implements and runs it himself. This becomes the lodge demo. - **Week 5-6 (B):** With lodge validation and CMG interest confirmed, build the full Opal replacement dashboard. Paul signs. CMG funds the rest of the buildout. --- ## Feature Build Order | Week | Feature | Effort | Tool signature (inputs → output) | Dependencies | |------|---------|--------|----------------------------------|-------------| | 1 | Create FAQs | Low | `create_faq(topic, source_url?) → FAQ[]` — mortgage Q&A from broker's site or a topic string, saves to Obsidian | web-crawler.ts (new), Obsidian (exists) | | 1 | Optimize Metadata | Low | `optimize_metadata(source_url) → {title, meta_description, og_tags, keywords}` — extracts and improves OG/meta tags on broker's site | web-crawler.ts | | 1-2 | Generate Reports | Low | `generate_report(type, params) → Markdown` — wraps FAQ + competitor outputs into a shareable brief, optionally emails via SMTP | orchestration over existing tools | | 2 | Research Competitors | Medium | `research_competitor(name_or_domain) → CompetitorProfile` — web search + Twitter scan of competing brokers | web-search.ts (new, Serper/Brave API key needed now) | | 3-4 | Monday Morning Brief (cron workflow) | Medium | Weekly cron: runs research_competitor + generate 5 post drafts + Twitter performance → emails Alex | all of above; Twitter perf gap noted below | | 4 | Monitor Campaigns (Twitter) | Medium | `monitor_campaign(since_days) → CampaignSnapshot` — Twitter public_metrics only for Phase A/C; Instagram/Facebook deferred | Twitter client exists; add analytics methods | | 5 | SEO Audits | Medium | `audit_seo(url) → SEOReport` — on-page signals, score 0-100, fix list | web-crawler.ts + Cheerio | | 5-6 | Monitor Campaigns (Instagram/Facebook) | Medium-High | Extends monitor_campaign to IG/FB analytics APIs | Platform analytics API approvals | | Post-July | Full Workflow Engine + Dashboard | High | Visual workflow builder, multi-tenant dashboard — the Opal replacement UI | All tools stable; CMG funding | | Post-July | LinkedIn Analytics | High | Requires LinkedIn Marketing Developer Platform approval | Partner approval (apply now) | **Note on Monday Morning Brief performance data:** Week 3-4 brief includes Twitter-only performance. Instagram/Facebook performance added in Week 5-6 once analytics APIs are approved. This should be stated clearly to Alex on first delivery so it's not a surprise. --- ## Open Questions 1. What platforms does Alex actually post on today? (Instagram? Facebook? LinkedIn?) 2. Who are Alex's top 3 competitors geographically — so we can pre-configure the competitor research tool for his first run 3. Does Paul have a specific CMG campaign in mind for mid-July, or is it the general SquareMCP launch announcement? 4. What's the lodge's sector breakdown — mostly mortgage/insurance, or significant investor/other presence? --- ## Success Criteria - Alex runs FAQs, competitor research, and one report before end of week 2 - Alex brings a Monday Morning Brief printout to the July lodge meeting - At least 3 lodge members express interest in access after seeing Alex's output (captured by: Alex noting names, a sign-up form Alex shares, or verbal count at the meeting) - Paul greenlights SquareMCP as the CMG Opal alternative by end of July --- ## Distribution Plan - **Alex's UX (Phase A):** Claude Code / MCP chat interface — Alex runs tools conversationally ("create FAQs for my mortgage business", "research competitor mortgageco.com"). No login page required. Existing K8s deployment. - **Alex's UX (Phase C):** Automated weekly email delivered to Alex's registered address via existing SMTP infrastructure. Alex does nothing — brief arrives Monday 7am. Registration: add Alex's email to a `workflow_subscriptions` table (one SQL row). Unsubscribe: reply STOP or a one-link unsubscribe in the email footer. - **Lodge member onboarding:** Alex forwards his brief at the July meeting. Interested members sign up via a simple form (or Alex adds them directly). - **CMG/Paul (Phase B):** Full dashboard UI — separate work, post-July, funded by CMG. --- ## Dependencies - `web-crawler.ts` — needed by FAQs, metadata, SEO (build week 1) - `web-search.ts` — Serper or Brave Search API key (get this today) - LinkedIn Marketing API partner approval — start application now, don't block on it for July - Alex's cooperation — he needs to actually run the tools this week --- ## The Assignment **This week:** Get Alex on a 30-minute call. Walk him through running `create_faq` on his mortgage business and `research_competitor` on one competitor he names. Generate a report. Send it to him. Watch his reaction. That reaction tells you everything about whether this product works. --- ## Reviewer Concerns (resolved) The following issues were caught and fixed in adversarial review: - Approach A originally omitted the Serper/Brave API dependency — now explicit - Optimize Metadata scope was unclear — now has a concrete tool signature - Monday Morning Brief performance gap (Twitter-only in weeks 3-4) now documented - Alex's UX path is now fully specified (chat interface → automated email) - SEO Audits scoped to post-lodge (no customer demand signal for July) - Full Workflow Engine explicitly deferred to post-July --- ## What I noticed about how you think - You named three specific customers — CMG, Alex, the lodge — before I finished asking. Most founders say "small businesses." You said names. That's the difference between a market and a customer. - "If it works for Alex and the lodge — money." You said that without prompting. You already know the wedge. The earlier hesitation about building all 7 features was covering up a clear instinct you already had. - You chose A then C then B without pause. That's the right sequencing and you got there fast. You're not in love with the architecture — you're in love with the outcome. That's the right order. - The lodge insight changed everything. Most people would have described it as a hospitality client. You described the network inside it. That's not a feature request — that's a distribution channel.