To demonstrate the extensive range of possibilities, we’ve crafted a subscriber profile enriched with various attributes to highlight the flexibility of our system.

const subscriber = {
    subscriberId: '6427e97d0136cef86a315c46',
    firstName: 'John',
    lastName: 'Doe',
    email: 'john.doe@gmail.com',
    phone: '+98712345677',
    avatar: 'https://sm.ign.com/ign_nordic/cover/a/avatar-gen/avatar-generations_prsz.jpg',
    locale: 'en-US',
    data: {
        plan: 'basic',
        zipcode: 14925,
        validVehicleLicense: true
    }
};

Let’s go over examples for each communication channel:

Email

There are multiple ways to craft your email notification content for maximum impact.

Please remember that you have the option to preview the anticipated output of your input using the editor. Simply switch from the editing mode to the preview mode to see the results.

Regular Editor

Example: Send a personalized welcome email to a user by leveraging their properties.

Input:

Hello {{subscriber.firstName}} {{subscriber.lastName}}!

We are excited to welcome you to our {{subscriber.data.plan}} plan.
Look forward to receiving daily updates from us on your phone number: {{subscriber.phone}}.

{{#if subscriber.data.validVehicleLicense}}
Why not consider renting a car to visit us?
{{else}}
We're delighted to offer you a train ticket to come see us.
{{/if}}

Should you require any assistance, don't hesitate to reach out.
Best regards,
Your friends at Novu.

Output:

Hello John Doe!

We are excited to welcome you to our basic plan.
Look forward to receiving daily updates from us on your phone
number: +98712345677.

Why not consider renting a car to visit us?
Should you require any assistance, don't hesitate to reach out.
Best regards,
Your friends at Novu.

Custom Code Editor

Input:

Output:

Email Subject, Sender Name and Preheader field accepts system, payload variables and handlebar helpers
Explore how to manage Email layouts.

In-App

The In-App notification content editor closely resembles the Email notification editor, although with some discernible differences.

You can:

  • Transform notifications into clickable links, redirecting to your specified URLs
  • Enjoy unlimited character freedom
  • Utilize all variables to craft dynamic and personalized messages
  • Infuse your brand’s essence with customizable elements
  • Drive engagement with action buttons
  • Embed avatar images
  • Preview the expected output

SMS

When crafting your SMS notification, you can tap into all the available variables and even add dynamic ones.

Chat

We make it effortless to send notifications to chat providers like Slack, Microsoft Teams, and Discord. Meet your users in the tools they use daily. You have the ability to utilize all variables to craft dynamic and personalized messages.

Push

Push channel has two fields Push Message Title and Push Message Content where user can write hard coded text content or use system, dynamic variables or handlebar helpers to customize notification content.