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: {
are_na: {
type: "app",
app: "are_na",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.are.na/v2/search/users`,
headers: {
Authorization: `Bearer ${this.are_na.$auth.oauth_access_token}`,
},
params: {
"q": `John Smith`,
},
})
},
})