Create Hive project from completed action with field mapping

Customer Data PlatformRecipe Tools

What it does

When someone moves a top-level action to completed in Hive, this automation creates a project and transfers all text custom fields from the action to the new project. The project inherits the action's data through an automated field mapping lookup.

Who it's for

Operations teams who promote completed actions into projects and need custom field values to sync automatically.

How teams use this

Promote completed actions to projects

When an action reaches completion, convert it to a project without manual data entry. The custom fields sync so the project inherits all the action's details and context.

Standardize field mapping across teams

Define a consistent mapping between action custom fields and project custom fields once, then apply it every time an action converts. Set up the lookup table with your field pairs so all teams use the same structure.

Filter actions before conversion

Only convert actions that meet specific conditions, such as those with a certain custom field value or assigned to a particular team. Other completed actions remain as-is.

How it works

  1. Monitor for completed action. Watch for a top-level action in Hive that moves to completed status with no parent action ID, signaling it should become a project.
  2. Fetch action details from Hive. Retrieve the full action record including all custom fields and their values so they can be mapped to the new project in Hive.
  3. Create project in Hive. Create a new project in Hive using the action's core information as the foundation for the project record.
  4. Map and sync custom fields. Loop through each text-type custom field from the action, use a lookup table to match it to the project custom field, and update the project with the value.