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

# SMS

> Send an SMS message during a flow

The **SMS** node sends a text message to a phone number. Use it to deliver confirmations, one-time codes, or follow-up links.

## Behavior

* Sends an SMS to the configured phone number with the specified message
* Supports `{{variable}}` interpolation in both fields
* Continues the flow on success or routes to the error path on failure

## Configuration

| Parameter     | Type   | Default | Description                                                                               |
| ------------- | ------ | ------- | ----------------------------------------------------------------------------------------- |
| `phoneNumber` | string | `""`    | Recipient phone number. Supports `{{variable}}` interpolation (e.g., `{{caller_phone}}`). |
| `message`     | string | `""`    | SMS message body                                                                          |

## Output handles

| Handle      | Description           |
| ----------- | --------------------- |
| **Success** | SMS sent successfully |
| **Error**   | SMS delivery failed   |

## Use cases

<AccordionGroup>
  <Accordion title="Confirmation code">
    Generate a code via Set Variable, send it via SMS, then ask the caller to enter it using Collect Digits for verification.
  </Accordion>

  <Accordion title="Post-call follow-up">
    After the call ends, send a link to a satisfaction survey or a summary of the conversation.
  </Accordion>

  <Accordion title="Queue position update">
    While a caller waits in a queue, send an SMS with estimated wait time and a callback option link.
  </Accordion>
</AccordionGroup>
