The SMS channel delivers messages to your subscribers’ mobile devices through your configured SMS provider integrations.
SMS is outbound-only in Novu. You can send SMS through workflows, but Novu does not receive or route inbound SMS replies. For two-way messaging, use a supported agent channel (Slack, Teams, WhatsApp, Telegram, or email) or handle inbound SMS with your provider’s webhooks directly.
How SMS delivery works in Novu#
Here’s the typical flow for sending an SMS notification through Novu:
Add an SMS provider#
Start by adding an SMS provider in the Integration Store on your Novu dashboard. You can connect one or more integrations for the different or the same providers.
To learn how to add an SMS provider, refer to the guide for that provider.
Add the SMS channel to your workflow#
Next, include an SMS step in your workflow. This step defines when and how an SMS should be sent as part of your notification workflow.
Define the SMS content#
Within the SMS step editor, write the message body. The editor supports dynamic data for personalized content.
Store subscriber phone number#
Novu automatically sends the notification to the phone number stored on the subscriber’s profile. Make sure this field is set for any subscriber who needs to receive SMS messages, unless you supply a recipient with the to override at trigger time. You can store subscribers phone number using the Novu API, or SDK.
Trigger the workflow#
Trigger the workflow from your application code by sending an event to Novu. Novu automatically:
- Resolves the subscriber.
- Selects the correct provider. See Integration conditions.
- Renders the SMS template.
- Delivers the message through the configured SMS integration.
Some countries restrict using verified from sender IDs (name). Kindly check the country- and provider-specific requirements first.
Configuring SMS providers#
To add an SMS provider from the Integration Store, you must configure settings and credentials that are specific to that SMS provider.
Default sender settings#
The From field, which is displayed as the sender of the SMS, is a required default setting for any SMS provider that you connect. You can override this field during trigger if necessary.
Provider authentication#
You must provide credentials specific to your SMS provider, such as:
- API key
- Auth token
- Account SID
- Username
- Password.
Each provider has different requirements.
Refer to the supported SMS providers list for detailed setup guides for each provider integration.
Override SMS settings#
You can override the SMS settings when triggerring a notification by passing the overrides object. The overrides object field supports an sms property and from, to, and content field overrides. This lets you send a message to a different recipient, from a different sender, or with a different content.
When you set to in the SMS overrides, Novu delivers the message to that number even if the subscriber has no stored phone number. Without a to override, Novu uses the subscriber’s stored phone number and skips the SMS step when it is missing.
Target a specific provider#
By default, Novu uses your primary SMS provider. To route automatically from subscriber or context data, see Integration conditions. To force a specific, active integration for a trigger, then use the integrationIdentifier.
This is useful if you have multiple active integrations for different purposes. For example, you might have one integration for transactional SMS and one for security SMS. You can find the integrationIdentifier in the Integration Store of the Novu dashboard.
When you pass integrationIdentifier in overrides.sms, Novu sends through that integration and doesn’t check integration conditions for the step. If the integration doesn’t exist or isn’t active, the step fails instead of falling back to the primary integration.
Supported providers#
Here are the SMS providers that are currently supported by Novu. Select any provider to see its detailed setup guide.