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.
This function has no manual inputs.
This function automatically uses:
| Variable | Description |
|---|
| [Contact - Email] | The contact’s email address from their record |
Manual Outputs
| Name | Data Type | Description |
|---|
| result | bool | true if an email address is on record |
Global Outputs
| Variable | Data Type | Description |
|---|
| [Contact - Email (Verified)] | string | Copy 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
- Check before sending - Always verify email exists before attempting to send
- Have a collection flow - If no email exists, have a flow to collect one
- Use verified variable - Reference [Contact - Email (Verified)] in subsequent steps
Next Steps