How to merge row arrays

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

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

Related articles

Show more
How to connect ClickUp to Albato for seamless Integrations | ClickUp Integrations Guide
4 min. read

How to connect ClickUp to Albato for seamless Integrations | ClickUp Integrations Guide

Learn how to set up ClickUp integrations with Albato in our step-by-step guide. Unlock powerful ClickUp integrations & automate workflows to boost productivity.

Connect Zendesk with Popular Apps | Streamline Your Support Workflow with Albato
4 min. read

Connect Zendesk with Popular Apps | Streamline Your Support Workflow with Albato

Zendesk offers a comprehensive customer service solution, designed for ease of use and scalability. See how Albato can help you enhance the app’s usability!

How to use Claude Artifacts: 7 Ways with examples | Guide 2025
Claude AI
10 min. read

How to use Claude Artifacts: 7 Ways with examples | Guide 2025

Learn how to use Claude Artifacts with our detailed guide. Explore 7 best ways with real Artifact examples: web pages, prototypes, presentations and visualizations.

Connect Gumlet with Your Favorite Apps | Optimize Your Media Management with Albato
3 min. read

Connect Gumlet with Your Favorite Apps | Optimize Your Media Management with Albato

Gumlet is best way to stream ad-free videos on internet. It has powerful CMS to organise videos and hollywood grade DRM. See how Albato can help you enhance the app’s usability!

Connect Octopush with Albato | Elevate Your SMS Marketing Strategy
3 min. read

Connect Octopush with Albato | Elevate Your SMS Marketing Strategy

With Octopush, businesses are well equipped to propel their brand, promote their offers and services at scale. See how Albato can help you enhance the app’s usability!

Connect DocuSign with 800+ Apps | Simplify Document Management on Albato
3 min. read

Connect DocuSign with 800+ Apps | Simplify Document Management on Albato

DocuSign is a top electronic signature and digital transaction management platform, helping organizations manage contracts and agreements securely and efficiently. See how Albato can help you enhance the app’s usability!

Chili Piper Alternatives 2024: Top 6 Scheduling & Lead Management Tools
CalendarHero
4 min. read

Chili Piper Alternatives 2024: Top 6 Scheduling & Lead Management Tools

Discover the top 6 Chili Piper alternatives for scheduling and lead management. Compare features, pros & cons of Calendly, Dashly, Cal.com & more. Find the best fit for your business.

Customer Service Skills: Essential Guide to Handling Discount Requests
1 min. read

Customer Service Skills: Essential Guide to Handling Discount Requests

Learn essential customer service skills for handling different types of discount requests. Discover proven strategies for maintaining customer loyalty while protecting your business interests.

Passion.io Alternatives: 5 Better Options for Video Apps
2 min. read

Passion.io Alternatives: 5 Better Options for Video Apps

Looking for Passion.io alternatives? Explore 5 powerful platforms: Gurucan, Mighty Networks, Thinkific, Bettermode & FlutterFlow. Compare features, pricing & choose the best app builder for your needs.

5 Powerful Mobile App Marketing Strategies You Haven't Tried Yet | 2024 Guide
5 min. read

5 Powerful Mobile App Marketing Strategies You Haven't Tried Yet | 2024 Guide

Discover 5 powerful mobile app marketing strategies to boost downloads and user retention. Learn how to leverage automation, A/B testing, analytics, and cross-promotion tools to grow your app effectively. Perfect for developers and small teams.

How to Start an Affiliate Marketing Store
4 min. read

How to Start an Affiliate Marketing Store

Step-by-step guide to creating a profitable affiliate marketing store. Learn how to choose programs, build a site, and monetize your audience.

Top content automation tools in 2024
4 min. read

Top content automation tools in 2024

Maximize your reach in 2024 with tools designed for every content channel. Find out how top automation platforms can transform your workflow