with Fauna and Recruitis?
Emit new event each time you add or remove a document from a specific collection, with the details of the document.
Performs an arbitrary authorized GraphQL query. See docs here
Creates a new job ad and puts it in classifieds. See the documentation
Fauna API offers a powerful serverless database solution for modern applications. Its unique capabilities allow for highly scalable, secure, and flexible data management. With Pipedream, you can harness the power of Fauna to create intricate serverless workflows that react to various triggers, manage data efficiently, and connect seamlessly with other services and APIs to automate complex tasks.
module.exports = defineComponent({
props: {
faunadb: {
type: "app",
app: "faunadb",
}
},
async run({steps, $}) {
const faunadb = require('faunadb')
const q = faunadb.query
const client = new faunadb.Client({ secret: this.faunadb.$auth.secret })
// Lists collections in the database tied to your secret key
const collectionsPaginator = await client.paginate(q.Collections())
this.collections = []
await collectionsPaginator.each(page => {
for (const collection of page) {
this.collections.push(collection.id)
}
})
},
})
The Recruitis API is a tool designed to streamline the recruitment process by allowing developers to automate and integrate different parts of the recruitment workflow. Using Pipedream, you could leverage the Recruitis API to create custom serverless workflows, connecting various apps and services to automate tasks such as candidate screening, interview scheduling, feedback collection, and more. Pipedream’s capability to trigger workflows on specific events, and to connect with numerous other apps, makes it particularly suited for enhancing the efficiency of recruitment processes with the Recruitis API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
recruitis: {
type: "app",
app: "recruitis",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.recruitis.io/api2/me`,
headers: {
Authorization: `Bearer ${this.recruitis.$auth.api_token}`,
},
})
},
})