Flow.Documentation
ProfessionalWorkflows

Building block: use a published block

5 steps± 4 minVideoVerified 22 Oct 2026
  1. Step 1 · Open Flow and create a workflow
  2. Step 2 · Choose the building block
  3. Step 3 · Link the input
  4. Step 4 · Put the steps in one line and save
  5. Step 5 · Run

A building block is a separate, tested piece of work: an HTTP call, a bit of Python, an AI prompt or, as here, a pattern that pulls order numbers out of text. With the Building block step you use a published version in your workflow. You link every input to data from the workflow; the result gets a name.

Watch the whole guide as a video5 steps in one film
Step 1 / 5

Open Flow and create a workflow

In the portal, under Environments, click Development and there Open; Flow opens in a new tab. There, click + next to General, choose New workflow and give it a name. A new workflow starts with an Event trigger: the point where it begins.

  1. Click Development
Open Flow and create a workflow · Click Development
  1. Click Open ↗
Open Flow and create a workflow · Click Open ↗
  1. Click Add to General
Open Flow and create a workflow · Click Add to General
  1. Click New workflow
Open Flow and create a workflow · Click New workflow
  1. In Workflow name, type Guide · order numbers from an email
Open Flow and create a workflow · In Workflow name, type Guide · order numbers from an email
Step 2 / 5

Choose the building block

Put a customer email in the sample data. Add Building block and choose the published block; after the name are its kind and its version. The step gets the block's name.

  1. Click the step ‘Event trigger’
Choose the building block · Click the step ‘Event trigger’
  1. Click Code
Choose the building block · Click Code
  1. In the sample data, type `{
Choose the building block · In the sample data, type `{; ;
  1. Click Add node
Choose the building block · Click Add node
  1. Click Building block
Choose the building block · Click Building block
  1. In Building block, choose Guide · find order numbers · regex · v1
Choose the building block · In Building block, choose Guide · find order numbers · regex · v1
  1. Click the dot of ‘Event trigger’
Choose the building block · Click the dot of ‘Event trigger’
  1. Click the dot of ‘Guide · find order numbers’
Choose the building block · Click the dot of ‘Guide · find order numbers’
Step 4 / 5

Put the steps in one line and save

Select the steps (click the first, and the others while holding Shift) and click Align horizontally: they then stand in one line and you read the workflow from left to right; a branch (such as No of an If / Else) gets its own row below. Fit to view puts everything in sight; then Save.

  1. Click ‘Event trigger’
Put the steps in one line and save · Click ‘Event trigger’
  1. Click ‘Guide · find order numbers’ while holding Shift
Put the steps in one line and save · Click ‘Guide · find order numbers’ while holding Shift
  1. Click Align horizontally
Put the steps in one line and save · Click Align horizontally
  1. Click Fit to view
Put the steps in one line and save · Click Fit to view
  1. Click Save
Put the steps in one line and save · Click Save
Step 5 / 5

Run

At the bottom are the lines the building block wrote itself, and where the result is. Under Data after the run you find the two order numbers and the count.

  1. Click Run
Run · Click Run
Run · Status: Completed.
Run · Result stored.
Run · count: 2 order numbers found.

This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).