Adding SMS Channel
Learn how to add the SMS channel to your application
Enable SMS channel in Novu Dashboard
The SMS channel is not enabled by default. To use it, configure a provider like Twilio, Nexmo, or
others, and ensure compliance with country-specific restrictions for sender IDs (from
).
- Go to the Novu Dashboard and click "Integrations" on the left sidebar
- Click "Add a provider"
- Locate the SMS channel and select the provider you want to use and click "Next"
- Select for which environment you want to add the Provider
- (Optional) Add Conditions to activate the provider only under certain conditions, useful for tenant-based providers
- Click "Create"
- Add your SMS provider credentials:
- From: Displayed as the sender of the SMS (ensure compliance with local regulations)
- Provider-specific credentials such as API key / Auth token, Account SID, username, or password
- Save the configuration by clicking "Update"
Setup workflow with SMS channel in Novu Dashboard
- Go to the Novu Dashboard and click "Workflows" on the left sidebar.
- Click the "Add a Workflow" button.
- Add a step and select "SMS" as the channel.
- Configure the SMS content:
- Message body (e.g.,
{{userName}}, your order {{orderId}} has shipped.
). - Dynamic placeholders for personalized content.
- Message body (e.g.,
- Optionally, set fallback channels to ensure reliable delivery if SMS fails.
Add a workflow trigger to your backend
Novu's server-side SDKs make integrating Novu's REST APIs straightforward, letting you focus on implementing workflows without dealing with repetitive code.
Server-side SDKs
Test and verify SMS channel
Ensure your SMS configuration is working correctly by testing the setup.
- Go to the Novu Dashboard, navigate to the "Workflows" section, and locate your configured workflow.
- Click "Test Workflow" and provide sample data, such as a phone number or dynamic variables.
- Verify delivery in the Novu Logs or your SMS provider's dashboard.
Some countries have strict restriction of using verified from
sender id (name). Kindly check
country and provider specific requirements first.