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.
This template is used for querying information data and providing feedback on query results via email. It ensures information isolation while allowing external users to easily retrieve the required information. In addition to exam result queries, it can also be used for use case such as competition registration results and bid results, ensuring efficient responses and accurate retrieval of necessary information.
Monitoring staff programs, spontaneous client requests, and strategic initiatives can be difficult in expanding teams. Centralize your projects and tasks to improve teamwork and control.
This template is suitable for the review management of any content pending publication or promotion. It achieves this through an automated workflow that: reminds reviewers to review content in a timely manner, automatically notifies progress on the review, thereby improving efficiency and transparency, reducing manual intervention, and ensuring the timeliness and accuracy of the review process.
The Email-to-Task Automation for Support Teams template is a cutting-edge solution designed to monitor customer emails in the support inbox in real-time and convert them into ticket tasks. It also automatically rotates the assignment of follow-up personnel. This template assists teams in automatically gathering and organizing customer feedback, ensuring that all customer issues are promptly tracked and responded to, thereby enhancing the efficiency and quality of customer service.
The challenges in traditional contract management, such as dispersed information, difficulty in tracking, repetitive data entry, and lack of transparency in status, have been addressed. This effectively helps teams efficiently manage the contract lifecycle, reduces manual operations, and improves data accuracy and team collaboration efficiency