How to use JavaScript code in Albato

How to use JavaScript code in Albato
JavaScript
·
11/29/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


JavaScript
Tools

Related articles

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

Top 6 team management trends 2025: flexible, tech-driven & employee-focused
4 min. read

Top 6 team management trends 2025: flexible, tech-driven & employee-focused

Explore the essential team management trends for 2025, including hybrid work, AI-driven tools, employee well-being, continuous feedback, and skill development. Discover strategies that help HR leaders, managers, and business owners build resilient, high-performing teams in a changing workplace.

Connect Rocket.Chat to 800+ Apps | Supercharge Your Communication with Albato
Rocket.Chat
3 min. read

Connect Rocket.Chat to 800+ Apps | Supercharge Your Communication with Albato

Rocket.Chat is a secure and sovereign communications platform for governments, defense, and critical infrastructure enterprises.