How to merge row arrays

How to merge row arrays
Tools
·
03/16/2022
·
3 min. read

In this article

The Row sections merger tool allows you to combine a row section (an array of objects) of one step with a row section of another step into one array.

In the tutorial for Row sections merger, we gave definition for Rows in Albato. Now there is a tool that expands the possibilities of working with Rows. For instance, you have Rows in two steps of the automation, and you want to transfer them to the third step.

How to use

Let’s consider the example of AliExpress + CRM + Rows union tool automation.

We need to specify the internal UUID of the product when adding it to the customer order in the CRM-system, e.g. MoySklad. Upon receipt of an order from AliExpress, we receive only the product internal ID from AliExpress and SKU code. You can make SKU code equal to UUID in MoySklad, but it will be inconvenient.

As usual, checking is made either by article or by the external code. We have created an action for MoySklad that allows you to create or find a product by article or code. When we receive an order from AliExpress, CRM starts searching for products with article/code/external code is equal to the SKU. As a result, we have Rows of the found products with their internal UUID, which we can transfer to the order.

We have our trigger Rows from AliExpress and our action Rows from MoySklad. Now we need to combine these data arrays before creating an order, as we want to transfer the quantity of goods from AliExpress with products ID from MoySklad.

For such combination and the subsequent correct transfer of data, the Rows union tool was created. It allows you to take two arrays from trigger and action (e.g. AliExpress and MoySklad) and unite them into one array by matching the objects by some value (e.g. SKU and article).

Thus, you can create an order with product data from AliExpress and UUID obtained from the product search in CRM.

How to set up

Open the Automation builder section, add the tool between steps.

pub-img-8251-1.png

Select the Rows union tool.

Select the first step to take the Rows. In our example it is AliExpress.

Select the second step to take the Rows. In our example it is MoySklad.

Open the tool’s settings.

Select what action should this tool perform in case if the pair cannot be found, namely when you cannot match two rows of two steps. For example, if Step 2 fails to find matched items: the tool will skip this item, fill in the fields or report an error.

We can also screate a scenario if several pairs are found. For instant, we search in CRM items by name and find two items with the same names. The tool can skip the second item and use the first item, or duplicate, or report an error.

Click Add condition button and select the values from Row 1 and Row 2 to match.

Let’s suppose we want to match AliExpress products by SKU with found products in MoySklad by article. To do this we should set up the tool this way:

You can also combine and add multiple conditions to find matches.

After the settings, click Save button.

Now, if you open the settings for the next steps, in the Row section fields, you can select tool’s results. You can select fields from both the first and the second steps.

This will enable you to make full use of Rows in Albato.

The Rows union tool can also be used with other services that send arrays of objects. The tool is configured the same way.


Tools

Join our newsletter

Hand-picked content and zero spam!

Related articles

Show more
Workato vs MuleSoft vs Albato Embedded: Which Integration Platform Fits Your SaaS?
8 min. read

Workato vs MuleSoft vs Albato Embedded: Which Integration Platform Fits Your SaaS?

Compare Workato, MuleSoft, and Albato Embedded across features, UX, embedded support, pricing, and best use cases. A practical guide for SaaS founders evaluating integration platforms.

How SaaS Businesses Improve Retention Using AI-Powered Email Marketing
5 min. read

How SaaS Businesses Improve Retention Using AI-Powered Email Marketing

Learn how SaaS brands can use AI-powered email automation to increase retention, reduce churn, and drive engagement with experts from Albato and UniOne.

Paragon Vs. Prismatic Vs. Albato Embedded: Which to Choose
5 min. read

Paragon Vs. Prismatic Vs. Albato Embedded: Which to Choose

Compare Paragon, Prismatic, and Albato Embedded—three leading embedded iPaaS platforms for SaaS. See how they differ in features, UX, pricing, and scalability.

AI for Customer Service Automation with Albato
5 min. read

AI for Customer Service Automation with Albato

Learn how AI agents and Albato automate customer service workflows—from ticket triage to WhatsApp replies and CRM updates.

Prismatic Vs. n8n Vs. Albato Embedded: Full Comparison
4 min. read

Prismatic Vs. n8n Vs. Albato Embedded: Full Comparison

Compare Prismatic vs n8n Embedded vs Albato Embedded—three leading embedded iPaaS solutions—for features, pricing, UX, developer experience, and scalability.

How to Use Python Code in Albato
4 min. read

How to Use Python Code in Albato

A new Python code tool allows you to run your own custom code.

How AI-Driven Copilots Transform Sales: Insights from Albato & Amplemarket
5 min. read

How AI-Driven Copilots Transform Sales: Insights from Albato & Amplemarket

Learn about how AI-driven sales copilots boost productivity, automate workflows, and drive revenue growth based on webinar insights.

How TimelinesAI Supercharged Their Automation Platform with Albato Embedded
2 min. read

How TimelinesAI Supercharged Their Automation Platform with Albato Embedded

TimelinesAI Partners with Albato Embedded to Bring Scalable Automation to WhatsApp and CRM Workflows.

Boost Your Team's Productivity: Less Busywork, More Impactful Decisions
3 min. read

Boost Your Team's Productivity: Less Busywork, More Impactful Decisions

Tools, tips, and tricks to help your team do less busywork and make every decision count.

n8n vs Zapier vs Albato: Best Automation Tool in 2025
8 min. read

n8n vs Zapier vs Albato: Best Automation Tool in 2025

Compare n8n, Zapier, and Albato — top no-code automation tools for freelancers, marketers & sales pros. See features, pricing, and key differences.

Merge Vs. Paragon Vs. Albato Embedded: Best Embedded iPaaS 2025
8 min. read

Merge Vs. Paragon Vs. Albato Embedded: Best Embedded iPaaS 2025

Compare Merge, Paragon, and Albato Embedded — leading embedded iPaaS platforms for SaaS founders. See features, pricing, and best use cases.

How to Connect SerpAPI to Albato
4 min. read

How to Connect SerpAPI to Albato

Connect SerpAPI with Albato to integrate it with over 1000+ apps, including AI tools like Grok and Claude.