Set up guide to send In-app Inbox notifications via SuprSend.
Create SuprSend account
See a live demo of Inbox Implementation in playground
Start testing in Sandbox workspace
Create a workflow
+ Create workflow
button on the workflows tab.{{var}}
.
Add trigger data in the mock to get variable auto-suggestions during editing.
Ensure to publish the template before using it in a workflow.
Learn more about how to design In-app Inbox template here.
Trigger the Workflow
Test
’ button in your workflow editor or “Commit” changes to trigger it from your code. We follow Git like versioning for workflow changes, so you need to commit your changes to trigger new workflow via the API. You can check all methods of triggering workflow here.To trigger a workflow, you need:distinct_id
within SuprSend and must have the relevant channel identity set in their profile. You can define recipient inline in case of API based trigger or create user profile first for event based trigger.In Sandbox environment, a sample user with your registered email ID is pre-created for testing. You can always add more users or edit existing user profile from subscriber page on UI.
Check logs to see the status of your sent notification
Integrate Inbox in your product
Language | Documentation | Example App / Code |
---|---|---|
React (Web) | link | not needed. It is a drop-in component of Inbox with pre-designed UI and available customization options to make it native looking. |
React Headless (Web)- to design custom Inbox UI | link | https://github.com/suprsend/suprsend-inbox-example |
Angular (Web) | link | https://github.com/suprsend/angular-example |
Embeddable Inbox (Web)- used in other javascript applications like Vue, Next etc. | link | https://github.com/suprsend/suprsend-web-inbox/blob/main/index.html |
React Native (Mobile App) | link | https://codesandbox.io/s/suprsend-react-headless-example-qkxobd?file=/src/App.tsx |
Flutter (Mobile App) | link | https://github.com/suprsend/suprsend-flutter-sdk/blob/main/example/lib/main.dart |
subscriber_id
in your server-side code. All you have to do is pass distinct_id
of the user (a unique identifier of user in your database, preferably a numeric code or UUID) and Shared Secret key available on your Inbox vendor page.Push to Production