with Sessions and Rippling?
Emit new event when a session ends. Useful for data processing initiation. See the documentation
Emit new an event when a session starts. See the documentation
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 Sessions API enables developers to handle real-time data streams and manage user sessions effectively. With Pipedream's power to integrate various services, the Sessions API can be the backbone of workflows that require managing user states across events. You can track user activities, tailor user experiences based on session data, or even trigger specific actions when certain session events occur.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sessions: {
type: "app",
app: "sessions",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.app.sessions.us/api/booking-pages`,
headers: {
"x-api-key": `${this.sessions.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})