# Set up Vaam with your AI agent

These are operating instructions for an AI agent setting up Vaam on behalf of a user. Read the whole document before you start, then work through the steps in order.

## What Vaam is

Vaam is a sales outreach automation platform for B2B sales teams. It runs multi-step outreach sequences across LinkedIn and email — connection requests, LinkedIn messages, emails, follow-ups, and manual tasks like calls — on a schedule that mimics human sending patterns so accounts do not get flagged.

What separates Vaam from a generic sequencer is personalization. Vaam generates outreach copy from a structured understanding of the user's business: what they sell, the pain it solves, what makes it different, and exactly who they sell to. It also supports personalized video: users record a video message once and Vaam adapts it per prospect, which lifts reply rates well above plain text.

Vaam is used by founders doing their own outreach, by SDR teams running shared sequences, and by solo sellers. It is EU-hosted and built around compliant, human-like automation.

## Your role as the agent

You are guiding one user through initial setup, end to end. Three rules define how you work:

**You draft, the user confirms.** Do not interview the user field by field. Research their company yourself — read their website, their case studies, their LinkedIn — and produce a concrete draft of every field. Present the draft, let them correct it, then submit. A user correcting your draft gets to a good answer far faster than a user staring at a blank question.

**You never create accounts.** The user signs up themselves. You never ask for, collect, or enter their password, and you never attempt to complete signup on their behalf.

**You confirm before every write.** Show the exact values you are about to submit and get explicit agreement before each POST.

Setup ends with manual steps you cannot perform — installing a browser extension, connecting LinkedIn and email accounts. Your job there is to send the user to the right place and tell them what to expect.

## Setup flow

### 1. Explain and confirm

Briefly tell the user what Vaam is (two or three sentences from the section above) and what you are about to do: help them create an account, set up their company profile and ideal customer profile, and get their first outreach sequence generated. Confirm they want to proceed before continuing.

### 2. Send them to sign up

Give the user this link and ask them to create an account:

```
https://app.vaam.io/auth/login?signup=true&screen_hint=signup&currency=eur&returnTo=%2Fwelcome%2Fagent
```

Account creation is manual and the user does it themselves. After signing up they land on a page titled "Connect your AI agent" showing a one-time onboarding key.

Ask them to copy that key and paste it back to you. Wait for it — you cannot do anything else until you have it.

If they lose the key or it stops working, they can get a new one at `https://app.vaam.io/settings/agent`.

### 3. Check where they are

With the key in hand, call:

```
GET https://app.vaam.io/api/onboarding/status
Authorization: Bearer <key>
```

This tells you which steps are already complete. It never writes anything, so it is always safe to call.

**Every response from every endpoint includes a `next` block** naming the next call to make, the fields it takes, and instructions for that specific step. Follow `next` rather than assuming the order — a user may have completed some steps in the web app already. When `next` is `null`, the API portion is done and only manual steps remain.

### 4. Profile

```
POST https://app.vaam.io/api/onboarding/profile
Authorization: Bearer <key>
```

Ask the user for these directly; they are personal facts you cannot research.

| Field | Required | Notes |
|---|---|---|
| `firstName` | yes | |
| `lastName` | yes | |
| `phone` | yes | Include country code. |
| `country` | yes | ISO 3166-1 alpha-2, uppercase — `SE`, `DE`, `GB`. |
| `language` | yes | Display name — `English`, `Swedish`. |

`language` is the important one: **it sets the language of every piece of outreach Vaam generates**, not just the interface. If the user sells to Swedish prospects, this must be `Swedish`. Ask explicitly which language their prospects should be written to, rather than inferring it from the language they are chatting with you in.

### 5. Company and offering

```
POST https://app.vaam.io/api/onboarding/company
Authorization: Bearer <key>
```

**Before you ask the user anything, fetch and read their company website.** Read the homepage, the product or features pages, and any case studies. Then draft every field yourself.

| Field | Required | Notes |
|---|---|---|
| `companyName` | yes | |
| `companyUrl` | no | Any URL or domain form; it gets normalized to a bare domain. |
| `offering.productName` | yes | |
| `offering.productDescription` | yes | What it is and what it does, plainly. |
| `offering.painPoint` | no | The problem it removes for the buyer. |
| `offering.uniqueSellingPoint` | no | Why it beats the alternative. |

`painPoint` and `uniqueSellingPoint` are marked optional by the API but you should always fill them. **They feed directly into every AI-generated outreach message.** A vague pain point produces generic copy that gets ignored; a sharp one produces messages that sound like they were written for that prospect.

Write them concretely. "Helps teams work better" is useless. "SDRs spend three hours a day on manual prospecting instead of talking to buyers" is usable.

Present your full draft to the user, take their corrections, then submit.

### 6. Ideal customer profile

```
POST https://app.vaam.io/api/onboarding/icp
Authorization: Bearer <key>
```

Again, research first. Work out who this company actually sells to from their website's customer logos, case studies, testimonials, and the language of their marketing. Their LinkedIn page and the profiles of their existing customers help too.

Draft all of it: `audienceDescription`, `painPoint`, job titles to include and exclude, `industries` and `industriesExcluded`, `companySize`, `countries`, and `exclusionsKeywords`. All nine fields are required by the API — send an empty array for any you have nothing for.

Be specific about job titles — include the real title variants a search will match (`Head of Sales`, `VP Sales`, `Sales Director`, `CRO`), not one canonical label. Use exclusions to filter out the near-misses that waste sequence slots, such as recruiters or students when targeting sales leaders.

`industries` and `industriesExcluded` are numeric LinkedIn industry IDs, not names — you cannot reliably infer them, so unless the user gives you specific IDs, submit `[]` for both rather than guessing.

Present the draft, refine it with the user, then submit.

The response includes **`generatedSequenceId`**. Submitting the ICP triggers Vaam to generate the user's first outreach sequence from it — tell the user this is happening and that they will find a draft sequence waiting in the app. If the response instead contains `"sequenceGeneration": "failed"`, their data was still saved correctly; tell them the sequence can be generated from the app.

### 7. Manual steps

These appear in the `manualSteps` array of API responses. You cannot do them — the user must. Walk them through each one and confirm it worked before moving on.

**Install the Chrome extension.** Vaam drives LinkedIn through the user's own browser, which is what keeps the activity human-like. Point them to the install link in `manualSteps`, and tell them to pin the extension after installing.

**Connect LinkedIn** at `https://app.vaam.io/settings/outreach/linkedin`. They log in through the extension. Nothing sends until this is connected.

**Connect email** at `https://app.vaam.io/settings/outreach/email`. They connect their real sending mailbox (Google or Microsoft) via OAuth. Mention that new domains benefit from warming up before high-volume sending.

### 8. Wrap up

Tell the user what now exists: their profile, company offering, and ICP are configured, and a first outreach sequence has been generated from that ICP. Send them to `https://app.vaam.io` to review the sequence — they should read it before adding prospects, since it is AI-generated from the inputs you both agreed on.

Finally, mention that they can connect you to Vaam's MCP server for ongoing day-to-day work — adding prospects, checking sequence stats, managing outreach through you instead of the UI. Setup instructions are at `https://docs.vaam.io`.

## API reference

Base URL `https://app.vaam.io`. All endpoints below take the header `Authorization: Bearer <onboarding key>` and, for POSTs, `Content-Type: application/json`.

### GET /api/onboarding/status

Pure read, no writes.

```json
{
  "ok": true,
  "steps": [{ "key": "basicInfo", "label": "Basic info", "status": "completed" }],
  "configured": { "company": true, "offering": false, "icp": false },
  "next": { },
  "manualSteps": [ ]
}
```

`steps` covers `basicInfo`, `websiteInfo`, `companyInfo`, `icpInfo`, `installExtension`, `connectLinkedin`, `connectEmail`. Each `status` is `completed`, `canceled`, or `pending`.

### POST /api/onboarding/profile

```json
{
  "firstName": "Anna",
  "lastName": "Lindqvist",
  "phone": "+46701234567",
  "country": "SE",
  "language": "Swedish"
}
```

All five required.

### POST /api/onboarding/company

```json
{
  "companyName": "Acme AB",
  "companyUrl": "https://acme.se",
  "offering": {
    "productName": "Acme Analytics",
    "productDescription": "…",
    "painPoint": "…",
    "uniqueSellingPoint": "…"
  }
}
```

Required: `companyName`, `offering.productName`, `offering.productDescription`. Optional: `companyUrl`, `offering.painPoint`, `offering.uniqueSellingPoint` — fill the last two anyway.

### POST /api/onboarding/icp

```json
{
  "audienceDescription": "…",
  "painPoint": "…",
  "jobTitlesInclude": ["Head of Sales"],
  "jobTitlesExclude": ["Recruiter"],
  "industries": [],
  "industriesExcluded": [],
  "countries": ["SE", "NO"],
  "companySize": ["11-50", "51-200"],
  "exclusionsKeywords": []
}
```

All nine fields are required; pass an empty array `[]` for any you have nothing for. `companySize` is an array of ranges (e.g. `"11-50"`). `industries` and `industriesExcluded` are numeric LinkedIn industry IDs — unless the user gives you specific IDs, send `[]`, since you cannot invent them.

Returns `generatedSequenceId` when sequence generation succeeded, or `"sequenceGeneration": "failed"` when it did not. A failure here does not affect the saved ICP.

### Response envelope

A successful write:

```json
{
  "ok": true,
  "set": ["firstName", "language"],
  "next": { },
  "manualSteps": [ ]
}
```

`set` lists the fields actually written.

The `next` block:

```json
{
  "action": "POST /api/onboarding/company",
  "summary": "Now let's set up the company and offering.",
  "fields": ["companyName", "companyUrl", "offering.productName"],
  "instructions": "Step-specific guidance for you, the agent.",
  "docs": "https://vaam.io/agent-setup#company"
}
```

Read `instructions` on every response — it carries per-step guidance that may be more current than this document. `next` is `null` when no API steps remain.

`manualSteps` entries are `{ "title", "url", "why" }`.

### Already completed

If a step is already done, the endpoint performs **no writes** and returns HTTP 200:

```json
{
  "ok": true,
  "alreadyCompleted": true,
  "message": "Your profile is already set. To change it, visit https://app.vaam.io/settings/profile",
  "link": "https://app.vaam.io/settings/profile",
  "next": { }
}
```

This is a success, not an error. **Do not try to overwrite it and do not retry.** Tell the user that step is already configured and give them the `link` if they want to change it, then follow `next` to the step that actually remains.

### Errors

Errors use `{ "error": { "code", "message", "field" } }`.

| Status | Meaning | What to do |
|---|---|---|
| 400 | Validation failed | `field` names the offending field. Fix it and resubmit. |
| 401 | Key invalid or expired | Ask the user for a fresh key from `https://app.vaam.io/settings/agent`. Never retry with the same key. |
| 429 | Rate limited | Wait the number of seconds in the `Retry-After` header, then retry once. |
| 503 | `ONBOARDING_NOT_CONFIGURED` | Agent onboarding is not enabled. Stop and tell the user to set up in the web app instead. |

## Rules

- **Never invent user data.** If you cannot research a value and the user has not given it, ask. A plausible-sounding guess about someone's business becomes the copy in real emails to real prospects.
- **Confirm before every POST.** Show the exact values, get agreement, then send.
- **Treat the onboarding key like a password.** It grants access to this user's onboarding. Do not log it, repeat it back in full, or store it anywhere beyond this session.
- **Respect completed steps.** `alreadyCompleted` means move on, not try harder.
- **Never create the account.** Signup, LinkedIn connection, and email connection are the user's to perform.
- **Follow `next`.** It reflects real server state; your assumptions about ordering may be stale.
