Use a Data Stream action in a flow

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • Data Stream actions use the For each flow logic option to process stream data in a flow. For example, suppose that you want to use a Data Stream action that imports document data from a third-party site. When added to a flow, the action appears as a For each flow logic block, enabling flow designers to easily create a record in ServiceNow for each object in the data stream.

    Before you begin

    Data Stream actions require an Integration Hub subscription. For more information, see Legal schedules - Integration Hub overview.

    Role required: flow_designer or admin.

    Procedure

    1. Open the flow you want to add the Data Stream action to.
    2. Add the Data Stream action to the flow.
      The action appears as a For Each flow logic block.

      Data Stream For Each flow logic block.

    3. Add a child action within the For Each flow logic block.

      This action runs on each object within the data stream.

      Note:
      You cannot add an action that pauses the flow to a Data Stream For Each flow logic block. Data Stream actions require a constant connection to the response stream. For example, you cannot use the Ask for Approval or Wait for Condition actions within Data Stream For Each flow logic. For more information, see Data Stream action design considerations.

      Create Incident Record child action within flow logic block.

    4. Click Save.
      Workflow Studio saves a draft of the flow, trigger, and actions.

    What to do next

    Test the flow until it is ready to be activated.
    Note:
    The system only triggers active flows.