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

# Single Prompt Agents In DialNexa

> Learn when to use DialNexa Single Prompt Agents, how the prompt, model, voice, functions, variables, and post-call analysis shape one call objective.

A Single Prompt Agent in DialNexa uses one instruction set to guide the whole conversation. It is best for calls with one clear objective, such as lead qualification, appointment confirmation, support intake, reminders, feedback collection, or a focused FAQ call.

![DialNexa Single Prompt Agent builder showing the welcome message, agent prompt, voice, model, transcriber, agent ID, and pricing preview.](https://mintcdn.com/dialnexa/0efoAN-6So4r-6NC/images/documentation/screenshots/agent-prompt-editor.png?fit=max\&auto=format\&n=0efoAN-6So4r-6NC\&q=85\&s=60f45f90e53a644a08e11e20c0fd3346)

> [!TIP]
>
> If the call can be explained in one clean paragraph and one success outcome, a Single Prompt Agent is usually the boringly good choice.

## Good Fit Versus Poor Fit

Choose the agent type based on conversation shape.

| Use Single Prompt When | Consider Flow Instead When |
| - | - |
| The call has one primary goal. | The call must follow strict branch-by-branch paths. |
| The caller can answer in free-form language. | Each answer must route to a specific next node. |
| Functions can handle needed actions. | Transfers, waits, or multi-step decision trees are central. |
| Post-call analysis can summarize the outcome. | Operations needs explicit node-level debug history. |

## The Parts That Matter Most

A Single Prompt Agent still uses the full runtime stack.

> [card] [Prompt and system prompt](https://dialnexa.com/docs/agents/prompts-and-welcome-messages.md)
>
> Tell the agent the job, rules, objection handling, and what it must never guess.

> [card] [Welcome behavior](https://dialnexa.com/docs/agents/prompts-and-welcome-messages.md)
>
> Choose whether the user starts, the agent speaks a fixed first line, or the first line is dynamic.

> [card] [Default variables](https://dialnexa.com/docs/agents/dynamic-variables.md)
>
> Set fallback values for placeholders found in the prompt, welcome message, or voicemail message.

> [card] [Post-call fields](https://dialnexa.com/docs/agent-settings/post-call-analysis.md)
>
> Extract the result you need from the finished call, such as outcome, interest, amount, or next step.

## Write A Strong Single Prompt Agent

**1. State the role and goal**

Example: qualify the lead for a demo, not broadly sell the product.

**2. Define success and failure**

Tell the agent what counts as resolved, interested, not interested, or needs human follow-up.

**3. Give handling rules**

Add instructions for silence, objections, wrong person, language switch, and no answer scenarios.

**4. Add only useful tools**

Functions should support the call goal, not distract the model with actions it should never use.

**5. Test with difficult callers**

Use short answers, corrections, interruptions, and missing variables.

## Single Prompt Failure Modes

> [accordion] Prompt tries to cover too many jobs
>
> Split unrelated jobs into separate agents so reporting and routing stay clean.

> [accordion] Outcome is not defined
>
> The agent may finish the call but leave operations without a clear result. Add post-call fields.

> [accordion] Variables have no defaults
>
> A missing `{{first_name}}` value makes the call sound unfinished. Add fallback defaults.

> [accordion] No published version
>
> The draft may look ready, but live routes need a published version.

## Related Reading

> [card] [AI Agent Builder](https://dialnexa.com/docs/agents/ai-agent-builder.md)
>
> The fastest way to create a single prompt agent.

> [card] [Prompts And Welcome Messages](https://dialnexa.com/docs/agents/prompts-and-welcome-messages.md)
>
> Write the instruction set.

> [card] [Dynamic Variables](https://dialnexa.com/docs/agents/dynamic-variables.md)
>
> Personalize the call safely.

> [card] [Post-Call Analysis](https://dialnexa.com/docs/agent-settings/post-call-analysis.md)
>
> Extract the outcome.


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