Skip to main content

Create a Flow

Note

The flows feature is currently only available for:

  • Hybrid Clean Rooms

  • Hybrid Confidential Compute Clean Rooms

  • Snowflake Clean Rooms

A "flow" is a visual workflow that lets users configure, organize, and run multi-step analytic processes by connecting existing "questions" as modular workflow objects called "nodes". Creating a new flow and preparing it to run requires a series of steps that move the flow through various stages until it reaches the "Ready" state.

Overall Steps

Perform the following overall steps to create and configure a new flow so it’s ready to run:

For information on performing these steps, see the sections below.

Prerequisites

  • Access and proper permissions to a LiveRamp Clean Room environment that has the flows feature.

  • For flow creation and management, the following permissions are required:

    • Create, Schedule, and Delete Flow Runs: Allow users to access the Flow Runs and Scheduled Flow Runs pages to create, schedule, reuse, and delete flow runs.

    • Flow Builder: Allow users to access the Flow Builder page to create, configure, update, edit, clone, and version flows.

    • Manage Questions: Allow users to see the question inventory when building a flow of question nodes, allowing them to add or delete questions nodes in the flow.

    • Manage Datasets: Allows users to assign datasets to flows.

    • View Reports: Allow users to view the run reports of a flow run.

    For more information, see “Managing Clean Room Permissions”.

  • Datasets must be provisioned in Clean Room to assign to the flow.

  • Since flows are built from question nodes, there must be existing questions available in Clean Room to associate to the question nodes.

Create a New Flow

Procedure. To create a new flow:
  1. From the Flows page, click + New Flow.

    flows-main-new-flow-08042025-01.png
  2. Enter a name for the flow (required) and a description (optional). Click Create Flow.

    flows-main-new-flow-02-08042025-01.png

    The Flow Builder page displays, which provides a workflow canvas for designing your flow.

    flows-main-new-flow-canvas-blank-08042025-01.png

Design a Flow in Flow Builder

The Flow Builder includes several key sections:

  • Flow Metadata: Displays read-only information such as the flow ID, version number, name, and description.

  • Node Library: Contains different objects that can be used in the flow. Currently, the only node type available is a “question node”.

  • Flow Canvas: This is the primary area where you lay out and connect your workflow steps.

  • Canvas Controls: Provides tools for zooming, fitting all nodes on the screen, and locking node positions.

flows-main-new-flow-canvas-labels-blank-08042025-01.png

For more information, see “Flow Builder”.

Add Nodes to a Flow

Note

“Question Nodes” are currently the only type of node available in flows.

Procedure. To add a node to the flow canvas, do the following:
  1. Drag the node’s icon from the node library onto the flow canvas.

    flows-main-new-flow-drag-node-08042025-01.png

    For question nodes, an inventory list shows all available questions that have been provisioned to the clean room, even those not currently listed on the "Current Questions" tab of the Questions page.

    Note

    Adding a question to a flow does not impact the question’s existing dataset management, version, runs, or scheduled runs in the clean room.

    flows-main-new-flow-node-questions-unchecked-08042025-01.png
  2. Select the desired question from the list and click Add.

    flows-main-new-flow-node-questions-checked-08042025-01.png

    The question node displays the node’s name, question type, dataset, runtime parameters, output, and tags.

    flows-main-new-flow-node-questions-after-adding--08042025-01.png
  3. Double-click on the question node to view its details in the side panel.

    The top of the side panel lists the question node’s ID (Node ID), name, and the display ID of the question associated with the node.

    flows-nodes-details-1-08062025-01.png

    The “Details” tab of the side panel displays the following:

    • Question Type: The type of question, e.g., “Analytical Question” or “List Question”.

    • Dataset: The dataset macros assigned to the node.

    • Runtime Parameters: The runtime parameters for the question.

    • Output: The output fields of the question.

    flows-nodes-details-3-08062025-01.png

    The “Settings” tab of the side panel displays the following options that you can select for this question node:

    • Report access: The permission access for the output of this question node. Select or unselect partner organizations who can view the output of this question node. Only the selected partner organizations can view the output.

      Note

      You must have the “View Reports” permission to access the reports. To learn more, see “Managing Clean Room Permissions”.

    • Processing Capacity (Optional): Choose the processing capacity for question runs. You can edit this option after updating the flow. The Default option is recommended and is appropriate for the vast majority of queries and datasets. The available processing capacities are as follows:

      • Default: Recommended and appropriate for the vast majority of queries and datasets.

      • Medium: Only required for questions that are not satisfied by the default setting or for complex queries.

      • Large: Only required for questions that are not satisfied by the default setting or exceptionally complex queries and large record counts (e.g., 1+ billion).

      • Extra Large: Only required for questions that are not satisfied by the “Large” setting or exceptionally complex queries and very large record counts (10+ billion).

      • 2X Large: Only required for extremely complex questions and very large datasets. Use only when “Extra Large” capacity is insufficient.

      • 3X Large: Only required for exceptionally high-complexity questions and massive-scale datasets. Requires pre-approval from LiveRamp due to significant resource consumption.

    • Tags: You can add comma-separated tags in the field to help you organize and identify this node.

      Tip

      You can use tags to identify which branch a node belongs to. This can be helpful when you only want to run the nodes in specific branches of a flow. For more information, see "Understanding Flow Run Branching."

      flows-nodes-details-2-08062025-01.png

    After making any selections in the “Setting” tab, click Submit, to save the settings and return to the flow canvas.

  4. Add any additional nodes to the canvas and configure them following the above steps.

    flows-main-new-flow-node-2-08042025-01.png
    flows-main-new-flow-node-question-2-unchecked-08042025-01.png
  5. You can click Update, if you are not going to continue working on the flow and want to save it, otherwise, continue to “Connect Nodes in a Flow” below.

    Note

    Clicking “Update” saves the flow and checks if the flow is ready to run or if datasets need to be assigned. For more information, see the “Stage” column description in “Columns Available on the Flows Page”.

Connect Nodes in a Flow

A flow typically has two or more connected nodes to establish a sequence of operations when the flow runs. You connect two nodes by clicking on an "edge" (a black bar on the left or right side of a node) and dragging it to the target node. The first question in a flow is referred to as the "parent node," and any subsequent connected nodes as the "child nodes".

Note

If a question associated with a node is edited, its connections (edges) will automatically be deleted and must be reconfigured. The system does this because the existing edge configurations may no longer be valid.

Procedure. To connect two or more nodes in a flow:
  1. Click on an "edge" (a black bar on the left or right side of a node) and drag the edge line to the edge of the target node.

    flows-nodes-connect-1-08042025-01.png

    The Connection Configuration side panel opens.

    flows-nodes-config-connect-1-08042025-01.png
  2. In the Connection Configuration side panel, select the appropriate parent node dataset to use for mapping parent node output fields to the child node input fields.

    flows-nodes-config-connect-2-08042025-01.png
  3. In the selected parent node dataset, select the child node field in the drop-down(s) to indicate the child node field(s) the parent node field(s) should map to.

    flows-nodes-config-connect-3-08042025-01.png
  4. Click Save. The configured connection will display as a directional line between the parent and child nodes.

    flows-nodes-config-connect-4-08042025-01.png

    You can open the “Connection Configuration” panel to view its details or edit it by clicking the green icon (flows-connect-green-icon-08042025-01.png) in the middle of the connection line.

    flows-nodes-config-connect-i-icon-08042025-01.png
  5. When you’ve finished connecting and configuring all nodes in the flow, click Update to save the flow structure.

    flows-nodes-config-connect-5-08042025-01.png

    The “Update” option saves the flow and returns you to the Flows page, where you’ll find the newly created flow listed.

    flows-main-new-flow-in-list-08042025-01.png
  6. To continue configuring the flow, proceed to the “Manage Flow Datasets” steps below.

Manage Flow Datasets

Before a flow is ready to run, it needs to have datasets assigned to it. There are three steps required for managing these datasets:

  • Assign dataset ownership: You must specify the owner for the datasets that the flow will use. Assigning dataset ownership in a flow means designating which organization is providing or is accountable for the data associated with each data input macro within your multi-step workflow.

  • Assign datasets to the flow: You must add one or more specific datasets directly to the flow itself. This forms the shared data pool for all analytical steps within the flow. For shared datasets, clean room partners can mark their datasets as "Partners can assign," making them visible and available for selection in your flow.

  • Assign dataset field mapping: After datasets are assigned to the flow, their fields must be mapped to align with the expectations of the questions (question nodes) configured within the flow.

Procedure. To assign datasets:

Note

Any start (Level 0) node in a flow must have datasets assigned to it.

  1. On the Flows page, in the desired flow’s Actions column, click Assign Datasets.

    flows-main-assign-datasets-click-08052025-01.png

    The Manage Datasets page displays:

    flows-manage-datasets-01a-08052025-01_copy.png
  2. In the Assign Ownership step, select the appropriate value in any Owner drop-down lists. You must assign ownership to each dataset macro listed.

    flows-manage-datasets-01b-08052025-01_copy.png
  3. Click Save & Proceed.

  4. In the Assign Datasets step, select the appropriate dataset value in each Data drop-down list. You must assign a dataset to each dataset macro listed.

    Note

    If you are working with data shared by partners, the partners might also need to assign datasets.

    flows-manage-datasets-02a-08052025-01.png
  5. Click Save & Proceed.

  6. In the Assign Dataset Fields step, select the appropriate dataset field value in each Data drop-down list.

    flows-manage-datasets-03a-08052025-01_copy.png
  7. Click Save.

    The Save option saves the flow and returns you to the Flows page, where the newly configured flow is listed.

    flows-main-new-flow-node-ready-stage-08052025-01.png

    If the flow was fully configured, the “Stage” of the flow should display “Ready” and the Run & Reports drop-down should be available in the flow’s Actions column.

    flows-main-new-flow-node-ready-stage-2-08052025-01.png
  8. If the flow “Stage” is “Ready”, the flow is ready to be run. For more information, see “Flows”, “Flow Runs”, and “Create a Scheduled Flow Run”.

Configure Flow Parameters

In LiveRamp Clean Room, a "parameter" is a dynamic variable or placeholder used in a question's logic or a flow's configuration. This allows for flexible, reusable, and dynamic reporting and analytics. Flow parameters combine all parameters from individual question nodes within a flow. By configuring these flow parameters, all necessary parameters are collected and presented in a unified manner when you execute or schedule a flow run. This ensures that parameters with the same label use the same value throughout the flow's execution.

When you are creating a new scheduled flow run, for example, the "Runtime Parameters" section in the "New Scheduled Run" window will display these flow-level parameters. There, you can specify the actual values for each flow-level parameter, such as start and end dates or other custom attributes, which will then be applied when the flow runs. These specific values chosen at the time of a flow run are called "flow run-level parameters".

Procedure. To configure the parameters for a flow:
  1. On the Flows page, click the flow’s More Options (more-options-icon.png) menu and select Edit.

    flows-main-more-options-edit-08152025-01.png

    The Flow Builder page in edit mode displays:

    flow-builder-main-edit-mode-08052025-01.png
  2. On the Flow Builder page, click Parameters.

    flow-builder-parameters-02-08152025-01.png

    The Parameters side panel displays:

    flow-builder-parameters-03-08152025-01.png
  3. On the Parameters side panel, select the Assign tab and assign appropriate macro names (variables) to each node in the drop-down(s) by entering a name and clicking plus-icon-01.png to add it.

    flow-builder-parameters-side-01-08152025-01.png
  4. Click Next to preview and add descriptions to parameters (if any) your partners will need to enter values for before they can run the flow.

    flow-builder-parameters-side-02-08152025-01.png
  5. Click Save to save the parameter(s).