with Gem and ContactOut?
Emit new event when a candidate is added in Gem. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gem: {
type: "app",
app: "gem",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gem.com/v0/users`,
headers: {
"x-api-key": `${this.gem.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contactout: {
type: "app",
app: "contactout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.contactout.com/v1/stats`,
headers: {
"token": `${this.contactout.$auth.api_key}`,
},
params: {
period: `2025-06`,
},
})
},
})