with LogSnag and SurveySparrow?
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.
Sends a saved NPS share template via SMS to given mobile number recipients. See the documentation
Sends a saved email share template to a provided email address. Configure the saved template's name and the recipient's email address. See the documentation
LogSnag is a real-time event tracking API that enables developers to monitor and track events in their applications. With LogSnag, you can create simple, powerful dashboards to watch events as they happen and set up triggers to notify you of important activities. On Pipedream, LogSnag's capabilities can be harnessed to automate workflows, integrating with numerous services to create a blend of operations, such as triggering notifications, logging significant events, and gathering metrics across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logsnag: {
type: "app",
app: "logsnag",
}
},
async run({steps, $}) {
const data = {
"project": `[project_name]`,
"channel": `[channel]`,
"event": `Test request`,
"description": `Making a test request on LogSnag`,
}
return await axios($, {
method: "post",
url: `https://api.logsnag.com/v1/log`,
headers: {
Authorization: `Bearer ${this.logsnag.$auth.api_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})