Get started with emailing custom notifications using Liveblocks and Next.js

Liveblocks is a realtime collaboration infrastructure for building performant collaborative experiences. Follow this guide to send custom notifications to email using methods from @liveblocks/node.

Quickstart

  1. Install Liveblocks Node

    Every Liveblocks package should use the same version.

    Terminal
  2. Trigger a custom notification

    Trigger a custom notification using triggerInboxNotification from a server action or route handler. In this example, a custom $fileUploaded notification is sent.

  3. Follow our guide

    Follow our step-by-step guide to learn set up email notifications.

    How to notify users with email

What to read next

Congratulations! You've set up Email notifications in your Next.js application.


Examples using Notifications