Prompting for script
- Updated: 2025/07/15
Generate Python, JavaScript, and VBScript with Co-Pilot for Automators (Co-Pilot) to use as manual or file input in bot automation.
When prompting, three scripting languages can be generated automatically to perform operations.
-
Python
-
JavaScript
-
VBScript
In the below example, Co-Pilot is prompted to write a Python script and save it as a file. This file is automatically created in the same Control Room folder as the bot, and automatically linked to the command action. The Python session is saved and the python function is executed.
Example:

Ask the user for a number and check if it is a prime number using a Python
script saved to a file.
