Resend Connector
Automate onboarding flows, receipts, and incident alerts via Resend.
Required secrets
| Vault key | Description |
|---|---|
resend-api-key |
Resend re_ API key. |
loopcli secret add resend-api-key --value re_abcd1234
Common automations
- Send onboarding drip emails when new users sign up.
- Trigger renewal reminders before subscriptions expire.
- Deliver incident notifications with run summaries attached.
Example loop
name: resend-onboarding
steps:
- id: compose
name: Draft welcome email
type: http
config:
url: https://api.anthropic.com/v1/messages
method: POST
headers:
Authorization: "Bearer {{secret:anthropic-api-key}}"
Content-Type: application/json
body:
model: claude-3-haiku
max_tokens: 300
messages:
- role: user
content: "Write a friendly welcome email for {{run.payload.user.email}}"
- id: send
name: Send via Resend
type: http
config:
url: https://api.resend.com/emails
method: POST
headers:
Authorization: "Bearer {{secret:resend-api-key}}"
Content-Type: application/json
body:
from: "LoopCLI <notifications@example.com>"
to:
- "{{run.payload.user.email}}"
subject: "Welcome to LoopCLI"
html: "{{steps.compose.response.body.content[0].text}}"