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

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# What the agent says on a campaign call

> How a campaign's goal and opening line combine with the agent's own instructions, and how details from your CSV, such as an amount owed, reach each call.

A campaign call uses your agent as it is, with its voice, knowledge, rules and instructions. The campaign adds three things: the goal for this call, the opening line, and the details you hold about the person being called. The goal is added on top of the agent's instructions, never in place of them. The campaign's opening line is said instead of the agent's own outbound opening line, for that campaign only.

> [!NOTE]
>
> In the app: **Sidebar → Campaigns → New campaign → Agent and script** while you build it (`/campaigns/new`). After that: open the campaign, then **Campaign settings → Edit campaign** (`/campaigns/<campaign id>`). On the Real Estate plan, **Campaigns** is under **Sidebar → Pipeline**.

This diagram shows what goes into each campaign call.

```mermaid theme={null}
flowchart LR
    A["The agent:<br/>voice, knowledge,<br/>rules, instructions"] --> C["The call"]
    G["The campaign:<br/>goal, opening line,<br/>product, call script"] --> C
    P["The person:<br/>name, company, notes,<br/>columns from your file"] --> C
```

## Do the campaign's goal and opening line override the agent's?

| Part of the call | Where it comes from |
| - | - |
| Voice, language, knowledge, tools and rules | Always the agent's. A campaign never changes them. |
| Instructions | The agent's, with the campaign's **Goal** added on top as what to achieve on this call. The goal is something to work towards, not a script to read out. |
| The first words | The campaign's **Opening line**. If it is blank, the agent's own outbound **Opening line**. If that is blank too, a standard greeting with the agent's name and your company. |
| What it sells | The campaign's **What it sells** and product details, added as background. |
| Required wording | The campaign's **Call script**, such as **California automated call**. |

To make the agent use the campaign's opening line, write it in the campaign: **Campaign settings → Edit campaign → Opening line**. It is used for this campaign only, and other campaigns and inbound calls are not affected.

## Can a campaign have its own script?

Yes, within the agent. Each campaign has its own **Goal** (up to 1,000 characters), **Opening line** (up to 45 words), **Call script** and **What it sells**. For completely different instructions, a different voice or different knowledge, give the campaign another agent in **Campaign settings → Agent**.

## Can the outbound greeting differ from the inbound one?

Yes. In the agent's **Voice and greeting** settings, the greeting people hear when they call you and the **Opening line** for outbound calls are separate. Each campaign can then set its own opening line on top. See [Agents](https://docs.getsmartalex.com/essentials/agents.md).

## How do I pass details from my file into each call?

1. **Import the file with those columns.** Match name and phone. Every column you keep but do not match, such as an account number, balance or policy date, goes into the person's notes. See [Import contacts](https://docs.getsmartalex.com/campaigns/import-contacts.md).
2. **The agent reads them.** The person's notes, company, job title and website reach the agent on every campaign call, so it can talk about their account without asking. Notes are cut at 1,500 characters, so skip columns the agent does not need.
3. **To use a value word for word,** click **Insert field** in the **Opening line** and pick your column. It shows as a field, and each person hears their own value. In the **Goal**, type the column as `{file:column name}`, for example `{file:balance}`. A sentence whose field has no value for that person is left out of the opening line. If the column is not in the campaign's file, a note under the box says so.

When one number appears on several rows, for example one person with two accounts, those rows become one contact with each row's details. A field then gives every value, separated by commas.

> [!NOTE]
>
> On a debt collection campaign, file fields are never said in the opening line. The debt must not be named before the person confirms who they are. In the goal, a file field becomes the column's name, such as "total outstanding". The agent takes the figure from the person's details once they confirm.

## Where can I see what was passed to a call?

| When | Where | What it shows |
| - | - | - |
| Before you start | The preview beside the builder, **Opening line, as Sarah hears it** | The opening line filled in with a real value from your list, and about how many seconds it takes. |
| Before you start | **Contacts**, click the person | Their details and notes, which the agent reads on the call. |
| Before you start | **Ready to start → Try it first → Test call** | A free call built the same way as a real one. |
| After a call | The campaign's **Contacts**, click the person, then **Open call** | The transcript, with every word the agent said, and the recording. |

## Which number does the agent give for call-backs?

**Calling from** is the number people see when the phone rings. The number the agent gives people to reach you is separate: set it in **Campaign settings → Edit campaign → Contact number or email**. "Said first, so people can reach you. Blank uses the agent's." **Calling for** sets the business name the agent gives, if it is not the agent's company. Put a call-back number in your **Voicemail message** too, since that message is said word for word.

## Questions people ask

> [accordion] Do the campaign's goal and opening line override the agent's own?
>
> The opening line does: a campaign's opening line is said instead of the agent's own outbound opening line, for that campaign only. The goal does not replace the agent's instructions. It is added on top, so the agent keeps its role, knowledge, voice and rules and works towards the campaign's goal.

> [accordion] Can a campaign have its own script, separate from the agent's?
>
> Yes, within the agent. Each campaign has its own goal, opening line, call script setting and product details. For completely different instructions or a different voice, give the campaign a different agent in **Campaign settings → Agent**.

> [accordion] How do I pass an account number or amount owed from my CSV into each call?
>
> Keep those columns when you import. Every column you do not match goes into the person's notes, which the agent reads on every campaign call. To use a value word for word, click **Insert field** in the opening line and pick the column. In the goal, type the column as `{file:column name}`, for example `{file:balance}`.

> [accordion] Where can I see what was passed to a call?
>
> Before calling, the preview beside the builder shows the opening line as a person on your list hears it. Each person's record shows the notes the agent will read. After a call, open it to read the transcript, which shows exactly what the agent said.

> [accordion] Can the outbound greeting be different from the inbound one?
>
> Yes. The agent's greeting for people who call in and its **Opening line** for outbound calls are separate settings. Each campaign can also set its own opening line on top.

## Related

> [card] [Create a campaign](https://docs.getsmartalex.com/campaigns/create-a-campaign.md)
>
> The goal, opening line and Insert field.

> [card] [Import contacts](https://docs.getsmartalex.com/campaigns/import-contacts.md)
>
> Columns, notes and limits.

> [card] [Campaign settings](https://docs.getsmartalex.com/campaigns/campaign-settings.md)
>
> Edit campaign and every other setting.

> [card] [Agents](https://docs.getsmartalex.com/essentials/agents.md)
>
> The agent's own greeting and opening line.

> [card] [Start free](https://getsmartalex.com/instant)
>
> Build an agent and talk to it in your browser in about a minute. No card needed.

> [card] [Visit getsmartalex.com](https://getsmartalex.com)
>
> See what SmartAlex does for your business, hear real agents and compare plans.


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