The Resend API opens a direct line to powerful communication automation, letting you send, receive, and track messages across various channels like SMS and email. In Pipedream, Resend's capabilities can be harnessed within serverless workflows, allowing for dynamic interactions based on triggers from a multitude of integrated services. From confirmation messages to multi-step notification sequences, you can craft tailored communication flows that react in real-time to your application or service's needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
resend: {
type: "app",
app: "resend",
}
},
async run({steps, $}) {
const data = {
"from": `onboarding@resend.dev`,
"to": `user@example.com`,
"subject": `pipedream testing`,
"text": `it works!`,
}
return await axios($, {
method: "post",
url: `https://api.resend.com/email`,
headers: {
Authorization: `Bearer ${this.resend.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Automated Order Confirmation Emails: When a new order is placed in an e-commerce platform like Shopify, Pipedream can trigger a workflow that uses the Resend API to send a confirmation email to the customer. The content can be dynamically populated with order details, providing a personalized touch.
SMS Notifications for Critical System Alerts: Link Resend with a monitoring tool like Datadog within Pipedream. When a critical alert is detected, trigger a workflow that sends an urgent SMS to the on-call engineer, reducing response times for system outages or performance issues.
Multi-channel Customer Support Tickets: Combine Resend with Help Scout in Pipedream. When a support ticket is created or updated, the workflow can send a message via the customer's preferred channel. This ensures timely updates and enhances the overall customer support experience.
Resend uses API keys for authentication. When you connect your Resend account, Pipedream securely stores the keys so you can easily authenticate to Resend APIs in both code and no-code steps.
Generate and copy your API Key from your dashboard.