with Pushsafer and UserVoice?
Emits new NPS ratings submitted through the UserVoice NPS widget. On first run, emits up to 10 sample NPS ratings users have previously submitted.
Pushsafer is an API that enables real-time notifications to your devices. With Pushsafer, you can send customized messages to Android, iOS, and Windows devices, quickly and efficiently. When integrated with Pipedream, this API can serve as the linchpin for a vast array of automation workflows, allowing for immediate alerts based on triggers from countless services and applications. Imagine getting notifications for new sales leads, system downtimes, or even receiving reminders for upcoming events - All of this becomes seamless with Pushsafer on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushsafer: {
type: "app",
app: "pushsafer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.pushsafer.com/api`,
params: {
"k": `${this.pushsafer.$auth.private_key}`,
"d": `${this.pushsafer.$auth.device}`,
"m": `Message / text of the push notification`,
},
})
},
})
The UserVoice API allows you to tap into customer feedback and support data to automate and enhance customer engagement processes. With the API, you can programmatically access UserVoice accounts to retrieve suggestions, tickets, and user data, allowing you to analyze customer trends, automate responses, and integrate with other customer success platforms. By leveraging Pipedream's capabilities, you can create event-driven workflows that react to UserVoice events, synchronize data across multiple services, and construct a more responsive customer feedback loop.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uservoice: {
type: "app",
app: "uservoice",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.uservoice.$auth.subdomain}.uservoice.com/api/v2/admin/users/current`,
headers: {
Authorization: `Bearer ${this.uservoice.$auth.access_token}`,
},
})
},
})