Sync Hive actions via function call

Recipe ToolsWorkatoCustomer Data Platform

What it does

When someone calls this function with query parameters, this automation retrieves actions from Hive and returns the results. The function accepts an optional project ID to filter actions from specific projects.

Who it's for

Operations teams who need to fetch Hive actions programmatically for integration into other workflows.

How teams use this

Fetch all Hive actions across projects

Call this function without a projectId to retrieve every action in Hive. The results flow into another workflow that needs a complete view of all work items and tasks.

Get actions from a specific Hive project

Pass a projectId in the function call to filter actions to one project only. This keeps the response focused and reduces data the calling workflow must process.

Embed action retrieval in a larger workflow

Use this function inside another automation that needs Hive actions as part of a multi-step process. Add the function call, receive the results, and pass them to the next step for further processing.

Filter actions by project for reporting

Set the projectId parameter to pull actions from a specific Hive project for a report or dashboard. The filtered results give stakeholders visibility into work items from that project only.

How it works

  1. Receive function call with parameters. Accept a function call that includes query parameters, with an optional projectId to filter which Hive actions are retrieved.
  2. Retrieve actions from Hive using V2 endpoint. Call the Get Actions V2 endpoint in Hive with the query parameters. If a projectId is provided in the parameters, use it to return actions only from that specific project in Hive.
  3. Return results to calling workflow. Send back the first result from the Hive response so the calling workflow receives the actions data and can continue processing.