How to use JavaScript code in Albato

How to use JavaScript code in Albato
11/21/2022
·
4 min. read

In this article

Albato’s new feature - JavaScript code - allows you to run your own custom code. Just enter your code into the automation settings following this step-by-step instruction.

How to add

Open the Automation builder. Pick the automation scenario to add the JavaScript action or create a new one.

Click the Add an action button.

Choose the JavaScript app in the App field.

Click the Add an action button.

unnamed.png

How to set up

First, set up the Input data variable:

  • create a variable
  • set the name
  • specify the value

unnamed (1).png

To add more variables, click on the Add a field button and follow the previous steps.

unnamed (2).png

You can also remove unnecessary variables (fields).

unnamed (4).png

Next, enter your own JS code using the variables that you have created.

unnamed (3).png

Then we set up the Output Data variable - the result of the script.

Set the name for the variable and specify the type.

unnamed (5).png

The Output data setting is a required step. Even if you haven't created new variables in the code, you need to set up this section so that the system understands which fields and values will be used in the next steps.

Save the settings of this step, then you will find these fields in the subsequent steps of the automation scenario.

unnamed (6).png

Please note that Albato is not responsible for the performance of your code. Make sure you really know how to work with JavaScript before using this step.

If the code failed to run for some reason, then the automation log shows an error.

unnamed (7).png

unnamed (8).png


Join our newsletter

Hand-picked content and zero spam!

Related articles

Show more
CustomerX Embeds Albato to Drive Expansion
Embedded
3 min. read

CustomerX Embeds Albato to Drive Expansion

With Albato Embedded, CustomerX’s users can now extract data from the platform and easily connect it to other tools, enhancing integration and the strategic use of information.

How to Leverage AI Agent Crews for Business Transformation
6 min. read

How to Leverage AI Agent Crews for Business Transformation

Discover how AI agent crews can automate complex workflows and drive business transformation. Learn the key differences between AI agents and agent crews, plus practical implementation tips.

Albato Embedded vs Prismatic vs Tray.io: Full Comparison
10 min. read

Albato Embedded vs Prismatic vs Tray.io: Full Comparison

Compare Albato Embedded vs Prismatic vs Tray.io by features, pricing, white-labeling, UX, and support to find the best embedded iPaaS for your business.

Strategies That Drive Growth
3 min. read

Strategies That Drive Growth

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

Model Context Protocol Clearly Explained
4 min. read

Model Context Protocol Clearly Explained

In this article, you will learn how the Model Context Protocol (MCP) is reshaping enterprise AI. Albato’s AI Product Owner, Alex Fillimonov, will share his insights on why MCP is important for SaaS.

5 Ways to Automate Claude with Albato
4 min. read

5 Ways to Automate Claude with Albato

In this article, you will learn five practical ways to connect and automate Claude AI with Albato. Learn how to boost workflows, integrate apps, and streamline business tasks.

5 Best No-Code Web Scrapers For Online Businesses
6 min. read

5 Best No-Code Web Scrapers For Online Businesses

Discover 5 top no-code web scrapers for online businesses. Automate competitor tracking, SEO monitoring, and market research without coding.

How to Connect Bhuman AI to Albato
4 min. read

How to Connect Bhuman AI to Albato

Connect BHuman with Albato to integrate it with over 1000+ apps, including AI services like ChatGTP and Grok.

How to Connect Darwin AI to Albato
4 min. read

How to Connect Darwin AI to Albato

Connect Darwin AI with Albato to integrate it with over 1000+ apps.

State of Integrations Report 2025: Key Trends and Strategic Insights
5 min. read

State of Integrations Report 2025: Key Trends and Strategic Insights

In this report, you will learn about the 2025 state of integrations in 2025 with data, trends, and recommendations. Learn how businesses can leverage integrations to boost efficiency and stay competitive.

How to Connect to Coveto to Albato
4 min. read

How to Connect to Coveto to Albato

Connect Coveto with Albato to integrate it with over 1000+ apps, including AI tools like ChatGPT and Gemini.

How to Connect Privy to Albato
4 min. read

How to Connect Privy to Albato

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