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

Checks whether the contact’s phone number is SMS-capable by validating that it is an Australian mobile number (starting with +614). Returns true if the phone number can receive SMS messages.

Manual Inputs

This function has no manual inputs.

Global Inputs

This function automatically uses:
VariableDescription
[Contact - Phone]The contact’s phone number to validate

Manual Outputs

NameData TypeDescription
resultbooltrue if the phone number is SMS-capable (mobile)

Global Outputs

This function has no global outputs.

Logic

The function checks if the phone number starts with +614 (Australian mobile prefix):
result = left([Contact - Phone], 4) == '+614'

Example Usage

Function Step: Check if SMS is possible

   Condition: true (is mobile)
   -> Next: send_sms_step
   -> Script: "Let me send you a text with the details."

   Condition: false (not mobile)
   -> Next: provide_details_verbally
   -> Script: "I'll give you the details now."

Best Practices

  1. Check before sending - Always use this function before attempting to send SMS
  2. Have a fallback - Provide an alternative flow for landline numbers
  3. Combine with email check - If SMS isn’t available, check if email is an option

Next Steps