For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resend

Send transactional email and manage contacts and broadcasts with Resend.

Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

Connector
Authentication

Resend

API key

Resend

Connect to Resend to send email and manage contacts and broadcasts.

Set up in Resend

  1. Prepare the Resend account or service that the workflow will access. Grant access to the required resources and operations.

  2. Create or obtain the API credential identified in the fields below. Use the provider instructions linked with those fields to find its key-management page.

Set up in StackAI

  1. Open Settings → Connections, add a connection, and select Resend.

  2. Enter the credentials and connection details in the fields below.

  3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

Connection fields

StackAI field
Required
What to enter

API key

Yes

Use Full access for all actions. Sending-only keys can send transactional email but cannot manage contacts, segments, or broadcasts. Provider instructions.

Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

Use an action

  1. Add the required Resend action to the workflow.

  2. Select a connection when the action requests one.

  3. Complete the required fields. Use the reference picker when a value comes from another workflow step.

  4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

Actions

Send transactional email

Send one transactional email through Resend.

Inputs

Field
Type
Required
Description

From

string

Yes

The sender address, optionally with a display name.

To

textarea

Yes

Comma-separated recipient email addresses.

Subject

string

Yes

The email subject line.

HTML content

textarea

No

The HTML version of the email.

Text content

textarea

No

The plain-text version of the email.

Advanced options

boolean

No

Show optional delivery and attachment settings. Default: false.

Cc

textarea

No

Optional comma-separated Cc recipients.

Bcc

textarea

No

Optional comma-separated Bcc recipients.

Reply to

string

No

An optional reply-to email address.

Idempotency key

string

No

A unique key that prevents duplicate email sends for 24 hours.

Attachment URLs

textarea

No

Optional comma- or newline-separated public file URLs to attach.

Outputs

Field
Type
Description

Email ID

string

The Resend email ID.

Create audience

Create an audience using Resend's current Segments API.

Inputs

Field
Type
Required
Description

Audience name

string

Yes

The name for the new audience segment.

Outputs

Field
Type
Description

Audience ID

string

The Resend Segment ID.

Audience name

string

The created audience segment name.

Object type

string

The Resend resource type.

Add contact to audience

Create a global Resend contact and add it to an audience segment.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

Select the audience Segment, use the Segment ID from Create audience, or provide a known ID; never guess one. Options load from the selected connection.

Email

string

Yes

The contact's email address.

First name

string

No

The contact's first name.

Last name

string

No

The contact's last name.

Unsubscribed

boolean

No

Whether the contact starts globally unsubscribed. Default: false.

Outputs

Field
Type
Description

Contact ID

string

The global Resend contact ID.

Email

string

The created contact's email address.

Audience ID

string

The associated Resend Segment ID.

Unsubscribed

boolean

Whether the contact is globally unsubscribed.

Object type

string

The Resend resource type.

Create broadcast

Create a draft broadcast for a Resend audience segment.

Inputs

Field
Type
Required
Description

Audience

select (string)

Yes

The audience segment that will receive the broadcast. Options load from the selected connection.

From

string

Yes

The sender address, optionally with a display name.

Subject

string

Yes

The broadcast subject line.

HTML content

textarea

No

The HTML version of the broadcast.

Text content

textarea

No

The plain-text version of the broadcast.

Internal name

string

No

An optional internal name for the broadcast.

Reply to

string

No

Optional comma- or newline-separated reply-to addresses.

Preview text

string

No

Optional inbox preview text.

Outputs

Field
Type
Description

Broadcast ID

string

The Resend broadcast ID.

Status

string

The current broadcast status.

Audience ID

string

The broadcast's Resend Segment ID.

Subject

string

The broadcast subject.

From

string

The broadcast sender.

Send broadcast

Send or schedule the API-created draft returned by Create broadcast.

Inputs

Field
Type
Required
Description

Broadcast ID

string

Yes

The broadcast ID returned by Create broadcast.

Schedule for

string

No

An optional future send time.

Outputs

Field
Type
Description

Broadcast ID

string

The sent or scheduled broadcast ID.

Status

string

The current broadcast status.

Scheduled at

string

When the broadcast is scheduled to send.

Sent at

string

When the broadcast was sent.

Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.

Last updated

Was this helpful?