Email API for developers
Adds a contact to a specific static list. See the documentation
Create or update a batch of contacts by its ID or email. See the documentation
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,
})
},
})
The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubspot: {
type: "app",
app: "hubspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubapi.com/integrations/v1/me`,
headers: {
Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
},
})
},
})