Trigger workflows on an interval or cron schedule.
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
The Pointagram API offers a suite of functions for gamifying performance tracking. It's a tool to motivate teams and individuals by turning targets and achievements into point-based games and competitions. By leveraging this API in Pipedream, you can automate the tracking of activities, update leaderboards, award badges, and integrate Pointagram with other business tools to streamline productivity and engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pointagram: {
type: "app",
app: "pointagram",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pointagram.com/server/externalapi.php/list_players`,
headers: {
"api_key": `${this.pointagram.$auth.api_key}`,
"api_user": `${this.pointagram.$auth.api_user}`,
"Content-Type": `application/json`,
},
})
},
})