Update Days Late custom field when Hive item changes

Customer Data PlatformRecipe Tools

What it does

When someone creates or updates an item in Hive, this automation calculates how many days late the item is. The Days Late custom field updates in real time based on the due date, completion date, or current date.

Who it's for

Operations teams who track item completion timelines and need to measure SLA performance without manual updates.

How teams use this

Track SLA compliance on items

Measure how many days past the deadline each item went so the team can review SLA performance. The field updates automatically as time passes and locks the value when the item completes.

Prioritize overdue work in dashboards

Filter or sort Hive items by the Days Late field to surface the most overdue items first. Teams can focus on the biggest delays without scanning due dates manually.

Send late-item alerts to Slack

Add a Slack notification step that sends a message when Days Late exceeds a threshold, such as five days. Include the item name and owner so the right person sees the alert.

Report on completion delays by team

Export Hive items with Days Late values to a spreadsheet or dashboard so managers can analyze which teams or projects have the most overdue items. Use the field to identify process bottlenecks.

How it works

  1. Monitor item creation and updates. Detect when an item is created or updated in Hive. The automation runs in real time and requires a custom text field called Days Late on items in this project.
  2. Check if item is completed. If the item status equals Completed, Hive calculates the difference between the due date and completed date, then stores that number in the Days Late field to preserve the final late count.
  3. Calculate days overdue. If the item is not completed but the due date is in the past, Hive updates Days Late with the number of days between the due date and today so overdue items are visible.
  4. Clear the field when on time. If the item is not late yet, Hive clears the Days Late field so only overdue items show a value and the team can focus on what matters.