The AI-Powered Recruiting Platform TA Teams Love
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`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})