> ## 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.

<img src="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" alt="DialNexa Single Prompt Agent builder showing the welcome message, agent prompt, voice, model, transcriber, agent ID, and pricing preview." style={{ width: '100%', maxWidth: '1100px', margin: '8px 0 24px', border: '1px solid #e5e7eb', borderRadius: '6px' }} width="2776" height="1752" data-path="images/documentation/screenshots/agent-prompt-editor.png" />

<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.
</Tip>

## 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.

<CardGroup cols={2}>
  <Card title="Prompt and system prompt" icon="message-square" href="/docs/agents/prompts-and-welcome-messages">
    Tell the agent the job, rules, objection handling, and what it must never guess.
  </Card>

  <Card title="Welcome behavior" icon="message-circle" href="/docs/agents/prompts-and-welcome-messages">
    Choose whether the user starts, the agent speaks a fixed first line, or the first line is dynamic.
  </Card>

  <Card title="Default variables" icon="braces" href="/docs/agents/dynamic-variables">
    Set fallback values for placeholders found in the prompt, welcome message, or voicemail message.
  </Card>

  <Card title="Post-call fields" icon="list-checks" href="/docs/agent-settings/post-call-analysis">
    Extract the result you need from the finished call, such as outcome, interest, amount, or next step.
  </Card>
</CardGroup>

## Write A Strong Single Prompt Agent

<Steps>
  <Step title="State the role and goal">
    Example: qualify the lead for a demo, not broadly sell the product.
  </Step>

  <Step title="Define success and failure">
    Tell the agent what counts as resolved, interested, not interested, or needs human follow-up.
  </Step>

  <Step title="Give handling rules">
    Add instructions for silence, objections, wrong person, language switch, and no answer scenarios.
  </Step>

  <Step title="Add only useful tools">
    Functions should support the call goal, not distract the model with actions it should never use.
  </Step>

  <Step title="Test with difficult callers">
    Use short answers, corrections, interruptions, and missing variables.
  </Step>
</Steps>

## Single Prompt Failure Modes

<AccordionGroup>
  <Accordion title="Prompt tries to cover too many jobs">
    Split unrelated jobs into separate agents so reporting and routing stay clean.
  </Accordion>

  <Accordion title="Outcome is not defined">
    The agent may finish the call but leave operations without a clear result. Add post-call fields.
  </Accordion>

  <Accordion title="Variables have no defaults">
    A missing `{{first_name}}` value makes the call sound unfinished. Add fallback defaults.
  </Accordion>

  <Accordion title="No published version">
    The draft may look ready, but live routes need a published version.
  </Accordion>
</AccordionGroup>

## Related Reading

<CardGroup cols={2}>
  <Card title="AI Agent Builder" icon="sparkles" href="/docs/agents/ai-agent-builder">
    The fastest way to create a single prompt agent.
  </Card>

  <Card title="Prompts And Welcome Messages" icon="message-square" href="/docs/agents/prompts-and-welcome-messages">
    Write the instruction set.
  </Card>

  <Card title="Dynamic Variables" icon="braces" href="/docs/agents/dynamic-variables">
    Personalize the call safely.
  </Card>

  <Card title="Post-Call Analysis" icon="list-checks" href="/docs/agent-settings/post-call-analysis">
    Extract the outcome.
  </Card>
</CardGroup>
