with Taleez and WbizTool?
Emit new event when a candidate is added in Taleez. See the documentation
Emit new event when a job listing is created in Taleez. See the documentation
Links an existing candidate to a job offer. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
taleez: {
type: "app",
app: "taleez",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.taleez.com/0/units`,
headers: {
"x-taleez-api-secret": `${this.taleez.$auth.secret_key}`,
"accept": `application/json;charset=UTF-8`,
},
params: {
page: `0`,
pageSize: `100`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wbiztool: {
type: "app",
app: "wbiztool",
}
},
async run({steps, $}) {
const data = {
"client_id": `${this.wbiztool.$auth.api_client_id}`,
"api_key": `${this.wbiztool.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://wbiztool.com/api/v1/me/`,
data,
})
},
})