7. SMS & WhatsApp
All SMS and WhatsApp functions return void and resolve once the message has been dispatched to the gateway.
Both SMS and WhatsApp require their respective integrations to be configured in platform settings before use. Prefer the Async variants.
SMSNotifyAsync(recipient, content)
async· returnsvoid
Prop
Type
await context.functions.SMSNotifyAsync(
"+385911234567",
"Your order #" + context.record.ID + " has been shipped!"
);
WhatsAppNotifyAsync(recipient, content)
async· returnsvoid
Requires a configured WhatsApp Business API integration.
Prop
Type
await context.functions.WhatsAppNotifyAsync(
"+385911234567",
"Hello! Your appointment is confirmed for tomorrow at 10:00 AM."
);