A database-triggered email is an email workflow that starts when app data changes. For example:Documentation Index
Fetch the complete documentation index at: https://notikaai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- a user row is created
- a payment row is inserted
- an invite changes from drafted to sent
- an order status becomes shipped
- a support ticket is marked resolved
Why use a database trigger?
The database is often the most reliable source of truth for product state. If the row exists, changed, or reached a specific value, the workflow can react to that state directly. This reduces the need to add email API calls throughout your app code.How it differs from an API-triggered email
An API-triggered email starts because your app code called an email service. A database-triggered email starts because the data changed.| Type | Starts from | Best for |
|---|---|---|
| API-triggered email | app code | simple sends at a known moment |
| Database-triggered email | database event | workflows tied to app state |