with HR Cloud and Runware?
Emit new event when a new applicant is created. See the documentation
Emit new event when a new employee is added to the system. See the documentation
Emit new event when a new task is created. See the documentation
Create a new employee record in the system. See the documentation
Request an image background removal task to be processed by the Runware API. See the documentation
Request an image caption task to be processed by the Runware API. See the documentation
Request an image control net preprocess task to be processed by the Runware API. See the documentation
HR Cloud is a human resources management system (HRMS) that helps businesses manage their employee data, payroll, benefits, time tracking, and more. This integration enables you to automate your HR workflows by connecting HR Cloud with thousands of other apps on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hr_cloud: {
type: "app",
app: "hr_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://corehr-api.hrcloud.com/v1/cloud/xEmployee`,
headers: {
"customer_key": `${this.hr_cloud.$auth.consumer_key}`,
"customer_secret": `${this.hr_cloud.$auth.consumer_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runware: {
type: "app",
app: "runware",
}
},
async run({steps, $}) {
const data = [
{
"taskType": "authentication",
"apiKey": `${this.runware.$auth.api_key}`
},
{
"taskType": "imageCaption",
"taskUUID": "11eb6a8b-1fa9-447f-9dc0-c48576f7074e", //random UUID to identify your task.
"inputImage": "https://pipedream.com/s.v0/app_13GhYE/logo/orig"
}
]
return await axios($, {
method: "post",
url: `https://api.runware.ai/v1`,
data,
})
},
})