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