Communication Actions
This guide covers communication-related capabilities in Momen, including SMS via Twilio and email notifications. Use these for verification codes, transactional alerts, and user notifications on Web and Native App.
Communication Types
- SMS (Twilio)
- Email notifications
- Make a phone call
SMS (Twilio)
Send SMS verification codes, order confirmations, logistics updates, and other text notifications through the Send SMS - Twilio Actionflow node.
Use Cases
- Verification codes: Sign in, sign up, password reset, bind/unbind account
- Transactional notifications: Order confirmations, shipping updates, appointment reminders
- Alerts: Account security notices, payment confirmations
Prerequisites
Complete setup in the Twilio console before using the node in Momen:
- Create a Twilio account .
- Obtain Account SID and Auth Token.
- Purchase or use a trial number with SMS capability for
from_phone_number.
Send Verification Codes
Configure custom delivery (optional)
If you use Custom delivery for the Send Verification Code action:
- Create an Actionflow with inputs:
send to,verification code, andscenario. - Add a Send SMS - Twilio node and bind those inputs.
- Under Settings → Verification code, add a custom configuration and select that Actionflow.
See User event collection – Send verification code for full steps.
Configure the Twilio node
In your Actionflow, set:
| Field | Description |
|---|---|
account_sid | Twilio Account SID |
auth_token | Twilio Auth Token |
from_phone_number | Your Twilio sender number (E.164 format) |
to_phone_number | Recipient number (E.164 format) |
message | SMS body (e.g. include the verification code) |
Both from_phone_number and to_phone_number must use E.164 format (with + and country code), e.g. +12025550100.
Send Notification SMS
For non-verification messages (e.g. order shipped):
- Create an Actionflow with inputs such as
phone_numberandmessage. - Add a Send SMS - Twilio node and bind the inputs.
- Trigger the Actionflow from a frontend Call Actionflow action or from another Actionflow.
Output: No direct frontend output. The SMS is delivered to the recipient’s device.
Platform support: Configured in Actionflows; can be triggered from Web and Native App.
Node reference: Actionflow Node List – Send SMS - Twilio.
Email Notifications
Momen supports email for verification and custom notification flows.
Built-in Email (Verification)
The Send Verification Code action can deliver codes via Momen’s built-in email service.
Configuration:
| Field | Description |
|---|---|
| Delivery method | Select Email |
| Scenario | Register, Login, Reset, Bind account, Unbind account, or Deregistration |
| Send to | Recipient email address |
See User event collection – Send verification code.
Custom Email via Actionflow
For transactional or marketing emails beyond built-in verification:
- Create an Actionflow with inputs such as
to_address,subject, andbody. - Add a Call API node (or Run Code node) to call your email provider (e.g. SendGrid, Mailgun, Amazon SES).
- Trigger the Actionflow from user actions, scheduled triggers, or database-change triggers.
Example scenarios:
- Welcome email after registration
- Order confirmation with receipt details
- Password reset link (when not using verification codes)
- Membership renewal reminders
Bring-your-own email delivery requires a project on Basic tier or higher when used with custom verification configurations.
Output: No direct frontend output. Delivery depends on your email provider.
Platform support: Configured in Actionflows; can be triggered from Web and Native App.
Make a Phone Call
Initiate a phone call to a configured number when the user taps a component.
Configuration
| Parameter | Description |
|---|---|
| Phone number | Number to dial; supports data binding (e.g. page variables) |
Platform Support
| Platform | Behavior |
|---|---|
| Native App | Opens the device’s dialer with the configured number |
| Web | Use the Open External Link navigation action with tel:+15551234567 to invoke the system dialer (macOS: FaceTime; Windows: Skype or default app; mobile browsers: native dialer) |
Output: No direct output. The system dialer opens with the number pre-filled.