with Domo and Dante AI?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
domo: {
type: "app",
app: "domo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.domo.com/v1/users`,
headers: {
Authorization: `Bearer ${this.domo.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dante_ai: {
type: "app",
app: "dante_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dante-ai.com/profile`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.dante_ai.$auth.api_key}`,
},
params: {
team_id: `${this.dante_ai.$auth.team_id}`,
},
})
},
})