with Klaxoon and Gainsight PX?
Klaxoon offers interactive tools for enhanced team collaboration and engagement. The Klaxoon API enables programmatic interactions, allowing you to create, manage, and track Klaxoon activities like quizzes, surveys, and brainstorming sessions. When integrated into Pipedream workflows, you can automate interactions with Klaxoon, sync data with other services, and tailor collaboration activities to your team's needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
klaxoon: {
type: "app",
app: "klaxoon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.klaxoon.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.klaxoon.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_px: {
type: "app",
app: "gainsight_px",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.gainsight_px.$auth.base_endpoint}/accounts`,
headers: {
"X-APTRINSIC-API-KEY": `${this.gainsight_px.$auth.api_key}`,
},
})
},
})