---
title: Resend
description: Configure Resend as an email provider in Notiflows
---

Resend is a modern email API designed for developers with a clean, intuitive interface.

## Prerequisites

Before configuring Resend in Notiflows, you need:

1. A [Resend account](https://resend.com/signup)
2. A verified domain
3. An API key with sending access

## Configuration

| Field | Required | Description |
|-------|----------|-------------|
| API Key | Yes | Resend API key with sending access |
| From Email | Yes | An email address on your verified domain |
| From Name | No | Display name shown to recipients (e.g., `My App`) |

## Step 1: Add and verify a domain

Resend requires you to verify the domain you send from by adding DNS records.

1. Log in to the [Resend dashboard](https://resend.com)
2. In the left navigation, click **Domains**
3. Click **Add Domain**
4. Enter your domain name — Resend recommends using a subdomain like `updates.yourdomain.com` to separate transactional email from your root domain's reputation
5. Resend provides DNS records to add:
   - **SPF** (TXT record) — authorizes Resend to send from your domain
   - **DKIM** (TXT record) — provides a public key to verify email authenticity
6. Add both records to your DNS provider
7. Return to the Resend dashboard and click **Verify**

<Callout>
DNS changes typically propagate within a few hours but can take up to 72 hours. If the domain isn't verified after 72 hours, the status changes to "failed" and you'll need to re-add it.
</Callout>

## Step 2: Create an API key

1. In the Resend dashboard, click **API Keys** in the left navigation
2. Click **Create API Key**
3. Enter a name (e.g., `Notiflows`) — maximum 50 characters
4. Select **Sending access** — this is the minimum permission needed and is recommended over full access
5. Optionally restrict the key to a specific verified domain
6. Click **Create**
7. Copy the API key immediately

<Callout>
Resend only shows the API key once. Copy it now and store it securely. If you lose it, you'll need to create a new key.
</Callout>

## Step 3: Set up in Notiflows

1. Navigate to **Channels** in your project
2. Click **Create Channel**
3. Select **Email** as the channel type
4. Select **Resend** as the provider
5. Paste your **API Key**
6. Enter your verified **From Email** (must be on your verified domain) and optionally a **From Name**
7. Save the channel

## Templates

Email templates support three content types:
- **Visual** - Drag-and-drop editor for rich HTML emails
- **HTML** - Raw HTML with full control
- **Plaintext** - Simple text emails

Use Liquid templating for dynamic content:

```liquid
Hi {{ recipient.first_name }},

{{ data.message }}
```

Available variable contexts:
- `recipient.*` - Recipient user data (first_name, last_name, email, etc.)
- `actor.*` - User who triggered the notification
- `data.*` - Custom payload passed when triggering the notiflow
