Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
TurboHire is a talent acquisition platform that streamlines the hiring process using automation and AI. With its API, you can enrich candidate profiles, automate communication, and trigger actions based on recruitment stages. On Pipedream, you can leverage TurboHire’s API to create powerful automations by connecting it to a multitude of services, thus enhancing the hiring workflow, maintaining candidate databases, and ensuring timely interactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
turbohire: {
type: "app",
app: "turbohire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.turbohire.co/api/jobs/:job-id`,
headers: {
"X-Api-Key": `${this.turbohire.$auth.api_key}`,
"Content-Type": `application/json`,
},
params: {
"job-id": `{{Job-ID}}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS