Update Hive labels when actions match conditions

Customer Data PlatformRecipe Tools

What it does

When someone creates or updates an action with labels in Hive, this automation checks if those labels match a condition. If they do, it updates the action with an additional label so the record stays organized.

Who it's for

Operations teams who need to automatically tag Hive actions based on existing labels without manual updates.

How teams use this

Auto-tag actions by label pattern

When an action is created with a specific label, automatically add a related label so the action is tagged for the right team. The team sees the complete label set without extra steps.

Organize actions across multiple projects

Extend this automation to check multiple label conditions and add different labels based on the project. Include additional condition branches to handle each project's labeling rules.

Route actions to team channels

Use label updates to mark actions for specific teams, then route them to Slack channels based on the new label. This keeps team inboxes focused on their work.

How it works

  1. Monitor for new or updated actions. A new action is created or an existing action is updated in Hive with labels attached in real time.
  2. Check if labels match the condition. Hive evaluates whether the action's labels match the specified condition to determine if an additional label should be added.
  3. Update the action with a new label. When the condition is met, Hive adds the designated label to the action so it is properly categorized and organized.
  4. Repeat for each matching label. Loop through each label from the list and apply the update logic to actions that meet the matching criteria in Hive.