with DitLead and Klaxoon?
Emit new events according to the selected event types. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ditlead: {
type: "app",
app: "ditlead",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ditlead.com/v1/apikey/validate`,
headers: {
Authorization: `Bearer ${this.ditlead.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})