Track and manage onsite employees, visitors, and contractors with touchless workplace sign-in, desk booking, wellness checks, and more.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn 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: ``,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS