How to use JavaScript code in Albato

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

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


Related articles

Show more
How Weeztix Scaled Native Integrations for 300+ Event Organizers with Albato Embedded
6 min. read

How Weeztix Scaled Native Integrations for 300+ Event Organizers with Albato Embedded

By embedding Albato, Weeztix made it way easier to integrate and automate workflows for hundreds of their event organizers.

Best Albato Use Cases for Marketing and Sales Automation
8 min. read

Best Albato Use Cases for Marketing and Sales Automation

In this article, you will learn about the best Albato use cases for marketing and sales automation. Learn how to streamline workflows, boost productivity, and drive growth.

How to Automate Contact Migration from Quickbase to Google Contacts Using Albato
7 min. read

How to Automate Contact Migration from Quickbase to Google Contacts Using Albato

With this setup, not only can you transfer your contact database from Quickbase to Google Contacts in bulk, but you can also keep those records updated in real time.

We’re Celebrating a Big Win!
2 min. read

We’re Celebrating a Big Win!

Explore what’s new in Albato: features, apps, and improvements

How to Automate Blog Creation from Google Sheets Using OpenAI
8 min. read

How to Automate Blog Creation from Google Sheets Using OpenAI

With this Solution, every new row in a designated Google Sheet triggers a series of actions to create SEO-friendly blog content, generate images, and notify your team—without writing a single line of code.

Best Workflow Management Software for Teams 2025
11 min. read

Best Workflow Management Software for Teams 2025

In this article, you will learn the top workflow management tools to boost team efficiency. Compare features, pricing, and find the perfect fit for your team.

Why CRM SMS Integration Matters to Your Business
5 min. read

Why CRM SMS Integration Matters to Your Business

In this article, you will learn why missed follow-ups happen so often, why CRM SMS integration solves the root of the problem, and what steps you can take to put your follow-up process on autopilot.

What Tools To Connect to OpenAI with Albato
3 min. read

What Tools To Connect to OpenAI with Albato

In this article, you will learn what tools you can connect to ChatGPT(Open AI) with Albato to set up automated workflows for different use cases.

Artificial Intelligence Automation for Lead scoring, Sales, Marketing & Content
8 min. read

Artificial Intelligence Automation for Lead scoring, Sales, Marketing & Content

In this article, you will learn how to use AI and AI agents to automate your business processes. Discover top tools, benefits, and implementation strategies in this 2025 guide

How to Connect Fomo to Albato
4 min. read

How to Connect Fomo to Albato

Connect Fomo with Albato and sync your data with 800+ apps, including AI tools like ChatGPT and Gemini. This integration will help you to automate marketing campaigns, personalize user experiences, and boost engagement.

How to Connect Reply.io to Albato
4 min. read

How to Connect Reply.io to Albato

Connect Reply.io with Albato to integrate it with over 800+ apps, including AI tools like Grok and Claude. Follow the steps below to set it up.

How to Connect EventMobi to Albato
4 min. read

How to Connect EventMobi to Albato

Connect EventMobi with Albato and sync your data with 800+ apps. This integration will help you to automate event planning, guest management, and customer communication workflows.