Skip to content
Proud to collaborate with Microsoft for Startups

resend.email.send ​

Send a transactional email via Resend

Send a transactional email via the Resend API.

Inputs:

  • from_address: Verified sender address (required), e.g. hello@example.com.
  • to_addresses: List of recipient email addresses (required).
  • subject: Email subject line (required).
  • html: HTML email body (optional but recommended).
  • text: Plain-text email body (optional).
  • reply_to: Reply-to address (optional).
  • cc: List of CC addresses (optional).
  • bcc: List of BCC addresses (optional).

Outputs (terminal state_data):

  • email_id: str — Resend email ID

Plugin required: context.get_plugin("resend") must expose .api_key.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-resend
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
from_addressstringYes—Verified sender address
to_addressesjsonYes—List of recipient addresses
subjectstringYes—Email subject
htmlstringNo—HTML body
textstringNo—Plain-text body
reply_tostringNo—Reply-to address
ccjsonNo—List of CC addresses
bccjsonNo—List of BCC addresses

Output Schema ​

FieldTypeRequiredDefaultDescription
from_addressstringNo——
to_addressesjsonNo——
subjectstringNo——
htmlstringNo——
textstringNo——
reply_tostringNo——
ccjsonNo——
bccjsonNo——
email_idstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "resend.email.send",
  "initial_data": {
    "from_address": "value",
    "to_addresses": "value",
    "subject": "value"
  }
}