1 min read
The Execute JavaScript Code action lets you run custom JavaScript directly within your bot flow. This makes it possible to handle complex logic without relying on external automation tools such as Zapier.
With this tool, you can manipulate data, validate inputs, process JSON, and dynamically control the flow based on execution results.
1 – Click Actions
2 – Select Tools
3 – Choose Execute JavaScript Code
Enter the JavaScript logic you want to execute. The code must return a value (text, number, JSON, arrays, …).
If any error occurred with your code or your code is invalid, we will log an error. Please check the error log in this case.
For security reasons, your code can’t access files or the internet. For example, you can not use this tool to make API calls. Use our External Request tool instead. Your code can only run pure JavaScript; you can’t include any other libraries. Your code must complete execution within 500 milliseconds. Code that exceeds this time limit will be terminated and reported as an error.
Images are supplier reference screenshots and may show the original branding.