Use cases
Discover common notification workflow patterns and examples.
Notifying your users at the right time with the right message can make all the difference for the user experience. Notika makes this easy.
Pro tip: Rethink scheduled notifications as transactional
Scheduled notifications are often implemented with some sort of cron job:
- Wakes up every day (or hour)
- Queries the database for notifications that need to be sent
- Sends those out (if the user hasn’t already received them)
This is so much work! You need to write up all this code, including a gnarly query, and then figure out how to verify it.
Instead, you can reformulate these as transactional notification workflows with delays using Notika. Consider the following structure.
This is a much more intuitive way to map out your notification workflows. Take a look at these examples for inspiration:
Why this is powerful: You can think about workflows in very simple terms, reducing complexity and the risk of bugs, while letting Notika handle the infrastructure behind the scenes.
Was this page helpful?