with ADP and Rippling?
Emit new event when a new worker is created in Rippling. See the documentation
Retrieves a list of all companies from Rippling. See the documentation
Retrieves a list of all workers from Rippling. See the documentation
The ADP API provides access to a breadth of payroll and human capital management services. With Pipedream, you can automate workflows that bridge the gap between ADP and other apps, streamlining your HR processes. By leveraging Pipedream's serverless platform, you can orchestrate data flows, synchronize employee information, manage payroll events, and react to changes in ADP data in real-time without writing extensive code.
import { axios } from "@pipedream/platform"
import https from "https"
export default defineComponent({
props: {
adp: {
type: "app",
app: "adp",
}
},
async run({steps, $}) {
const httpsAgent = new https.Agent({
cert: this.adp.$auth.crt_file,
key: this.adp.$auth.key_file,
})
return await axios($, {
url: `${this.adp.$auth.environment}api.adp.com/hr/v2/workers`,
headers: {
Authorization: `Bearer ${this.adp.$auth.oauth_access_token}`,
},
httpsAgent: httpsAgent
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rippling: {
type: "app",
app: "rippling",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.ripplingapis.com`,
headers: {
Authorization: `Bearer ${this.rippling.$auth.api_key}`,
},
})
},
})