Prompting for task bots
- Updated: 2024/11/19
Co-Pilot for Automators makes developing sophisticated bot automation simple and fast by leveraging natural language prompts.
Developers can use Co-Pilot for Automators (Co-Pilot) to streamline the automation development process, reducing setup time and effort through automatic variable creation and intuitive action-variable mapping. Create complex, reliable automation with ease, by leveraging prompts for property updates and conditional logic and loop configurations. Optimize productivity and improve the quality of automation solutions.
Prerequisite
See Availability
Capabilities
Co-Pilot offers a range of features in the Bot editor
designed to enhance automation efficiency and user experience. Here is a structured
overview of the capabilities.
- Automatic Variable Creation: When you create an action, Co-Pilot automatically generates variables for all mandatory attributes, streamlining the setup process.
- Variable Tagging in Prompts: You can describe and reference existing
variables using the established variable tag format, such as
$variable_name$
, to ensure clarity and consistency in your automation scripts. - Action and Variable Mapping: With a single prompt, you can create an
action and a variable, and map them together. For example,
Connect to Salesforce and set username to $salesforceUserName$
. - Attribute Updates: Easily update the attributes of an action directly within the Bot editor, allowing for quick modifications and adjustments.
- Batch property updates: Select multiple actions and update matching properties across the selection, saving time and ensuring uniformity.
- Conditional logic specification: Define conditions for if/else
actions with detailed instructions on bot behavior. For instance,
if greater than 99, else save $var$ to excel
. You can also specify multiple conditions, such asif greater than 99 and less than 999
. - Loop logic configuration: Set the iterator type and items for loop
logic using built-in iterators, such as
For each: file in a folder, row in a database table
. - Bot editor flexibility: Create a complete automation or select and edit parts of the bot. Add new actions to specific locations within the automation and automatically create variables for the mandatory attributes.
- Property and condition management: Update properties of one or multiple selected actions, and add or update conditions for if/else actions.
- Iterator setup: Configure the iterator type and items for loop logic, whether using 'for' or 'while' loops, to suit your automation needs.
Known limitations in the Bot editor
The following functionality is currently not supported by Co-Pilot for Automators.
Element | Limitations |
---|---|
Packages |
|
Actions |
|
Properties |
|