This automation feature allows users to execute code snippets in specified programming languages. Currently, we support the following three programming languages: JavaScript, TypeScript, and Python.
Detailed Configuration Steps
To use this feature, users need to prepare the script files, which should be written in JavaScript, TypeScript, or Python.
1. Writing the Script
Users can write scripts directly in the BIKA script editor. Please note that the programming language used by the script must be clearly specified: JavaScript, TypeScript, or Python.
2. Configuring the "Run Script" Action
Follow these steps to configure the "Run Script" action in the BIKA automation interface:
Supported Languages and Libraries
JavaScript and TypeScript:
We provide support for libraries such as fetch, axios, and lodash.
JSON data can be returned to the automation workflow.
Supported libraries include numpy, httpx, bs4, and pandas.
The requests library is not supported.
All return variables will be output to the automation workflow.
Example code:
import httpx
url = 'https://api.exchangerate-api.com/v4/latest/USD'
r = httpx.get(url)
data = r.json()
3. Setting Up the Automation Action
Add a new action on the automation task editing page and select "Run Script" from the list of action types.
Choose the script language: JavaScript, TypeScript, or Python.
In the "Script Content" area, enter the script code. For example, you could run a simple Python script to print "Hello World":
print("Hello World")
Save and Enable: After completing the script setup, click "Save" to save the action.
4. Perform a Test Run
Execute the Test:
Return to the automation task interface.
Click the "Run Now" button at the bottom of the page, and the system will execute the script according to your configuration.
2。 Check the Results: After the script execution, you can confirm the output by reviewing the run history. If the script runs smoothly and returns the expected results, the configuration is correct.
With this, the configuration and execution of the "Run Script" automation action have been successfully completed.
Quickly set up a 7-day automated email sequence to guide new users, onboard customers, and run product launch or welcome campaigns. Perfect for SaaS email marketing, automated follow-up emails, and continuous engagement to improve user activation, retention, and early product adoption.
Track U.S. stock news in real time and get structured reports with key insights, market reactions, and sector summaries. Make informed investment decisions fast.
Streamline your PR and media management with this PR & Media CRM template. Organize journalist contacts, track press coverage, manage relevant articles and publications, monitor PR campaigns, and enhance outreach efficiency. Use PR analytics, communication tracking, and workflow automation to improve engagement, optimize media performance, and build strong public relations.
This template uses the financial recognition OCR of Baidu AI Cloud to automatically extract the key information from the invoice and support invoice verification. It helps enterprises or individuals reduce manual input, improve the efficiency of financial data management. Optimize the work process, reduce human errors, and improve data accuracy.
Streamline your finance workflow with the Regular Invoice Collection Template. Efficiently manage invoice tracking, invoice submission, and invoice approval while receiving automated reminders for timely collection. Monitor invoice status, organize invoice data, and improve overall finance process efficiency with a centralized invoice dashboard and seamless workflow automation for your team.
AI Automated Product R&D Management helps teams efficiently control the entire product development workflow, covering task assignment, bug management, product iteration, automated reporting, and notifications. Leverage AI-powered optimization to streamline development, track requirements, and generate iteration reports automatically, improving collaboration and R&D efficiency. Ideal for product managers, R&D teams, and agile development workflows.