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
Paragon vs Tray vs Albato Embedded: Best Embedded iPaaS for SaaS
12 min. read

Paragon vs Tray vs Albato Embedded: Best Embedded iPaaS for SaaS

Compare Paragon, Tray.io, and Albato Embedded across UX, white-labeling, connectors, pricing, and best-fit use cases. Learn which embedded iPaaS is the right choice for your SaaS product.

Saying Goodbye to 2025: Albato End of Year Edition
3 min. read

Saying Goodbye to 2025: Albato End of Year Edition

Let’s take a look back at what’s been achieved and see what’s in store for the year ahead.

Workato vs Cyclr vs Albato Embedded – iPaaS Comparison
10 min. read

Workato vs Cyclr vs Albato Embedded – iPaaS Comparison

Compare Workato, Cyclr, and Albato Embedded iPaaS solutions for SaaS companies. Learn which platform offers the best UX, white-label integration experience, connector breadth, pricing model, and support for your SaaS use case.

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 to Connect Membrain CRM to Albato
3 min. read

How to Connect Membrain CRM to Albato

Connect Membrain CRM with Albato to integrate it with and 1000+ other apps, including AI tools like Grok and Claude.

How to Connect Compass to Albato
3 min. read

How to Connect Compass to Albato

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

How to Connect Front to Albato
3 min. read

How to Connect Front to Albato

Connect Font to Albato, you can integrate it with over 1000+ apps, including AI tools like ChatGPT and Claude.