with Mumara and Resend?
The Mumara API provides programmatic access to powerful email marketing and SMS campaign tools, allowing for the automation of contact list management, campaign creation, and performance tracking. In Pipedream, you can leverage these capabilities to create custom workflows that integrate Mumara with other services, automate repetitive tasks, and react to events in real-time. By connecting Mumara's API with Pipedream's serverless execution platform, you can create data-driven workflows that streamline your marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mumara: {
type: "app",
app: "mumara",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://one.mumara.com/api/getLists`,
headers: {
Authorization: `Bearer ${this.mumara.$auth.api_token}`,
"Content-Type": `application/json`,
},
})
},
})
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,
})
},
})