with Mautic and GoDial?
The Mautic API empowers marketers to automate and integrate a wide range of marketing tasks directly into Pipedream workflows. With Mautic's API, you can manage contacts, campaigns, emails, and reports, and use triggers to automate responses based on user behavior. It's a robust tool to align marketing efforts with real-time data and actions, making it possible to personalize communication, streamline follow-ups, and ultimately drive conversions with less manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mautic: {
type: "app",
app: "mautic",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.mautic.$auth.mautic_url}/api/users/self`,
headers: {
Authorization: `Bearer ${this.mautic.$auth.oauth_access_token}`,
},
})
},
})
GoDial turns your phone into a call center, enabling businesses to manage calls and contacts efficiently. The API provides programmatic access to this functionality, allowing you to trigger calls, manage contacts, and automate call logging. With Pipedream, you can harness GoDial's capabilities to create workflows that connect call activities with CRM platforms, customer support tickets, and notification systems, streamlining communication processes within your business.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
godial: {
type: "app",
app: "godial",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://enterprise.godial.cc/meta/api/externals/accounts/list`,
params: {
access_token: `${this.godial.$auth.api_token}`,
},
})
},
})