Archive Hive cards completed over 60 days ago
Recipe ToolsMarketingCustomer Data Platform
What it does
When a scheduled time arrives each morning, this automation loops through all cards in Hive and checks their completion dates. It archives any card that was completed more than 60 days ago.
Who it's for
Operations teams who need to keep Hive workspaces clean by automatically removing old completed cards.
Apps used
- Scheduler by Workato
- Variables by Workato
- Hive
- Workato List
How teams use this
Keep workspaces organized automatically
Run the archive process every morning without manual intervention. Old completed cards disappear from active views, making Hive easier to navigate for the team.
Archive only specific project cards
Filter the automation to archive cards from one project while leaving others untouched. Set the projectId variable to target only the project that needs cleanup.
Lower the archive threshold to 30 days
Modify the condition in Hive so cards completed more than 30 days ago are archived instead. This keeps the workspace cleaner for teams managing high card volume.
Run the archive at end of day
Adjust the scheduled trigger to run at 6 PM after the workday ends instead of 8 AM. The automation logic stays the same and only the timing changes.
How it works
- Trigger every morning at 8am. This automation runs on a daily schedule at 8:00 AM. The time and frequency are configurable based on when the team wants old cards archived.
- Retrieve all cards from Hive. Fetch all cards in the workspace using Hive. Optionally filter by a specific project if the team wants to archive cards only from certain projects.
- Loop through each card and check dates. For each card returned from Hive, check when it was completed. If the completion date exists and is more than 60 days in the past, proceed to archive it.
- Archive the old card in Hive. Set the card status to archived in Hive so it no longer appears in active lists. The card remains for historical reference but is hidden from daily workflows.