Namely is the only HR, payroll, benefits, and talent management platform your employees will love.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Namely API provides a set of tools that you can use to build applications
that interact with Namely data. With the Namely API, you can:
Here are some examples of what you can build with the Namely API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
namely: {
type: "app",
app: "namely",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.namely.$auth.subdomain}.namely.com/api/v1/profiles/me`,
headers: {
Authorization: `Bearer ${this.namely.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})