How To Send A Product Notification
This how to guide walks through triggering a product notification send using the Courier Send API or the Segment integration.
Send a Notification
The easiest way to access the code snippet to send your notification via the Courier Send API is to select the 'Send' tab from within the notification designer, and select the runtime that you want to use to make the send call from.
Generating the Code Snippet to Integrate in Your Codebase
Once you have completed the required steps, you'll be able to generate a code snippet and send a test Notification.
To generate the right code snippet for your database to start sending your Notification to live users, confirm you have the right selection for these three settings:
- Select your programming stack
- Set the notification event
- Recipient id setting
Sending a Test Notification
After you configure the Code Snippet, setting these values will allow you to send a test Notification from the Send Tab:
- Select a test event
- Select the brand (Email notifications)
- Send a test notification
- Copy the code snippet
Read more: How to Send a Notification
Trigger an Automation with Segment
Once you have created an Automation, you need to configure the Segment event as the Automation trigger. You can select from identify, group, and track events.