User feedback made easy and actionable
Emits new NPS ratings submitted through the UserVoice NPS widget. On first run, emits up to 10 sample NPS ratings users have previously submitted.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Using the UserVoice API, developers can build powerful customer service tools
to improve the service your organization provides to its customers. Here are
just a few of the possibilities:
These are just a few of the possibilities that can be accomplished through the
UserVoice API. With its comprehensive suite of features, your organization will
be able to provide exceptional customer service experiences and better serve
your customers.
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}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})