Sync US holidays to a lookup table every 5 minutes
Recipe ToolsMarketingDeveloper ToolAPI Integration
What it does
Every 5 minutes, this automation retrieves the current US holiday list via Rest and stores it in a lookup table. Other automations can then reference the holiday dates without making their own requests.
Who it's for
Operations teams who need current US holiday data available across multiple automations.
Apps used
- Scheduler by Workato
- HTTP
- Workato List
- Lookup tables by Workato
How teams use this
Skip tasks on US holidays
Reference the lookup table in workflow conditions to check if today matches a holiday and skip or reschedule actions when it does. This keeps automations from running on days the team is closed.
Reduce API calls across workflows
Multiple automations query the same Lookup Table instead of each making separate Rest requests to fetch holidays. This reduces API load and ensures all workflows use the same holiday list.
Alert teams before holiday closures
Add a notification step that alerts someone when a holiday is approaching by checking the lookup table dates. The automation can calculate advance notice and send reminders to relevant teams.
Filter automations by holiday status
Set workflow conditions to only run certain automations on business days by filtering against the Lookup Table. Include a check that excludes all US holidays from processing.
How it works
- Run on a 5-minute schedule. The Clock triggers this automation every 5 minutes to keep the holiday list current and available for other workflows.
- Fetch US holidays from Rest. Send a request via Rest to retrieve the current list of US holidays including Christmas Day, Thanksgiving Day, Labour Day, Independence Day, and Memorial Day.
- Store holidays in lookup table. Save the fetched holiday data to a Lookup Table so other automations can reference it without making their own Rest requests.