Iterator tool

Iterator tool
Tools
·
8/8/2022
·
5 min. read

The Iterator tool can convert an array of objects (strings) into separate elements.

"Stings" is an unlimited set of data within an entity. For example, a deal in a CRM system has items of goods. Let’s imagine that one deal comes to Albato, while it can have an unlimited number of goods. Each item of goods has its own unique fields: name, quantity, and so on. All these fields come in one array.

2022-08-05_18-44-01.png

Each item of goods is a “String”, and all of them together are called “Strings”.

In automation scenarios, the "Iterator" tool will process each element of an array separately. It means that steps which are in the automation scenario after the "Iterator" tool will run as many times as you have received elements in the array. It is also possible to set other Albato tools to each entity.

What problem does the tool solve?

Let’s suppose that we want to create a new item in Inflow (inventory management platform) copying each item from the Bitrix24 deal. But we don’t know in advance how many goods will be in the deal.

We will use the Iterator tool to create as many goods in Inflow as there are goods in the Bitrix24 deal. It will convert each deal into separate items of goods, so we will be able to process and save each item separately.

We will add the Iterator tool before the action step - Inflow “New Item”. This step will run as many times as the number of goods the automation will receive in the Bitrix24 deal.

As a result, if we receive 5 goods in a deal, the Inflow “New Item” action will run 5 times, and 5 items in our Inflow account will be created.

How to set up Iterator

Use case example with CoinMarketCap and Telegram

Our goal: receive data by Telegram message on price change for a range of cryptocurrency. Set up a filter to send data only if the price has changed by more than 1%.

First create an automation with CoinMarketCap and Telegram.

Next click the + button to add a tool.

Pick the tool from the list.

unnamed.png

Specify the string from the CoinMarketCap step, which needs to be converted into separate elements - rates of one currency.

unnamed (6).png

In the Telegram step, we are specifying variables that will be sent in a message.

unnamed (8).png

Done! Now we will receive Telegram messages with new data.

CoinMarketCup rate change data comes in complicated format - as numbers.

unnamed (7).png

This is where the Albato Math Operation tool comes in handy. In its settings, we specify where to apply the mathematical operation, the "rounding type" and the number of characters after the decimal point.

unnamed (4).png

Now this math operation is applied to each element in the array, and we get the data in a readable way.

unnamed (3).png

The last step is to add a delay before the "Math operation" tool to send a Telegram message only if the changes are more than 1%.

unnamed (2).png

Add two conditions using the "OR" setting.

unnamed (1).png

Save the settings. Now we can start this automation. Data will come only for those cryptocurrencies that have been changed for the last hour by more than 1%.


Tools

Related articles

Show more
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

Best Learning Management Systems (LMS) 2025: Complete Comparison Guide
5 min. read

Best Learning Management Systems (LMS) 2025: Complete Comparison Guide

Discover the most convenient Learning Management System (LMS) to choose the perfect one for your needs.