The Resend connector lets your workflows send transactional and marketing emails, manage audience contacts, and verify sending domains.
If you just need to send a quick notification email without setting up an external service, use the built-in Send Email node instead, as it sends from Spojit with no connection required.
Connection setup
Get your API key
Log in to the Resend dashboard and navigate to API Keys . Create a new API key or copy an existing one.
Add the connection in Spojit
Go to Connections in Spojit, click Add Connection , select Resend , and enter:
API Key : Your Resend API key (starts with re_)
Default From Address (optional): A default sender address (e.g., Team <hello@yourdomain.com>) used when from is not specified in the tool parameters
Make sure you’ve verified a sending domain in Resend before sending emails. Emails from unverified domains will fail.
Emails
send-email: Send an email
Sender address. Falls back to the connection’s default from address.
to
string | string[]
required
Recipient email address(es).
Email tags for tracking. Each tag has a name and value.
Schedule send time (ISO 8601).
File attachments. Each item is an object with a filename and base64-encoded content. In a workflow, map content to an upstream output that already produces base64-encoded bytes (e.g. a file downloaded over HTTP/FTP, or a document produced by another step).
Example request: {
"from" : "Acme <onboarding@resend.dev>" ,
"to" : [ "delivered@resend.dev" ],
"subject" : "hello world" ,
"html" : "<p>it works!</p>" ,
"reply_to" : "onboarding@resend.dev" ,
"attachments" : [
{ "filename" : "report.csv" , "content" : "Y29sMSxjb2wyCg==" }
]
}
Example response: {
"id" : "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}
send-batch-emails: Send multiple emails
Array of email objects with the same fields as send-email (including attachments).
Example request: {
"emails" : [
{
"from" : "Acme <onboarding@resend.dev>" ,
"to" : [ "foo@gmail.com" ],
"subject" : "hello world" ,
"html" : "<h1>it works!</h1>"
},
{
"from" : "Acme <onboarding@resend.dev>" ,
"to" : [ "bar@outlook.com" ],
"subject" : "world hello" ,
"html" : "<p>it works!</p>"
}
]
}
Example response: {
"data" : [
{
"id" : "ae2014de-c168-4c61-8267-70d2662a1ce1"
},
{
"id" : "faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb"
}
]
}
get-email: Get sent email details
Example request: {
"id" : "4ef9a417-02e9-4d39-ad75-9611e0fcc33c"
}
Example response: {
"object" : "email" ,
"id" : "4ef9a417-02e9-4d39-ad75-9611e0fcc33c" ,
"to" : [ "delivered@resend.dev" ],
"from" : "Acme <onboarding@resend.dev>" ,
"created_at" : "2023-04-03T22:13:42.674981+00:00" ,
"subject" : "Hello World" ,
"html" : "Congrats on sending your <strong>first email</strong>!" ,
"text" : null ,
"bcc" : [],
"cc" : [],
"reply_to" : [],
"last_event" : "delivered" ,
"scheduled_at" : null ,
"tags" : [
{
"name" : "category" ,
"value" : "confirm_email"
}
]
}
list-emails: List all sent emails
No parameters required. Example response: {
"object" : "list" ,
"has_more" : false ,
"data" : [
{
"id" : "4ef9a417-02e9-4d39-ad75-9611e0fcc33c" ,
"to" : [ "delivered@resend.dev" ],
"from" : "Acme <onboarding@resend.dev>" ,
"created_at" : "2023-04-03T22:13:42.674981+00:00" ,
"subject" : "Hello World" ,
"bcc" : null ,
"cc" : null ,
"reply_to" : null ,
"last_event" : "delivered" ,
"scheduled_at" : null
}
]
}
create-contact: Add a contact to an audience
list-contacts: List contacts in an audience
get-contact: Get a contact by ID
update-contact: Update a contact
delete-contact: Remove a contact
Domains
list-domains: List configured domains
No parameters required. Example response: {
"object" : "list" ,
"has_more" : false ,
"data" : [
{
"id" : "d91cd9bd-1176-453e-8fc1-35364d380206" ,
"name" : "example.com" ,
"status" : "not_started" ,
"created_at" : "2023-04-26T20:21:26.347412+00:00" ,
"region" : "us-east-1"
}
]
}
get-domain: Get domain details
Example request: {
"id" : "d91cd9bd-1176-453e-8fc1-35364d380206"
}
Example response: {
"object" : "domain" ,
"id" : "d91cd9bd-1176-453e-8fc1-35364d380206" ,
"name" : "example.com" ,
"status" : "not_started" ,
"created_at" : "2023-04-26T20:21:26.347412+00:00" ,
"region" : "us-east-1" ,
"records" : [
{
"record" : "SPF" ,
"name" : "send" ,
"type" : "MX" ,
"ttl" : "Auto" ,
"status" : "not_started" ,
"value" : "feedback-smtp.us-east-1.amazonses.com" ,
"priority" : 10
},
{
"record" : "SPF" ,
"name" : "send" ,
"value" : " \" v=spf1 include:amazonses.com ~all \" " ,
"type" : "TXT" ,
"ttl" : "Auto" ,
"status" : "not_started"
},
{
"record" : "DKIM" ,
"name" : "resend._domainkey" ,
"value" : "p=MIGfMA0GCSqGSIb3DQEBAQUAA4..." ,
"type" : "TXT" ,
"status" : "not_started" ,
"ttl" : "Auto"
}
]
}
verify-domain: Trigger DNS verification
Example request: {
"id" : "d91cd9bd-1176-453e-8fc1-35364d380206"
}
Example response: {
"object" : "domain" ,
"id" : "d91cd9bd-1176-453e-8fc1-35364d380206"
}
Advanced
raw-request: Make an arbitrary HTTP request
Send a request to any Resend API endpoint. HTTP method: GET, POST, PATCH, PUT, or DELETE.
API path (e.g., /emails).
Example request: {
"method" : "POST" ,
"path" : "/emails" ,
"body" : {
"from" : "Acme <onboarding@resend.dev>" ,
"to" : [ "delivered@resend.dev" ],
"subject" : "Hello World" ,
"html" : "<p>Congrats on sending your first email!</p>"
}
}
Example response: {
"id" : "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}