with Workday and SIGNL4?
Emit new event for each new worker created in Workday. See the documentation
Change the business title of a worker. See the documentation
List supervisory organizations. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workday: {
type: "app",
app: "workday",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.workday.$auth.rest_api_endpoint}/workers`,
headers: {
Authorization: `Bearer ${this.workday.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
signl4: {
type: "app",
app: "signl4",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.signl4.com/api/v2/users`,
headers: {
"x-s4-api-key": `${this.signl4.$auth.api_key}`,
},
})
},
})