Merge data from different steps of your workflow into a single, structured output format.
Merge data
block functions similarly to the Extract Data
block, but its exclusive purpose is to merge existing data into a new, unified format. It does not extract new information from a webpage. Instead, it collects variables that are already available in the workflow’s context (from previous Open datasets
, Extract Data
, or other blocks) and structures them into a final output.
This block is essential for consolidating data from various sources into a clean, final schema before the workflow ends.
Merge data
block to:
id
from an Open datasets
block) with data extracted from a webpage (e.g., a title
from an Extract Data
block).Extract Data
blocks into a single, cohesive output.NAME
to an existing variable.Screenshot: Merge data block configuration panel showing the item type selection and attributes table with 'title' and 'id'
Merge data
block at a point in your workflow where all the data you want to merge is available. This is often at the end of an iteration loop or as the final step of the entire workflow.NAME
of each variable you want to include.URL
and a unique id
. The goal is to visit each URL, extract the product’s title
, and then combine the original id
with the newly extracted title
.
Open datasets Block:
URL
(e.g., https://example.com/product/123
) and id
(e.g., 123
).Extract Data Block (added next):
title
, DESCRIPTION: The main title of the product.
Merge data Block (added next):
A single item
(since we are creating one final row per product).
NAME | EXAMPLE VALUE |
---|---|
title | |
id |
title
will be taken from the Extract Data
step, and the id
will be taken from the initial Open datasets
step, perfectly merging them into a single, clean result row.NAME
you provide in its table and the names of variables available from previous steps.Merge data
block is a crucial tool for cleaning and structuring your final data, ensuring you get exactly the output you need from your complex workflows.