with Helper Functions and Homerun?
Emit new event when a candidate submits an application for a job posting. See the documentation
Emit new event when a new vacancy is created. See the documentation
Accepts a base64-encoded string, returns a decoded UTF-8 string
Adds a note to a candidate's profile in Homerun. See the documentation
Get the difference, intersection, union, or symetric difference of two arrays/sets.
Convert an amount between currencies. See the documentation
The Helper Functions app on Pipedream is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
homerun: {
type: "app",
app: "homerun",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.homerun.co/v2/ping`,
headers: {
Authorization: `Bearer ${this.homerun.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})