with Breezy HR and Contentful (API Key)?
Breezy HR's API unlocks the power to streamline recruitment processes by automating routine tasks and integrating with a multitude of other apps. With this API on Pipedream, you can craft custom workflows to manage candidates, coordinate interview schedules, trigger communications, and track the hiring pipeline effortlessly. By harnessing data from Breezy HR, you can enhance efficiency, reduce manual errors, and keep the entire hiring team on the same page.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
breezy_hr: {
type: "app",
app: "breezy_hr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.breezy.hr/v3/user`,
headers: {
"Content-Type": `application/json`,
"Authorization": `${this.breezy_hr.$auth.oauth_access_token}`,
},
})
},
})
The Contentful GraphQL Content API opens up a world of possibilities for creating, managing, and delivering content across multiple platforms. With this API, you can query your Contentful content model using GraphQL, allowing for more efficient data retrieval with fewer requests. Integrate this with Pipedream's serverless capabilities, and you've got a powerful tool to automate content workflows, sync content across applications, trigger notifications based on content changes, and more.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contentful_graphql: {
type: "app",
app: "contentful_graphql",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graphql.contentful.com/content/v1/spaces/[SPACE]/environments/[ENVIRONMENT]`,
headers: {
Authorization: `Bearer ${this.contentful_graphql.$auth.access_token}`,
},
params: {
query: `query($preview: Boolean){
assetCollection(preview: $preview){
items{
title
}
}
}`,
},
})
},
})