with Paylocity and Lattice?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paylocity: {
type: "app",
app: "paylocity",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.paylocity.$auth.api_url}/api/v2/companies/1PIPEDRM1/employees`,
headers: {
Authorization: `Bearer ${this.paylocity.$auth.oauth_access_token}`,
},
})
},
})
The Lattice API enables you to tap into a powerful people management platform, ideal for handling performance reviews, goal setting, and employee engagement within your organization. When you combine Lattice with Pipedream, you unlock the potential for automating various HR processes, synchronizing employee data across systems, and generating real-time insights. Pipedream acts as a facilitator, providing you with a serverless platform where you can connect Lattice to a multitude of other apps and create custom workflows tailored to your company's needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lattice: {
type: "app",
app: "lattice",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.latticehq.com/v1/goals`,
headers: {
Authorization: `Bearer ${this.lattice.$auth.api_key}`,
},
})
},
})