with Factorial (API Keys) and VoxApp?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
factorial_api_keys: {
type: "app",
app: "factorial_api_keys",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.factorialhr.com/api/2025-10-01/resources/api_public/credentials`,
headers: {
"x-api-key": `${this.factorial_api_keys.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
voxapp: {
type: "app",
app: "voxapp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dev-api.voxapp.com/api/v1/assistant`,
headers: {
Authorization: `Bearer ${this.voxapp.$auth.oauth_access_token}`,
},
})
},
})