Schedule and automate workplans
Once you’ve created workplans to analyze your data, you’ll often want them to update automatically to reflect the latest information. This guide explains how to schedule and automate your workplans to keep their outputs fresh.
Create a schedule
You can customize when your workplan runs using natural language schedules. If the system is unable to parse the request, the workplan will be scheduled to run daily at 8AM in the US/Eastern timezone. You can make further edits this schedule using the same endpoint.
The schedule is interpreted by our backend and converted to the appropriate cron expression. You can use natural language to describe when you want your workplan to run.
Example schedule descriptions
Here are some examples of schedule descriptions you can use:
- “Daily at 9:30am”: Every day at 9:30 AM
- “Weekly on Monday at 7am”: Every Monday at 7:00 AM
- “Every weekday at 4pm”: Monday through Friday at 4:00 PM
- “Monthly on the 1st at 12pm”: First day of each month at 12:00 PM
Example: Schedule an earnings report workplan to run weekly
View workplan schedule
You can view a workplan’s schedule using the view-schedule endpoint. If no schedule is associated with a workplan, schedule will be null.
Cancel workplan schedule
If you to cancel workplan scheduling, you can delete the schedule using the delete-schedule endpoint:
Manually triggering updates
If you need updated results immediately, you can manually run a workplan.
After triggering a rerun, you’ll need to check the workplan’s status again and retrieve the new outputs once it completes.
