Two ways to automate
Journeys — scripted flows
Built on a visual canvas of message, wait, condition, and goal nodes. Deterministic: the same trigger and contact state always produce the same path. Best for flows you want to reason about precisely — onboarding sequences, abandoned-cart reminders, drip campaigns.
Margaret — AI-assisted drafting
Describe a flow in plain language — “draft a lead-capture journey that triggers on the keyword ‘preventivo’ and collects name, phone, email” — and Margaret proposes a journey graph as a draft. You review and approve before anything is created.
Where Margaret fits into journeys
Margaret is page-aware. When you’re on the journey editor, she sees the current graph shape, your selected node, and its triggers/actions — so “add a step that waits 2 hours then sends a follow-up” acts on the journey you actually have open, not a generic template. See Margaret — page-aware grounding for how this context-passing works across the product.The approval boundary
Every automation surface in Switchbord — journeys, Margaret, and connector integrations — follows the same rule: nothing customer-visible or data-mutating happens without a human approving it first.- Margaret never sends a message or commits a journey change silently; she proposes a draft and waits for Approve.
- The gb-agent connector — an external customer-agent integration that can propose replies — is restricted to a strict dry-run boundary: it can suggest a
draft_replyor hand off withhuman_review, but it cannot send messages, write to the CRM, assign conversations, or create tasks. Every effect is a manual operator action.
Choosing which to use
See also
- Journeys — the scripted-flow primitive.
- Margaret — full assistant capabilities, slash commands, and workspace memory.
- gb-agent Connector — the dry-run boundary for external AI-proposed replies.
- Data Model —
ai_agents,ai_threads, andai_agent_executions.