Workflow agents
Workflow agents overview
Optimizely Opal workflow agents let you automate and optimize complex business processes by orchestrating triggers, logic, and agents. Workflow agents streamline multi-step tasks, support autonomous agent behavior, and enable advanced logic such as looping and branching.
Create a workflow agent from scratch
Workflow agents in Optimizely Opal connect multiple specialized agents into a single automated process. Go to home.
Import a workflow agent
Import a workflow agent to share it across multiple Opal instances or with other teams. Upload or paste its JSON configuration to complete the import.
How to trigger workflow agents with Content Marketing Platform webhooks
Webhooks let Optimizely Content Marketing Platform (CMP) https //www. optimizely.
Workflow agent triggers
Workflow triggers start an Optimizely Opal workflow agent when their defined conditions are met. Each trigger listens for a specific event, such as a chat command, a scheduled time, a webhook call, or an email.
Workflow agent conditions
The Condition logic element in Optimizely Opal's workflow agent builder introduces decision-making and branching paths into your workflows. It uses "if this, then that" logic to evaluate a criterion, directing the workflow to different actions based on whether it meets that criterion.
Workflow agent loops
The Loop logic element in Optimizely Opal's workflow agent builder interface automates repetitive tasks within your workflows. Specifically, it functions as a "For Each" loop.
Workflow agent code steps
In Optimizely Opal, a code step runs your own Python, JavaScript, or Bash code as a step in a workflow agent. Use a code step when a workflow needs an exact, repeatable result.
Workflow agent code step examples
In Optimizely Opal, these examples provide handler code to copy into a code step and adapt. Every example lists the input variables to declare and the sample data for a test run.
Manage workflow agents
Optimizely Opal workflow agents let you automate and optimize complex business processes by orchestrating triggers, logic, and agents. Workflow agents streamline multi-step tasks, support autonomous agent behavior, and enable advanced logic such as looping and branching.
Test a workflow agent
After you create a workflow agent in Optimizely Opal, if you used Chat Input as the trigger , you can test it before deploying it. Go to home.
Workflow agent logs
View a log of a workflow agent's execution in Optimizely Opal to debug the agent and see how it is performing. Use the Agent activity logs tab to see execution activity across all agent types.
Copy the execution ID of a workflow agent
The Execution ID is a unique identifier for a specific run of a workflow agent in Optimizely Opal. You might need it for the following reasons Tracking and monitoring – It lets you track the progress and status of a long-running agent execution.