Prerequisites
- A Courier account with at least one email provider configured (e.g., SendGrid, Postmark, Amazon SES)
- Your Courier API key (found in Settings > API Keys)
Build the Journey
Create a new journey
Navigate to Journeys and click New Journey. You’ll see the trigger selection screen.

Choose the API trigger
Click API. This creates a journey that starts when your code sends a POST request. Courier adds a trigger node to the canvas and opens its configuration panel.
Define schema fields
Schema fields define the data contract between your application and this journey. Every invocation must include these fields.Add two fields:
Click Add Field for each one, enter the name, select the type, and save. These fields will be available as variables throughout the journey.
| Field name | Type |
|---|---|
user_name | String |
signup_source | String |

Add a Send Email node
Drag a Send node from the palette onto the canvas below the trigger, or click the + button on the edge below the trigger node. Select Email as the channel.
Create the message template
In the send node’s configuration panel, click + Create next to “Message.” Courier creates a new template and opens the template designer.Design your welcome email:
- In the Subject field at the top, type
Welcome,then insert theuser_namevariable so it readsWelcome, {{user_name}}! - In the body editor, add a Text block and write something like
Thanks for signing up via {{signup_source}}. We're glad you're here.

Invoke the Journey
Copy the journey ID from the URL bar (app.courier.com/journeys/:journeyId/design) and invoke it with your schema fields.
202 response with a runId.
Make sure user
user_123 has an email address in their Courier profile, or include it in the profile field of the request. Without an email, the send node won’t have a delivery address.