Skip to Content

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

  1. SMS (Twilio)
  2. Email notifications
  3. 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:

  1. Create a Twilio account.
  2. Obtain Account SID and Auth Token.
  3. 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:

  1. Create an Actionflow with inputs: send to, verification code, and scenario.
  2. Add a Send SMS - Twilio node and bind those inputs.
  3. 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:

FieldDescription
account_sidTwilio Account SID
auth_tokenTwilio Auth Token
from_phone_numberYour Twilio sender number (E.164 format)
to_phone_numberRecipient number (E.164 format)
messageSMS 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):

  1. Create an Actionflow with inputs such as phone_number and message.
  2. Add a Send SMS - Twilio node and bind the inputs.
  3. 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:

FieldDescription
Delivery methodSelect Email
ScenarioRegister, Login, Reset, Bind account, Unbind account, or Deregistration
Send toRecipient email address

See User event collection – Send verification code.

Custom Email via Actionflow

For transactional or marketing emails beyond built-in verification:

  1. Create an Actionflow with inputs such as to_address, subject, and body.
  2. Add a Call API node (or Run Code node) to call your email provider (e.g. SendGrid, Mailgun, Amazon SES).
  3. 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

ParameterDescription
Phone numberNumber to dial; supports data binding (e.g. page variables)

Platform Support

PlatformBehavior
Native AppOpens the device’s dialer with the configured number
WebUse 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.

Last updated on