Workflow agents in Optimizely Opal connect multiple specialized agents into a single automated process.
Access your agents
- Go to home.optimizely.com.
- Select your organization.
-
Click Opal.
-
Click Agents.
-
Click the Your Agents tab.
Create a workflow agent from scratch
- Follow the steps in the Access your agents section.
-
Click Add Agent > Workflow Agent.
- Enter a Name.
- (Optional) Toggle Active on or off.
- On – The workflow agent can be executed.
- Off – The workflow agent cannot be executed. This is helpful while you are still developing the agent.
- Enter a unique Id. The field displays Available to confirm the Id is not already in use.
- Add a Description. The description explains what the workflow agent does and when collaborators should use it.
- Click Apply.
Configure your workflow agent
The following example shows how to connect a simple trigger and a specialized agent. A trigger is an event or condition that starts the workflow agent. See Workflow triggers for information.
- Drag and drop a Scheduler trigger into the workspace.
-
Configure the Scheduled Trigger as needed. In the following example image, the schedule runs at the beginning of every month. See Workflow agent triggers for information.
- Click Save.
-
Drag and drop a specialized agent from the Agents section into the workspace or click Create new specialized agent. See Create a specialized agent.
Specialized agents run in single-turn mode when used in a workflow agent, regardless of how they are configured. Workflow agents do not support multi-turn conversation. See Specialized agents overview for information on interaction modes. -
Click the Scheduler trigger's connector circle.
- Drag the connector to the Agent.
-
Click Save.
Add logic to your workflow agent
Logic elements, such as Conditions and Loops, let you build dynamic and automated workflows. These optional elements let workflows adapt to conditions and repeat actions.
Opal has the following Logic elements:
- Condition – Make decisions based on specific criteria, directing the workflow down different paths.
- Loop – Repeat a series of actions for each item in a specified collection, automating repetitive tasks.
To incorporate conditions or loops into your workflow, drag and drop the desired logic element from the workflow builder Components. For instructions, see conditions and loops.
View an agent's details from the workflow agent builder
Click an individual agent to view its details directly from the workflow agent builder.
Select the Agent Details tab to view the agent's information. Click View Agent to open a new window with the agent details where you can edit your agent.
Create a workflow agent from JSON
Create a workflow agent from JSON to share it across multiple Opal instances or with other teams. If you are working within a single Opal instance, Duplicate a workflow agent instead.
Complete the following in Opal:
- (Conditional) Add all specialized agents embedded in the workflow agent, if your Opal instance does not already contain them. See Create a specialized agent from JSON for instructions.
- Follow the steps in the Copy a workflow agent as JSON section.
- Access your agents.
-
Click Add Agent > Import Agent.
- Paste the JSON.
- (Optional) Toggle Import Mode on to overwrite existing agents with the same name and Id, or off to preserve them.
-
Click Import Agent.
If you use Opti ID, administrators can turn off generative AI in the Opti ID Admin Center. See Turn generative AI off across Optimizely applications.
Article is closed for comments.