GTM Workflow Blueprint & Diagram Optimized v2 Spec

Interactive specifications mapping technical Zod mutations, parallel search packs, and event pipelines.

Query Footprint
28 → 3 Compressed
HITL Dashboard Synthesis
3 → 1 Unified
Research Latency Savings
75% Accelerated
Follow-Up Pipeline
Closed-Loop First-class
Interactive Pipeline Graph
Filter View:
Pipeline A: Call Prep v2
Configuration & Input Validation Gate
Step 1
Adaptive Research Depth Selection
Step 2
Core Shared Research Engine
Step 3
Unified Brief & Questions Synthesis
Step 4
Single Human-In-The-Loop Review Gate
Step 5
Google Drive Save & CRM Sync
Step 6
Pipeline B: Follow-Up v2
Ingestion & Trigger Gate
Phase 1
Extraction & Capture Engine
Phase 2
Human-In-The-Loop Confirmation
Phase 3
Pack, Store & Notify
Phase 4
Specifications Detail Prep Specification

Configuration & Input Validation Gate

Objective & Purpose:

Validates all core representative profiles and target URLs prior to launching intensive background actions. Ensures runs do not fail midway due to missing schemas or invalid structures.

V1 Bottleneck Solved:

In v1, there was no upfront schema check. If a Company URL or Persona Target was malformed, the pipeline would crash minutes into the execution, wasting tokens and user time.

Input Parameters:
  • Representative Profile (speaking voice, style guidelines)
  • Target Company URL (firmographics anchor)
  • Target Contact LinkedIn Profile
  • Audience Persona selection (e.g. Executive, Dev, CFO)
Output Assets:
  • Verified target context descriptors
  • Custom representative speaking-style profile wrapper
  • Validated pipeline schema token
Core Orchestration Steps:
  1. Executes synchronous Zod-style schema check on inputs.
  2. Validates Representative Prompt configuration values.
  3. Throws validation warning alerts to the user immediately if critical URLs are empty or invalid.

Backend Implementation Schema:
export const runPrep = mutation({
  args: {
    companyUrl: v.string(),
    contactUrl: v.string(),
    voiceProfile: v.id("voice_profiles")
  },
  returns: v.object({
    status: v.string(),
    runToken: v.string()
  }),
  handler: async (ctx, args) => {
    if (!args.companyUrl.includes(".")) {
      throw new Error("Invalid Company URL");
    }
    // Proceed to Step 2...
  }
});

Implementation Roadmap Task List 0/6 Completed