with Zoho Recruit and OneSignal (REST API)?
The Zoho Recruit API lets you access the Zoho Recruit ATS functionalities programmatically, enabling integrations with other services, automation of tasks, and enhancement of the recruitment process. With this API in Pipedream, you can trigger workflows based on events in Zoho Recruit, manipulate candidate data, post jobs, schedule interviews, and automate communication. The seamless connection between Zoho Recruit and other apps through Pipedream creates a powerful ecosystem to streamline your hiring workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_recruit: {
type: "app",
app: "zoho_recruit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://recruit.${this.zoho_recruit.$auth.base_api_uri}/recruit/v2/settings/roles`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_recruit.$auth.oauth_access_token}`,
},
})
},
})
OneSignal's REST API enables developers to automate the delivery of push notifications, manage users and segments, and gather analytics to refine communication strategies. By integrating OneSignal with Pipedream, you can orchestrate complex workflows that react to events or schedules, synchronize user data across platforms, and personalize user engagement with cross-channel marketing tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onesignal_rest_api: {
type: "app",
app: "onesignal_rest_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onesignal.com/api/v1/players`,
headers: {
"Authorization": `Basic ${this.onesignal_rest_api.$auth.rest_api_key}`,
},
params: {
app_id: `${this.onesignal_rest_api.$auth.app_id}`,
},
})
},
})