Track and manage onsite employees, visitors, and contractors with touchless workplace sign-in, desk booking, wellness checks, and more.
The WhosOnLocation API allows you to manage and track people's presence in various locations, such as office buildings, worksites, and campuses. In Pipedream, you can leverage this API to create automations that streamline visitor management, employee attendance, and emergency roll-calls. By crafting serverless workflows, you can respond to events in real-time, synchronize data with other systems, and enhance security and compliance processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whosonlocation: {
type: "app",
app: "whosonlocation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.whosonlocation.com/v1/staff`,
auth: {
username: `${this.whosonlocation.$auth.api_key}`,
password: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})