with Mautic and Smoove?
Adds a new contact to your account or update an existing contact. See the docs
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 Smoove API, part of the Sendbird platform, offers a suite of communication capabilities such as messaging, chat, and video interactions. With Pipedream, you can leverage these features to automate interactions, sync communication data with other services, and create event-driven workflows. For example, you can trigger actions in other applications when new messages arrive, synchronize user profiles across platforms, or automate notifications for chat events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smoove: {
type: "app",
app: "smoove",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.smoove.io/v1/Lists`,
headers: {
Authorization: `Bearer ${this.smoove.$auth.api_key}`,
},
})
},
})