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 has a valid email address stored in their contact record. Returns true if an email address exists and is not empty. Also copies the email to the verified email variable for use in subsequent steps.

Manual Inputs

This function has no manual inputs.

Global Inputs

This function automatically uses:
VariableDescription
[Contact - Email]The contact’s email address from their record

Manual Outputs

NameData TypeDescription
resultbooltrue if an email address is on record

Global Outputs

VariableData TypeDescription
[Contact - Email (Verified)]stringCopy of the email address (if available)

Logic

The function checks if the email field exists and is not empty:
result = [Contact - Email] is not None and [Contact - Email] != ''
[Contact - Email (Verified)] = [Contact - Email]

Example Usage

Function Step: Check if email is available

   Condition: true (email exists)
   -> Next: send_email_confirmation
   -> Script: "I'll send the confirmation to your email."

   Condition: false (no email)
   -> Next: collect_email_step
   -> Script: "I don't have an email address for you. Could you provide one?"

Best Practices

  1. Check before sending - Always verify email exists before attempting to send
  2. Have a collection flow - If no email exists, have a flow to collect one
  3. Use verified variable - Reference [Contact - Email (Verified)] in subsequent steps

Next Steps