with SurveySparrow and Mautic?
Emit new event when a customer effort score (CES) survey receives a new submission.
Emit new event when a customer satisfaction (CSAT) survey receives a new submission.
Emit new event when a net promoter score (NPS) survey receives a new submission.
Emit new event each time a the specified survey receives a response.
The SurveySparrow API lets you tap into a robust platform for gathering feedback and insights. With Pipedream, you can automate interactions with your surveys, manage contacts, and analyze responses in real time. You can create workflows that trigger on new survey responses, sync data to other services, or even kick off email campaigns based on survey results. The power of Pipedream's serverless platform means you can integrate SurveySparrow with hundreds of other apps, enabling limitless automation scenarios without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
surveysparrow: {
type: "app",
app: "surveysparrow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.surveysparrow.com/v1/contacts`,
headers: {
Authorization: `Bearer ${this.surveysparrow.$auth.access_token}`,
},
})
},
})
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}`,
},
})
},
})