> ## Documentation Index
> Fetch the complete documentation index at: https://open.ag2.space/llms.txt
> Use this file to discover all available pages before exploring further.

# GTM outbound

> How Sutando runs an outbound pipeline with cloud tools and local skills: map the market, pull signal leads, review, enrich, draft, send and answer replies, with approval gates where they matter.

The GTM stack turns a short description of what you sell into a running outbound pipeline. Cloud tools do the finding, enriching and writing; free local skills do the sending and replying on your own keys, so your sending identity never leaves your machine. Replies and booked meetings flow back and tune the targeting and the copy.

> [!NOTE]
>
> This is a condensed, builder-oriented summary. The full step-by-step playbook, with paste-ready prompts, is in the [user guide](https://docs.ag2.space/docs/use-cases/gtm).

```mermaid theme={null}
flowchart LR
  M["Map<br/>(ICP Mapper)"] --> F["Find<br/>(Intent Leads)"] --> Q["Quality pass<br/>(agent review)"] --> E["Enrich<br/>(Lead Enricher)"] --> D["Draft<br/>(Email Drafter)"] --> S["Send<br/>(Campaign Runner)"] --> R["Reply<br/>(Campaign Responder)"]
  R -. "outcomes" .-> M
```

## Requires

| Kind | Name | Runs |
| - | - | - |
| Cloud tools (Activate) | `icp-mapper`, `intent-leads`, `lead-enricher`, `email-drafter` | Hosted |
| Local skills (Install) | `campaign-runner`, `campaign-responder`, `campaign-stats` | On your Mac, with your Smartlead or Instantly key |

On AG2 Space 0.6.10 and newer you can send your Sutando the use-case page link and it installs and activates everything listed, showing the plan and asking before anything that costs credits. A newly activated cloud tool is usable at once; the agent asks for an engine restart only if the setup script reports one is required.

## Before you start

* **A sending account.** Campaign Runner drives Smartlead (recommended) or Instantly. The API key goes into a `.env` file on your Mac (`SMARTLEAD_API_KEY=` or `INSTANTLY_API_KEY=`) and never reaches AG2 Space.
* **Mailboxes you bought and warmed.** Cold outbound is sent from your own domains and inboxes. The agent flags young domains at preflight but cannot warm or buy them for you. Rough guide: one inbox safely carries about 35 emails a day.

## Who directs the agent

By default the agent takes GTM instructions only from its owner. To let a co-founder or GTM lead run it day to day, say once in the GTM room: *"I give @operator permission to direct you on everything GTM in this room."* What still needs the owner's own yes: the first launch of each campaign, sending a drafted reply (until a standing rule covers it), installing anything or handing over credentials, topping up credits, and deleting campaigns, leads or files.

## Two modes

* **Send.** The agent enriches reviewed leads, drafts a sequence per person, builds the campaign on your account, launches on your yes, works the replies and learns from what booked.
* **Hand off.** The agent reviews and ranks each pull and delivers agreed batches to a Slack channel (by channel ID) as a CSV, a download link and the rows in the message, with a running count of what is left. It never emails a lead. The Slack bot needs `chat:write`, `files:write`, `channels:read` and `groups:read`; see [Slack](https://open.ag2.space/integrations/slack.md).

## The loop

**1. Map the ICP (ICP Mapper)**

A map is a measurement of the live market, not a saved search. The mapper splits the ICP into sub-segments, generates candidate buyer phrasings, probes them against real LinkedIn posts and keeps the measured winners. Each phrasing carries a yield index and buyer share; the map carries a measured fresh-supply estimate, sample leads with their reasons, a **countries** list (default US, CA, GB, AU and EU-27) and buyer-persona keywords for the author filter.

`new_map: true` forces a new map; without it a similar offer may refresh an existing map. Always check the **routing** the run reports. `audience: "enterprise"` targets Director-and-above leaders at established organizations.

**2. Pull leads (Intent Leads)**

A pull harvests fresh posts from the map's proven phrasings, scores every author 1 to 10 against the ICP with written reasoning, keeps only people in your countries, and appends to one ranked CSV. Nothing older than a month is included, and a pull returns only people never delivered to you before. It ends for one stated reason; `map_dry` means the pond is thin, not that the run failed.

**3. Quality pass (the agent, free)**

A fit score says the person matches the ICP, not that they are buying now. The agent reads the post behind each lead and keeps only active needs (a requirement, an open problem, a budget, relevant hiring). Launches, announcements, celebrations, engagement bait and competitors are dropped, and it posts the funnel with excluded counts by reason. Your own exclusion rules, written in the room, apply on top.

**4. Enrich (Lead Enricher)**

Adds a verified work email graded by *email confidence*, title, location, recent posts verbatim, a company summary and personalization hooks. Only high and medium confidence ever reach a send; people outside your countries are skipped before any email lookup.

**5. Draft (Email Drafter)**

Writes a 1 to 4 step sequence per lead, scored by an editor-judge and revised until it clears the bar. By default it uses your *proven* offer (the one with real reply history).

**6. Launch (Campaign Runner, local)**

Builds the campaign on your own Smartlead or Instantly account after preflight. The first launch of each campaign waits for your yes.

**7. Replies (Campaign Responder, local)**

One `sweep`, typically morning and afternoon: new replies hottest first, auto-replies and out-of-office filtered, intent classified, in-thread drafts posted for approval. **Scheduled sweeps never send.** The one thing it acts on alone is an opt-out, which becomes a permanent do-not-contact entry across every future pull, enrichment and draft. A standing rule such as *"send replies yourself when the draft is a booking link with no new claims"* lets routine replies go without you.

Before the first draft, the agent collects the campaign assets in one message (sender name and title, booking link, demo and pricing links, a nameable customer or "none yet", and anything it must not claim) and keeps them in the room. A missing asset is reported as missing, never invented.

## What it learns

**Campaign Stats** gives one funnel table across campaigns. The reflection compares campaigns and separates copy problems from deliverability problems (zero opens across every send is deliverability, not copy). Offers are graded proven, promising, unproven or underperforming from their sends, replies and booked meetings, and individual phrasings in the map carry their own reply rates, so winners are promoted for future pulls.

## Guardrails

* **Few, fixed gates.** First launch and sending a drafted reply wait for a yes or a standing rule; everything upstream runs once asked.
* **Suppression is permanent and server-side.** Opt-outs and already-contacted people are excluded from every future pull, enrichment and draft, enforced in the cloud, not by agent memory.
* **Deliverability by default.** Low-confidence emails never send, bounce history is remembered, and campaigns auto-pause at bounce spikes.
* **Geography is a hard gate**, enforced from each person's LinkedIn profile at the pull, before email lookup and before drafting.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.