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.
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})