with Refiner and Pendo?
Emit new event whenever a user enters a segment in Refiner. See the documentation
Emit new event whenever a user completes a survey in Refiner. See the documentation
Identify a user with user ID or email. If the user does not exist, a new one will be created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
refiner: {
type: "app",
app: "refiner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.refiner.io/v1/account`,
headers: {
Authorization: `Bearer ${this.refiner.$auth.api_key}`,
},
})
},
})
The Pendo API provides a suite of endpoints that allow you to tap into user insights and product data collected by Pendo. With this API, you can automate the retrieval of visitor analytics, track feature usage, and manage guides and feedback within your application. When used within Pipedream, you can craft workflows that respond to this data in real-time, connect with other apps, and streamline your user-centric operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pendo: {
type: "app",
app: "pendo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.pendo.$auth.subdomain}.pendo.io/api/v1/report`,
headers: {
"x-pendo-integration-key": `${this.pendo.$auth.integration_key}`,
},
})
},
})