Overview

Resend is the email API for developers. With our Resend integration you can send email campaigns, transactional emails, and automated emails (drip campaigns) from your app.

Installing the Resend packages

To get started with our Resend integration, you need to install the @trigger.dev/resend packages. You can do this using npm, pnpm, or yarn:

npm install @trigger.dev/resend@latest

Authentication

Resend supports API Keys. Official documentation here.

import { Resend } from "@trigger.dev/resend";

const resend = new Resend({
  id: "resend",
  apiKey: process.env.RESEND_API_KEY!,
});

Tasks

Once you have set up a Resend client, you can use it to create tasks.

Tasks

Send emails with Resend.

Example jobs

Code examples

Check out pre-built jobs using Resend in our API section.

Was this page helpful?