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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
monday_oauth: {
type: "app",
app: "monday_oauth",
}
},
async run({steps, $}) {
const data = {
"query": "query { me { is_guest join_date email } }"
}
return await axios($, {
method: "post",
url: `https://api.monday.com/v2`,
headers: {
Authorization: `Bearer ${this.monday_oauth.$auth.oauth_access_token}`,
},
data,
})
},
})