with Mumara and Nutrient Workflow Automation?
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutrient_workflow_automation: {
type: "app",
app: "nutrient_workflow_automation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workflow-trial.on-nutrient.io/api/user/`,
headers: {
Authorization: `Bearer ${this.nutrient_workflow_automation.$auth.oauth_access_token}`,
"accept": `application/json`,
},
params: {
search: `Pipedream`,
},
})
},
})