Documentation Index
Fetch the complete documentation index at: https://docs.voxworks.ai/llms.txt
Use this file to discover all available pages before exploring further.
Description
Sends an SMS message to the contact’s phone number. The SMS is scheduled for delivery and returns true if successfully queued.
| Name | Data Type | Required | Description |
|---|
| SMS message to send | string | Yes | The text content of the SMS message |
This tool automatically uses:
| Variable | Description |
|---|
| [Contact - Phone] | The contact’s phone number (destination) |
Manual Outputs
| Name | Data Type | Description |
|---|
| result | bool | true if SMS was queued successfully |
Global Outputs
| Variable | Data Type | Description |
|---|
| [SMS - Send Error - Spoken] | string | Error message if sending failed (for assistant to speak) |
Conditions
Success (true)
The tool returns true when:
- The SMS is successfully queued for delivery
Failure (false)
The tool returns false when:
- The contact’s phone number is missing or invalid
- The assistant’s phone number is not configured
- The message content is empty
- Another error occurs when scheduling the SMS
Example Usage
Tool Step: Send booking confirmation
Input: "Your appointment is confirmed for [Calendar - Booking Time - Written]. See you then!"
Condition: true (success)
-> Next: confirmation_step
-> Script: "I've sent you a text with the details."
Condition: Otherwise (failure)
-> Next: fallback_step
-> Script: "I wasn't able to send the text."
Best Practices
- Include key details — Confirmation numbers, times, links
- Handle failures gracefully — Always have a verbal fallback
- Use variables — Personalise with [Contact - First Name] and booking details
- Validate phone first — Use the Contact Phone is SMS Capable function to check if the number can receive SMS
Next Steps