# Workflows – using the Union block

Imagine you want to build an ad report, combining Google Ads and Facebook Ads. Here's where Conduit's Union block comes into play – a feature that helps to merge the data from the different data sources

**How It Works:**

1. Start by creating a Workflow, and pull data from Facebook and Google Ad accounts
2. Add the Union block to your Workflow.
3. Choose ‘Pull Data from Facebook Ads" as Dataset 1 and ‘Pull Data from Google Ads’ as Dataset 2.
4. Add additional datasets, if needed

![](/files/GNxcFIDXeA7UAPeUX77y)

As a result, you should receive a new dataset, which you can expand by clicking on the ‘View’ button&#x20;

<figure><img src="/files/qbDEWmZOq5U5eccF4myo" alt=""><figcaption></figcaption></figure>

In the screenshot above, we can see that the Country column was in both Google and Facebook datasets, so it would have the data for each row in the sheet

And, vice versa, the Campaign column presents only in the Facebook datasheet, hence it has no contents in the rows, related to Google Ads. For the cases, when the datasets from the Union block have a column with a same name, the data in the output file merges into one single column

#### Data Type Changes

The column may change its type, if:

1. Both of the columns are metrics. In this case, their type would be switched to ‘Decimal’
2. If the types don’t match. The data type in this case would be switched to ‘String’

If the type of the data within columns matches, no type changes will be made.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getconduit.app/workflows/workflows-using-the-union-block.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
