Skip to main content

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.

Manual Inputs

NameData TypeRequiredDescription
SMS message to sendstringYesThe text content of the SMS message

Global Inputs

This tool automatically uses:
VariableDescription
[Contact - Phone]The contact’s phone number (destination)

Manual Outputs

NameData TypeDescription
resultbooltrue if SMS was queued successfully

Global Outputs

VariableData TypeDescription
[SMS - Send Error - Spoken]stringError 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

  1. Include key details — Confirmation numbers, times, links
  2. Handle failures gracefully — Always have a verbal fallback
  3. Use variables — Personalise with [Contact - First Name] and booking details
  4. Validate phone first — Use the Contact Phone is SMS Capable function to check if the number can receive SMS

Next Steps