with Mautic and Postalytics?
Displays a list of contacts in Postalytics. See the documentation
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}`,
},
})
},
})
The Postalytics API lets you automate direct mail marketing campaigns, manage contacts, and track results. By integrating Postalytics with Pipedream, you can build serverless workflows that leverage your marketing stack, sync data across platforms, and personalize your outreach efforts. You can trigger direct mail pieces based on customer behavior, update your CRM with mailing results, or create custom analytics dashboards.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postalytics: {
type: "app",
app: "postalytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.postalytics.com/api/v1/contacts`,
auth: {
username: `${this.postalytics.$auth.api_key}`,
password: ``,
},
})
},
})