with SendOwl and HR Cloud?
Create a new employee record in the system. See the documentation
The SendOwl API allows you to manage and automate sales and distribution of digital goods. Using Pipedream, you can harness the power of SendOwl to create tailored workflows that respond to events, synchronize customer data, generate reports, and enhance customer experiences. By leveraging Pipedream's capabilities, you can connect SendOwl to numerous other services for a seamless data flow, making processes efficient and reducing manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendowl: {
type: "app",
app: "sendowl",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.sendowl.com/api/v1/products`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.sendowl.$auth.api_key}`,
password: `${this.sendowl.$auth.api_secret}`,
},
})
},
})
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}`,
},
})
},
})