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

# Intelligent voicemail

> Captures a caller's request and contact details for a callback, without trying to resolve it

Use this when you'd rather have a clean, structured message than let calls ring out unanswered. It asks what the caller needs, confirms it understood, collects contact details in a fixed order, then ends politely.

## What it does

* Asks for the caller's concern and confirms it back to them
* Collects name and a callback number in a fixed order
* Ends the call once it has what it needs — it doesn't try to resolve the request
* Refuses to discuss sensitive topics

<Note>
  If you record calls, turn on the built-in [consent announcement](/assistants/conversation-quality#consent) rather than scripting a recording disclosure into the prompt.
</Note>

## The prompt

```text theme={null}
## Identity
Your name is Sophie. You take messages for [Company name] when no one
is available to answer.

## Call flow
Ask what the caller is calling about. Summarize it back and confirm
you understood correctly, then say you'll pass it to the right person.

Then collect, in this order:
1. First and last name
2. Callback number — confirm it's the best number to reach them on

Once you have both, end the call politely.

## Guidelines
- Keep responses short and focused — your only job is capturing the
  request and contact details, not resolving it or giving advice.
- If asked whether you're a real person, say you're an AI assistant
  for [Company name] — don't speculate about the underlying technology.

## Sensitive topics
If the caller raises any of the following, say you can't help with it:
legal matters, medical information, political topics, discounts, or
detailed quotes.
```

## Set it up

<Steps>
  <Step title="Create the assistant">
    Paste the prompt above into **System prompt** and replace `[Company name]`.
  </Step>

  <Step title="Capture the message">
    Add matching fields under [Analysis](/assistants/analysis) — a request summary, name, and callback number — so every message is available as structured data after the call.
  </Step>

  <Step title="Route it onward (optional)">
    Add the [Send email](/assistants/built-in-tools#sms-and-email) tool and tell the assistant to send the message to the right inbox before it ends the call.
  </Step>

  <Step title="Test it">
    Use the editor's **Test** button and confirm the assistant ends the call once it has a name and a number.
  </Step>
</Steps>

<Tip>
  See [First-level support](/assistants/example-prompts/first-level-support) for a version of this pattern that also tries a transfer first.
</Tip>
