with PostHog and Clockwork Recruiting?
Emit new event when an action is performed in a project. See the documentation
Emit new event when a candidate status is changed.
Captures a given event within the PostHog system. See the documentation
Add a linkedin URL to a specific person. See the documentation
Create an address to a specific person. See the documentation
The PostHog API lets you track events, update user properties, and extract analytics to understand user behavior within your applications. Integrating this API into Pipedream workflows allows you to automate actions based on event data, sync user properties across platforms, and trigger alerts or notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
posthog: {
type: "app",
app: "posthog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.posthog.com/api/users/@me/`,
headers: {
Authorization: `Bearer ${this.posthog.$auth.api_key}`,
},
})
},
})
The Clockwork Recruiting API offers a suite of features tailored for executive search firms and in-house recruiting teams, enabling users to manage candidates, clients, and search projects with ease. By integrating this API with Pipedream, you can automate the recruitment process, sync data between various platforms, and streamline candidate engagement and tracking. Pipedream's serverless platform facilitates the creation of custom workflows using the Clockwork Recruiting API to optimize recruitment operations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clockwork_recruiting: {
type: "app",
app: "clockwork_recruiting",
}
},
async run({steps, $}) {
const auth_hash = Buffer.from(`${this.clockwork_recruiting.$auth.api_key}:${this.clockwork_recruiting.$auth.api_secret}`).toString('base64')
return await axios($, {
url: `https://api.clockworkrecruiting.com/v3.0/glagnor/people`,
headers: {
"Authorization": `Token ${auth_hash}`,
"X-API-Key": `${this.clockwork_recruiting.$auth.firm_service_key}`,
},
})
},
})