Send a Notification

Once you have completed the Design and Preview steps, the last step is to generate a code snippet you can test and integrate with your codebase.

Sending a Notification in the Courier UI

To send a Notification, a developer needs to integrate the code snippet generated by Courier with your codebase. Integration options include Courier's SDKs and making an HTTP request directly to the Courier Send API.

If you have missed any of the steps required to send the Notification, you will see a call to action for that step in the Send Tab.

Missing Steps Before Sending in Courier

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.

Generating a Code Snippet to Send Notifications

Generating the code snippet

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:

3. 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:

5. Select the Brand (for Email Notifications)

1. Setting the programming language for the code snippet

Gif showing the language selection tool in action.
  • Switch programming languages to generate the code snippet in the language needed to integrate the Notification into your codebase.

  • Clicking View SDK in the Send tab will link you directly to the SDK for the language you've selected

2. Selecting the Notification Event

Selecting the Notification to Send
  • The Notification Event included in the code snippet is used to identify and trigger the correct Notification.

  • This event can be either the Notification ID or the Event ID mapped to it in the Event Settings.

3. The Recipient ID

  • A unique identifier associated with the recipient of the delivered message.

  • The string in the code snippet is randomly generated to enable the test send.

  • You can click into the field and customize it.

  • When integrating into your codebase, your app will need to insert the correct Receipient ID into the send command.

Sending a test Notification.

Once you have completed steps 1–3 to generate the correct code snippet, complete steps 4 and 5 to send a test Notification via your integrated channels.

Note: To send a test Notification, you need:

4. Select a Test Event

Select the Test Event with the profile data of the recipient for your test Notification.

5. Specify the Brand

If you are testing an Email Notification, you can specify which of your Brand Email Templates you want to have applied to the test. If you don't specify a Brand, Courier will apply your Default Brand.

Selecting a Brand for Test Email Notification Send

6. Send a test Notification

Once you've completed steps 1–5, click Send Notification. Check the Data Logs to review the results.

Send a Test Notification in Courier

7. Copy and share the code snippet

You can click Share Snippet to email the code snippet with a developer.

Sharing the Code Snippet to Send a Notification
Entering an Email to Share the Code Snippet

You can also click Copy Snippet to integrate it into your codebase or share it with your developer through other channels. If you're not sure how to do that, here are a few options for sharing the Code Snippet.

Copying the Code Snippet to Send a Notification

Did this answer your question?