Trigger workflows on an interval or cron schedule.
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
badger_maps: {
type: "app",
app: "badger_maps",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://badgerapis.badgermapping.com/api/2/profiles/`,
headers: {
"Token": `${this.badger_maps.$auth.api_key}`,
},
})
},
})