Skip to main content

Uniphore Help Center Portal

Agentic Workflow

An Agentic Workflow is a low-code tool for building and running automated, multi-step processes. Use it to design workflows, assign tasks to AI agents, and monitor their execution. Use the Agentic Workflow environment to design and activate workflows. Once activated, a workflow can be:

  • Executed by multiple agents at once

  • Triggered by specific events

  • Invoked directly by end users

  • Invoked by agents as a tool within their own execution

Before you move a workflow to production, you deploy it to a Live environment to test end-to-end execution and confirm that tasks run in the correct sequence, data flows correctly between steps, and conditional logic behaves as intended. Once you're satisfied with the results, you deploy to Prod for real-world operation. After deployment, you can run Agent Evaluation on the workflow to measure real-world outcomes such as task completion rate, output quality, tool usage correctness, and performance.

Business AI Cloud supports two methods for building workflows:

  • Agentic Workflows - The current method for building workflows.

  • BPMN Workflows - The existing method is based on the Business Process Model and Notation (BPMN) standard.

To get started working with Agentic workflows, go to the home page > Agents > Agentic Workflows.

The Agentic Workflows page opens and displays all your existing Agentic Workflows, organized into two tabs: Agentic Workflows and BPMN Workflows. Switch between the tabs to view and manage existing Workflows.

agentic_workflows_home.png
Agentic Workflows

Agentic workflows are automated workflows you build and manage in Business AI Cloud. Each workflow consists of a series of connected nodes. Nodes are individual steps that perform actions, run logic, call agents, or interact with external systems, executed in the order you define.

Agentic Workflows use a workflow engine that supports both deterministic workflows (where you control exactly which steps run and in what order) and non-deterministic workflows (where agents can make decisions and dynamically delegate tasks at runtime).

To get started, go to the home page > Agents > Agentic Workflow > Agentic Workflows tab.

Each Agentic Workflow is displayed as a card on the Agentic Workflow tab, showing its name, description, trigger type, key, current status, and last modified date.

Creating an Agentic Workflow

To create an Agentic Workflow:

  1. On the Agentic Workflows page, click Start Your Journey.

    The Choose Workflow Type dialog opens.

    agentic_flow_choose_type.png
  2. Select Agentic Workflow.

    The Create New Workflow dialog opens.

    agentic_flow_create_new.png
  3. Complete the following fields:

    Field

    Description

    Display Name

    The name displayed on the flow's card on the Agentic Workflows page.

    Workflow Key

    A unique identifier used when invoking the workflow via the API. Generated automatically from the Display Name, but can be edited before creation.

    Description

    An optional description of what the workflow does.

  4. Click Create Workflow.

    The workflow is created and opens in the Canvas Builder.

    Note

    The Workflow Key cannot be changed after the workflow is created.

Canvas Builder

The Canvas Builder is where you design your Agentic Workflow by adding and connecting nodes. When a new workflow opens, the canvas displays a prompt inviting you to describe your workflow in natural language. Use this to build a workflow with Copilot or build it manually.

agentic_flow_canvas.png
Canvas Controls

The toolbar in the upper left of the canvas provides the following controls:

Canvas_Controls.png

Control

Description

Zoom in / Zoom out

Adjusts the canvas zoom level.

Select

Enables selection mode for multiple-node selection.

Lock

Locks the canvas to prevent accidental changes.

Tidy

Automatically arranges and aligns nodes on the canvas.

Keyboard Shortcuts

Shows a list of all keyboard shortcuts.

Debugger Panel

The Debugger Panel runs along the bottom of the Canvas Builder and contains the following tabs:

  • Traces tab - Displays execution traces only for AI Agent nodes in the workflow.

  • Variables tab - Displays all variables produced during the execution, organized by scope.

  • Logs tab - Displays a timestamped event log of everything that occurred during the execution, along with detailed metadata for each event.

  • Issues tab - Displays validation errors in the workflow, such as unconnected nodes or missing required fields. If this tab is empty, the workflow is valid and ready to run.

Click the expand icon to maximize the Debugger Panel. Refer to Running and Debugging a Workflow for more information.

Debugger_Panel.png
Building an Agentic Workflow with Copilot

Copilot builds and modifies Agentic Workflows based on your natural language descriptions. Describe what you want your workflow to do, and Copilot will build it for you, step by step. You can also ask Copilot to modify an existing workflow or explain what a workflow does.

To open Copilot:

  • Type a description in the center prompt and press Enter, or

  • Click the Ask or command... bar at the bottom of the canvas, or

  • Click the Tools Tools_icon.png icon on the top-right, then click Copilot, or

  • Press ⌘+K (Mac) or Ctrl+K (Windows).

agentic_flow_axiom_panel.png
Building an Agentic Workflow Manually

If you prefer to build your workflow manually, add nodes as needed and design a workflow.

To add a node:

  1. Open the Node category panel:

    • Click the Add Node Add_new_environment_icon.png icon at the top-right of the canvas.

    • Click the Add Node Add_icon_3.png icon next to the existing node on the canvas.

      Add_node_icons.png

    The Add Node panel opens, displaying all available nodes organized into categories.

    agentic_flow_add_node.png
  2. Search for a node by name or keyword using the search bar at the top of the panel.

  3. Click a node to add it to the canvas, or drag it to a specific position.

  4. Once a node is on the canvas, double-click it to open its Properties Panel and configure it. Refer to Working with Nodes for more information about nodes and their configuration.

  5. Likewise, create a complete workflow on the canvas.

    Full_workflow.png

    Important

    • The workflow must start with a Trigger category node.

    • The workflow must end with a Stop node.

  6. Use the Run icon to test and execute the workflow. Refer to Running and Debugging a Workflow for more information.

Working with Nodes

Nodes are the individual steps that help to design an Agentic Workflow. Each node performs a specific action: running logic, calling an agent, executing code, interacting with an external service, and so on. Nodes are connected sequentially to define the execution path, and each node can produce an output that subsequent nodes can access.

Add Nodes

You can add a node to the canvas using BAIC Copilot or add it manually from the Add Node panel.

agentic_flow_add_node.png

This panel displays all available nodes organized into the following categories:

  • Agents - Agents you define on the platform.

  • A2A (remote) - External AI agents connected through the Agent-to-Agent (A2A) protocol you define on the platform.

  • AI - Nodes that call AI functions or models.

    Notice

    This category is under development, coming soon!

  • Trigger - Nodes that start the workflow.

  • Logic - Nodes that control workflow execution, such as Switch, Converge, Loop, Subflow, Code, Human-in-the-Loop (HITL), If-Else, etc.

  • Action Library - Preconfigured tools/actions from the Agent Action Library page. In addition, it supports other options, such as OpenAPI Spec, Code, and Sequence.

  • Connector - Nodes that hand off work to an external system or custom integration defined on the platform.

Configure Nodes

You need to configure a node after it is added to the canvas; double-click it on the canvas to open its Properties panel.

The Properties panel varies by node type, but many nodes share the following fields:

  • Node Name - A meaningful label for the node. Displayed on the canvas.

  • Node Description - Displayed below the node on the canvas.

  • Retry on Failure - Enable this to automatically retry this node if it fails; each retry re-runs the node. Define retry from 1 to 5 times.

  • Node ID - A unique identifier for the node, shown at the bottom of the panel. Use the Node ID to reference this node's output in expressions and in other nodes.

  • Concurrency Groups - Let you control how many nodes can run at the same time within a workflow. Use them to prevent resource-heavy nodes from overwhelming shared infrastructure. When a group reaches its limit, the platform keeps additional node runs pending until capacity frees up, rather than running them all at once.

    To select or create a new group:

    1. Click the dropdown to view the group list, then select one or more existing groups, or click Create New Group.

      Concurrency_Groups.png
    2. Enter a group name.

    3. Enable one of the following scopes:

      • Shared - Limits concurrency across all workflows in your tenant that use this group. Use this scope when multiple workflows share the same resource, such as a common GPU service or sandbox pool.

      • This workflow - Limits concurrency to node jobs within this workflow only. Use this scope when one workflow needs to limit its own parallelism without affecting other workflows.

    4. Choose the maximum number of nodes that can run simultaneously in this group.

    5. Click Create.

      The new group is created and added to the list.

    6. To update the existing concurrency group:

      1. Hover over the group name.

      2. Click the Edit Edit_icon.png icon.

      3. Update the maximum number of nodes that can run simultaneously in the group.

      4. Click Save to update the change.

  • Mock Execution - Enables you to use configured mock outputs instead of running the supported workflow nodes.

    Tip

    Use Mock Execution to test downstream logic quickly without waiting for live node runs.

Agents Category

This category displays all agents created on the platform. You use it to find and add an existing agent to your workflow canvas as a node, so the workflow can call that agent to complete a task.

Important

The agent must be connected and authorized on the Agent SDK page before it appears in this category.

To add an Agent and its configuration:

  1. Open the Add Node panel on the workflow canvas.

  2. Select the Agents category.

    The panel displays a list of all agents created on the platform.

  3. Enter the agent name in the search box to filter the list.

  4. Select the agent you need.

    The selected agent is added to the canvas as a node.

  5. Once an agent is on the canvas, double-click it.

    The Properties Panel opens on the right.

    Agent_Config_panel.png

    To configure the Agent node:

    • To change the agent assigned to this node, click the agent name field.

      The Select Agent panel opens.

      • Find and select the required agent.

        The platform replaces the assigned agent and automatically updates the canvas.

    • To update the assigned agent's configuration, click the Edit edit_icon1.png icon next to the agent name.

      The Update Agent page opens, and you modify the agent as needed.

    • The default is the Latest agent version; to change the version, click the Agent Version field and select the required version from the dropdown list.

    • In the Input field, enter the information or instruction sent to the agent, for example, execution.query.

    • Respond to Chat - Enable this to send the answer directly to chat.

      Applicable only when the workflow has a Chat Trigger.

    • Delegation Count - Enter the maximum number of times the agent can delegate work.

      Applicable only when sub-agents are connected.

    • In the Attachments field:

      • Select one or more file paths or earlier file results from the dropdown to send to this agent.

      • You can also use outputs from previous workflow nodes, such as execution.document or node("nodeId").output(), instead of specifying static file paths. Click Add to save.

    • Moke Output - Enable this to configure the mock output for mock execution. Enter the mock output manually in the JSON format.

      Tip

      The Moke output format should match the agent's actual output.

    • Mock Tools - Enable this to use mocked tool responses during mock execution.

How it works

Select a local agent, assign a task to it, and connect its response to the next node. The agent can use its configured tools and attached files. In a chat workflow, it can stream the answer directly to the user. Connected sub-agents can help with delegated work up to the Delegation Count.

Output

The agent's response.

Agent to Agent (A2A) Category

This category displays all connected external agents (remote agents connected via the A2A protocol). You use it to find and add a connected external agent to your workflow canvas as a node, so the workflow can delegate a task to that remote agent.

Important

The external agent must be connected and authorized on the Agent-to-Agent (A2A) page before it appears in this category.

  1. Open the Add Node panel on the workflow canvas.

  2. Select the A2A(remote) category.

    The panel displays a list of all agents created on the platform.

  3. Enter the agent name in the search box to filter the list.

  4. Select the agent you need.

    The selected agent is added to the canvas as a node.

  5. Once an agent is on the canvas, double-click it.

    The Properties Panel opens on the right.

    A2A_config_panel.png

    To configure the A2A Agent node:

    • To change the agent assigned to this node, click the agent name field.

      The Select A2A Agent panel opens.

      • Find and select the required agent.

        The platform replaces the assigned agent and automatically updates the canvas.

    • In the Input field, enter the information or instruction sent to the agent, for example, execution.query.

    • Respond to Chat - Enable this to send the answer directly to chat.

      Applicable only when the workflow has a Chat Trigger.

    • Delegation Count - Enter the maximum number of times the agent can delegate work.

      Applicable only when sub-agents are connected.

    • In the Attachments field:

      • Select max. one file path or an earlier file result from the dropdown to send to this agent.

      • You can also use outputs from previous workflow nodes, such as execution.document or node("nodeId").output(), instead of specifying static file paths. Click Add to save.

    • Moke Output - Enable this to configure the mock output for mock execution. Enter the mock output manually in the JSON format.

      Tip

      The Moke output format should match the agent's actual output.

How it works

The workflow contacts the registered remote agent, sends the task and any optional attachments, waits for a response, and passes it to the next node. The remote service must be reachable and correctly registered.

Output

The response returned by the remote agent.

Trigger Category

Every Agentic Workflow must begin with a trigger. A trigger defines how and when the workflow starts. Without a trigger, a workflow execution is not possible.

  1. Open the Add Node panel on the workflow canvas.

  2. Select the Trigger category.

    The panel displays a list of all triggers enabled on the platform.

  3. Enter the trigger name in the search box to filter the list.

  4. Select the trigger you need.

    The selected trigger is added to the canvas as a node.

  5. Once a trigger is on the canvas, double-click it.

    The Properties Panel opens on the right.

    agentic_flow_trigger_panel.png
Manual Trigger

Starts the workflow manually, either by selecting Run in Canvas Builder or by calling the trigger through the API. This is the most commonly used trigger type.

To configure:

  1. Enter the name and description for the trigger.

  2. To add Input Variables, click Add Input Variables.

    1. In the Key field, enter the variable name and select its data type.

    2. In the Value field, enter a sample value to test the workflow.

    3. Select the Attachment Attachment.png icon to attach a file to this variable, if needed.

      Notice

      Supported file types are PNG, JPG/JPEG, WebP, PDF, JSON, TXT, DOCX, XLSX, XLS, and CSV, with a maximum file size of 64 MB.

  3. Trigger via API

    Note

    The API will be updated based on the input that you added before.

    • Publish the workflow to enable the endpoint, or use the Run button to test drafts without publishing.

    • Copy the sample request shown under Trigger via API.

    • Replace YOUR_API_TOKEN with a valid API token and <your-workflow-key> with this workflow’s key.

    • Add any input variables the workflow needs to the variables object.

    • Send the request.

    Notice

    The endpoint requires a published workflow. Unpublished (draft) workflows can only be tested using the Run button in Canvas Builder.

How it works

Enter test values and press Run. The values are converted to their selected data types and made available to downstream nodes. The panel may also show an example for calling the workflow API; API invocation is a workflow-level capability. Test values are used for the run, while the saved trigger definition keeps the variable names and types.

Output

The entered values and attached files.

Webhook Trigger

Starts the workflow when an HTTP request is received at a generated webhook URL. It supports returning a response immediately or upon workflow completion.

To configure:

  1. Enter the name and description for the trigger.

  2. In the Path field, enter a unique ending for the webhook address, for example, my-webhook-path.

  3. From the HTTP Methods dropdown, select one or more request types the webhook accepts:

    • GET

    • POST

    • PUT

    • PATCH

    • DELETE

  4. From the Credential dropdown, select a webhook credential for authentication. To create a new or update an existing credential, refer to Managing Credentials.

    Tip

    Leave this field empty for no authentication.

  5. Response section:

    1. From the Response Type dropdown, select when the webhook replies.

      • Immediately replies before the workflow finishes.

      • After Last Node waits until the workflow completes before responding.

    2. From the Status Code dropdown, select a standard code to return to the caller.

      Notice

      Selecting Other shows the Custom Status Code field. Enter the numeric response code there.

    3. From the Content Type dropdown, select the format of the response.

    4. Click Add Response Headers to include custom headers in the webhook response, if needed.

      1. In the Key field, enter the variable name and select its data type.

      2. In the Value field, enter a sample value for testing the response.

  6. Advanced section:

    1. In the Allowed Origins (CORS) field, enter one or more websites allowed to call the webhook.

    2. Enable Raw Body to pass the request body as-is rather then interpreting it as JSON.

How it works

Save the workflow, provide the generated webhook address to the calling application, and select the accepted request methods. During a test run, the workflow waits for a request to be received via the webhook. Immediately replies before the workflow finishes; After Last Node keeps the caller waiting for the final result.

Output

A Payload route for downstream nodes. The workflow backend defines the exact request information available at runtime.

Schedule Trigger

Starts the workflow automatically on a schedule defined by a cron expression.

To configure:

  1. Enter the name and description for the trigger.

  2. Turn on Enabled to let this trigger fire the workflow on the configured cron schedule. When disabled, the workflow does not start automatically from this trigger.

    Notice

    When Enabled is off, Cron Expression and Input Variables are hidden while their saved values remain configured.

  3. In the Cron Expression field, enter the schedule for this trigger.

  4. To add Input Variables, click Add Input Variables.

    1. In the Key field, enter the variable name and select its data type.

    2. In the Value field, enter a sample value to test the workflow.

    3. Select the Attachment Attachment.png icon to attach a file to this variable, if needed.

How it works

The frontend saves the cron expression, enabled state, and optional variables. During a test run, the backend may place the workflow in a waiting-for-schedule state. Actual scheduling is handled by the workflow backend. Disabling the trigger prevents scheduled starts without deleting its settings.

Output

A Trigger route. The workflow backend defines the exact runtime schedule information.

Chat Trigger

Starts the workflow when a web chat message or voice input is received. Used to build conversational workflows.

Before using it, connect the trigger to a step that handles the user's request, typically an AI Agent. Add Respond to Chat, or enable Respond to Chat on the AI Agent, so the user receives an answer.

To configure:

  1. Enter the name and description for the trigger.

  2. In the Welcome Message field, enter the message shown to users when they open the chat.

    Notice

    This message does not start the workflow.

  3. Enable Voice to add speech-to-text and text-to-speech support for this chat trigger.

How it works
  1. The user opens the Chat panel. A chat session is created, and previous messages can be loaded.

  2. The user sends a message. Empty messages cannot be sent.

  3. The message starts the workflow and is passed to the first connected node.

  4. The workflow and chat backend process the request and deliver the response to the Chat panel.

  5. A Respond to Chat node can send a message and finish, or pause until the user replies.

  6. If the workflow pauses for a reply, the next user message continues the same conversation and workflow context.

Output

The user's message and chat session information for downstream nodes. Replies return to the user via an AI Agent configured to respond to chat, or through a Respond to Chat node.

Important

  • If Chat Trigger is the workflow’s only trigger, the normal Run button is hidden. Send a chat message to start the workflow.

  • The user cannot send another message while the workflow is actively generating a response, unless it is paused waiting for the user.

  • Chat history keeps the conversation messages available in the Chat panel.

  • The trigger has one outgoing connection. Use Split after it when several branches must start together.

Kafka Trigger

Starts the workflow when a message is received on a configured Kafka topic.

To configure:

  1. Enter the name and description for the trigger.

  2. Turn on Enabled to let this trigger start the workflow when a Kafka message is received. When disabled, the workflow does not start automatically from this trigger.

  3. In the Brokers field, enter one Kafka broker address (host: port) per line.

  4. In the Consumer Group ID field, enter the Kafka consumer group identifier.

  5. In the Topic field, enter the Kafka topic to subscribe to.

  6. From the Authentication Type dropdown, select No Auth or Basic Auth.

    • Select a credential when Basic authentication is selected. To create a new or update an existing credential, refer to Managing Credentials.

  7. From the Optional Settings dropdown, select one or more advanced fields to configure.

    • In the Session Timeout (ms) field, enter the timeout used to detect consumer failures.

    • In the Heartbeat Interval (ms) field, enter the expected time between heartbeats to the consumer coordinator.

    • In the Auto Commit Interval (ms) field, enter how frequently, in milliseconds, the consumer offsets are auto-committed.

    • In the Auto Commit Threshold field, enter the number of messages consumed before auto-committing offsets.

    • Turn on Allow Auto Topic Creation to automatically create the topic if it does not exist on the broker.

    • Turn on Read From Beginning to start consuming from the earliest available message.

    • Turn on JSON Parse Message to automatically parse incoming messages as JSON.

    • Turn on Return Headers to include Kafka message headers in the output.

How it works

When enabled, the workflow connects to the listed brokers and listens to the topic as part of the Consumer Group. During a test run, it waits for a Kafka message. JSON parsing converts JSON text into structured information; Read From Beginning allows older available messages to be consumed. Disabling the trigger stops message consumption without deleting its settings.

Output

A Message route. Return Headers asks the backend to include headers; the backend defines the exact runtime message object.

Email Trigger

Starts the workflow when a new email is received in a configured IMAP mailbox.

To configure:

  1. Enter the name and description for the trigger.

  2. From the Email Credential dropdown, select the IMAP credential used to connect to your mailbox. To create a new or update an existing credential, refer to Managing Credentials.

  3. In the Mailbox Folder field, enter the folder to watch for new emails.

  4. Turn on Mark as Read to mark emails as read after they are processed.

  5. In the Poll Interval (seconds) field, enter how often to check for new email.

  6. Turn on Enabled to let this trigger check the mailbox automatically. When disabled, the workflow does not start automatically from this trigger.

How it works

The frontend saves the IMAP credentials, folder, enabled state, Mark as Read option, and polling interval. Mailbox polling, email selection, and mark-as-read timing are handled by the workflow backend. Disabling the trigger prevents automatic mailbox checks without deleting its settings.

Output

An Email route. The workflow backend defines the exact email information and attachment format available at runtime.

Logic Category

Logic nodes control how a workflow flows: branching, looping, pausing, running steps in parallel, and ending the workflow. Use this category to add flow-control steps between your workflow’s data and action nodes.

  1. Open the Add Node panel on the workflow canvas.

  2. Select the Logic category.

    The panel displays a list of all logic nodes available on the platform.

  3. Enter the logic node name in the search box to filter the list.

  4. Select the logic node you need.

    The selected logic node is added to the canvas.

  5. Once a node is on the canvas, double-click it.

    The Properties Panel opens on the right.

Code Node

Runs custom JavaScript or Python code in a secure sandbox when none of the ready-made nodes can perform the operation you need. Use it for custom business logic, data transformations, or calculations that fall outside standard node capabilities. Because it requires writing code, this node should be configured by a developer.

The Code node is designed for lightweight, deterministic computation. It is not intended for long-running jobs or I/O-intensive operations.

To configure:

  1. Enter the name and description for the node.

  2. From the Concurrency Groups dropdown, select a concurrency group. Refer to the Working with Nodes to learn more.

  3. Turn on Retry on Failure to automatically retry running this code if it fails. Refer to the Working with Nodes to learn more.

  4. In the Code field, enter the custom instructions to run.

    • This field is required. This node should be configured by a developer.

    • Code execution is limited to 5 minutes. Longer-running code is terminated.

  5. Turn on Mock Output to configure the mock output used during mock execution. Enter the mock output manually in the JSON format.

    Tip

    The Moke output format should match the node's actual output.

How it works

A developer writes the operation and returns a result. The editor can quickly run code through the code-executor service and display streamed logs and results. During workflow execution, the backend receives the code and retry settings; backend error events mark the node and run as failed.

Output

The result produced by the custom code.

Languages and Libraries

The Code node supports JavaScript and Python. You can switch between languages using the language toggle at the top of the code editor.

Code runs inside a sandboxed environment with access to a curated set of libraries. The available libraries cover the most common use cases, including HTTP requests, email (SMTP/nodemailer), CSV parsing, date handling, and web scraping. If your use case requires a library that is not currently available, contact your Uniphore representative to discuss its inclusion.

Writing Code

All code in the Code node is written inside a main() function. The function body is the only editable area. This design prevents top-level script leakage and ensures the workflow context is correctly injected at execution time.

To produce output from the Code node, return a value from main(). You can return any primitive value, object, or array. If main() returns nothing, the node produces no output, and subsequent nodes will have nothing to reference from it.

// JavaScript example
async function main() {
  const total = execution.quantity * execution.unit_price;
  return { total };
}
# Python example
def main():
    total = execution["quantity"] * execution["unit_price"]
    return {"total": total}
Accessing Variables

The Code node can read and write variables across multiple scopes, which are automatically injected by the workflow engine. The following scopes are available:

Scope

Syntax

Access

Execution

execution.variable_name

Read/Write

Node output

node("node-id").output()

Read only

Global (root exception)*

global.variable_name

Read only

Parent (immediate parent flow)*

parent.variable_name

Read only

Loop item**

loop_item

Read only

Loop index**

loop_index

Read only

Chat input***

chat_input

Read only

  • *global and parent are distinct in multilevel subflow nesting. global always refers to the root-level execution; parent refers to the immediately enclosing flow. In a single-level subflow, they point to the same execution.

  • **loop_item and loop_index are available when the Code node runs inside a Loop node. They carry the current iteration's item and its zero-based index, respectively.

  • ***chat_input carries the global chat context variable and is populated when the flow is triggered by a Chat Trigger. It is read-only.

Commented syntax examples for all scopes are included in the code editor as a reference.

Quick Run

Quick Run lets you test your code without running the full workflow. Click the Quick Run button in the code editor to open the mock input panel, where you can supply values for any execution-scoped variables your code references. The code executes immediately against the mock data and returns the result inline.

Use Quick Run during development to verify logic and catch errors before triggering the full flow.

Connector Node

Delegates a unit of work to a customer-hosted worker that is subscribed to a specific topic, rather than processing the work within the platform itself. Use it when a task needs to run on infrastructure you manage, such as a legacy system or an internal service with no direct API integration. The worker picks up the job, processes it, and returns a result to the workflow.

To configure:

  1. Enter the name and description for the node.

  2. In the Connector field, select an existing connector from the dropdown. To create a new connector, refer to Managing Connectors.

    Important

    Once selected, the connector is locked.

  3. From the Concurrency Groups dropdown, select a concurrency group. Refer to the Working with Nodes to learn more.

  4. Turn on Retry on Failure to automatically retry if the worker reports failure. Refer to the Working with Nodes to learn more.

  5. Turn on Mock Output to configure the mock output used during mock execution. Enter the mock output manually in the JSON format.

    Tip

    The Moke output format should match the node's actual output.

How it works

The frontend sends the connector topic, mapped input, allowed-variable list, concurrency groups, and retry configuration to the workflow backend. Worker subscription, completion, retries, and returned information are backend-controlled.

Output

An Output route. The workflow backend determines the exact result returned.

Converge Node

Brings multiple parallel branches created by a Split node back together into a single path before the workflow continues. Use it whenever a workflow splits into simultaneous branches and later steps depend on all of them finishing first. It has no configuration options; it simply waits for every connected branch to complete.

How it works

Connect the ends of parallel branches into this node. The backend reports when convergence is complete; the node then continues through its single Joined output. There is no selectable join strategy in the Properties panel.

Split___Converge.png
Output

One joined route.

Human in the Loop (HITL)

Pauses the workflow and asks a person to review, approve, reject, or edit information before execution continues. Use it for steps that require human judgment, such as approving a transaction, verifying content, or confirming a decision an automated step cannot safely make alone.

The reviewer is notified via Email or Slack and can optionally consult an AI assistant for additional context before making a decision.

To configure:

  1. Enter the name and description for the node.

  2. From the Notification Type dropdown, click Email or Slack. To know more, refer to Notification Channels.

  3. From the Credential dropdown, select a Shared Credential, or use My Credential to use the credentials of the user who triggered this step. To create a new or update an existing credential, refer to Managing Credentials.

  4. In the Message field, enter the instructions and context shown to the reviewer.

  5. In the Approve Button Label field, enter the text displayed on the approve button.

  6. In the Reject Button Label field, enter the text displayed on the reject button.

  7. In the Timeout After field, enter how long to wait before triggering the timeout action.

  8. From the Timeout Unit dropdown, click Seconds, Minutes, or Hours.

  9. From the On Timeout dropdown, select a suitable option for what happens when the timeout expires.

  10. Turn on Enable AI Assistant to let reviewers chat with an AI assistant for more context before making a decision.

    • In the Sensitive Variables field, enter one or more variable keys and click Add.

      Tip

      Leave this field empty to expose all workflow data to the assistant.

    • In the Sub Agents field, select one or more agents the assistant can consult.

      Tip

      The AI assistant collaborates with these agents when it needs more data to answer.

  11. Turn on Mock Output to configure the mock output used during mock execution. Enter the mock output manually in the JSON format.

    Tip

    The Moke output format should match the node's actual output.

How it works

The backend sends the notification and waits for a decision. Approve and Reject follow their matching routes. On timeout, the backend follows the configured timeout action. Enable AI Assistant sends the selected variable keys and agent IDs to the HITL backend, which controls assistant conversation and data-withholding behavior.

Output

An Approved, Rejected, or optional Timeout route. The Timeout route is shown only when On Timeout is set to the Route to Timeout branch.

Defining Branches

When a HITL node is reached, execution pauses, and a notification is sent to the designated reviewer. The reviewer's response, or its absence, determines which branch the workflow follows. The HITL node has three output branches:

  • Approve - the reviewer approved the request. Execution continues down the approval path.

  • Reject - the reviewer rejected the request. Execution continues down the rejection path.

  • Timeout - the reviewer did not respond within the configured time limit. What happens next depends on the timeout action (see below).

Every HITL node must have nodes connected to its Approve and Reject branches. The Timeout branch is required only if the timeout action is set to Route.

Notification Channels

The HITL node sends a notification to the reviewer when execution pauses. Two notification channels are supported: Email and Slack. You select the channel using the Notification Type field in the Properties Panel.

The notification includes the message you configure, along with two action buttons. When the reviewer clicks a button, their response is recorded, and the workflow resumes on the corresponding branch.

Email

For email notifications, configure the following fields:

  • From - the sender email address.

  • To - the recipient email address. Supports static values and dynamic variables (for example, {{execution.reviewer_email}}).

  • Subject - the subject line of the email.

  • Brand - an optional identifier that controls which email template is used to render the notification.

The reviewer receives a formatted email containing the message and two buttons: one for accept and one for reject. Clicking the accept button opens a confirmation page and records the response.

Slack

For Slack notifications, configure the following fields:

  • Slack Target Type - select Channel to send to a Slack channel, or User to send to an individual user.

  • Channel / User - the channel name (e.g., #hitl-approvals) or user ID to send the notification to.

The reviewer receives a Slack message containing the message and two action buttons: one for accept and one for reject. Clicking the accept button in the Slack message posts a reply to the thread, confirming who responded and what action was taken.

Configuring the Message

The Message field defines the content of the notification sent to the reviewer. It supports both static text and dynamic values using template variable syntax:

  • Execution variables: {{execution.variable_name}}

  • Node output variables: {{node("node-id").output()}}

Use node variables to include the output of a preceding node directly in the notification. For example, embedding an AI-generated incident summary or complaint analysis in the approval request.

Button Labels

The Approve and Reject action buttons in the notification can be relabeled to reflect the specific decision being made. Use the Approve Button Label and Reject Button Label fields to replace the defaults with context-appropriate labels such as "Execute Fix" and "Escalate", or "Approve Refund" and "Reject Request".

Timeout Behavior

The Timeout After and Timeout Unit fields define how long the HITL node waits before triggering a timeout. The On Timeout field controls what happens when that time elapses without a response:

Timeout Action

Behavior

Auto Approve

The HITL status is set to Auto Approved, and execution follows the Approve branch.

Auto Reject

The HITL status is set to Auto Rejected, and execution follows the Reject branch.

Route to Timeout Branch

Execution follows the Timeout branch. Use this when a timeout requires its own handling logic. For example, escalating based on risk level before deciding whether to approve or reject.

If/Else Node

Evaluates a single condition and sends the workflow down one of two paths: True or False. Use it for straightforward decision points in a workflow, such as checking whether a value meets a threshold or whether a field is present. Both routes should be connected so every possible outcome has somewhere to go.

To configure:

  1. Enter the name and description for the node.

  2. In the Condition field, enter the rule that must be true.

    Notice

    This field is required. Use execution variables (execution.<variableName>) in the condition.

How it works

The workflow engine checks the condition. A matching condition follows True; otherwise, it follows False. Connect both routes so every result has somewhere to go.

Output

A True route and a False route.

Loop Node

Repeats a step, or an entire subflow, once for every item in a list. Use it when the same action needs to run across multiple records, files, or queries, such as processing each row in an uploaded dataset. It can repeat a node on the same canvas (Internal) or call a separate workflow once per item (External).

To configure:

  1. Enter the name and description for the node.

  2. From the Loop Type dropdown, select the following one:

    • Internal - the nodes to execute for each iteration are defined inline within the loop on the canvas.

    • External - the loop executes an existing subflow for each iteration.

  3. In the Expr field, enter the list or earlier result to repeat over, specified as an expression.

  4. In the Batch field, enter the number of items to process per batch.

    Controls the number of items processed concurrently. Set to 1 for sequential processing. Set to a higher number to process multiple items in parallel. Set to 0 to process all items concurrently.

  5. The Loop Over field displays the connected node or subflow.

    The array to iterate over, specified as an expression. This typically refers to a node output or execution variable that contains an array. For example: node("my-node-id").output() or execution.my_array

  6. In the Capture Outputs field, enter one or more node IDs and click Add to keep that node’s results after the loop finishes.

    Specifies which node outputs to collect across all iterations. Add the Node IDs of the nodes whose outputs you want to capture. After the loop completes, the captured outputs are available as an array in the parent execution.

    Important

    If you do not configure Capture Outputs, the loop will execute, but its results will not be available to subsequent nodes.

How it works

In Internal mode, connect the node or Subflow to repeat using the Loop’s bottom handle. External mode runs the selected workflow for each item. Batch controls how many items are handled together. Capture Outputs specifies which node outputs to retain across iterations.

Loop_node.png
Output

An Output route after iteration finishes. The workflow backend defines the exact structure of the retained result.

Processing Items

Each iteration automatically assigns the current array item to the reserved variable loop_item, which is accessible to all nodes within the loop. You do not need to configure this, as it is available automatically while the loop is running.

Sequential vs Parallel Processing

By default, the Loop node processes items sequentially, one at a time. You can increase throughput by setting the Batch value to process multiple items concurrently. Set it to 1 for sequential processing, or to a higher number to process that many items in parallel.

Note

Parallel processing is faster, but it means iterations do not have access to the results of other iterations. Use sequential processing if each iteration depends on the output of the previous one.

Collecting Results

By default, the outputs produced inside a loop are not available to nodes outside it. To make loop results available downstream, configure Capture Outputs by adding the Node IDs of the nodes whose outputs you want to collect. After the loop completes, the captured outputs are available as an array in the parent execution.

Notes Node

Adds markdown-formatted documentation directly onto the workflow canvas. Use it to explain what a section of the workflow does, leave setup instructions for other builders, or flag areas that need attention. It does not execute and cannot connect to other nodes; it exists purely for documentation.

To configure:

  1. In the Content field, enter the note text using Markdown.

    Supports Markdown formatting, including headers, lists, bold, italic, and code blocks.

  2. Click Preview to see the formatted note before saving.

How it works

The note is saved with the workflow and can be resized on the canvas. It is documentation only; it does not execute and cannot connect to other nodes.

Output

None.

Respond to Chat Node

Sends a message back to the user in a workflow built on a Chat Trigger. Use it to deliver the final answer, an intermediate update, or a follow-up question in a conversation. It can either finish immediately after sending, or pause the workflow until the user replies, keeping the conversation context intact.

To configure:

  1. Enter the name and description for the node.

  2. In the Message field, enter the message to send.

  3. Enable the Wait for User Response to pause workflow execution until the user sends another message.

How it works

The message is sent to the active chat. When Wait for User Response is off, the next node runs immediately. When it is on, the workflow pauses and resumes only after the user sends another message in the same conversation.

Output

A Response Sent route. When Wait for User Response is enabled, the backend waits before continuing.

Respond to Email Node

Sends a reply to the inbound email that started the workflow. Use it to close the loop on an Email Trigger-based process, such as acknowledging a request or returning requested information. The reply can include content generated earlier in the workflow and supports file attachments.

To configure:

  1. Enter the name and description for the node.

  2. In the Body field, enter the reply message.

  3. From the Email Credential dropdown, select the credential used to send the reply. To create a new or update an existing credential, refer to Managing Credentials.

  4. In the Attachments field, enter one or more attachment URLs or template expressions to include in the reply.

How it works

This node is intended for use with Email Trigger. The frontend sends Body, the selected SMTP credential, and Attachments to the backend. Recipient resolution and email delivery behavior are handled by the backend.

Output

A Sent route. The workflow backend defines the exact runtime result.

Split Node

Starts two or more branches of a workflow simultaneously, rather than waiting for one step to finish before the next. Use it when independent tasks, such as sending a notification and updating a record, can safely happen in parallel to save time.

To configure:

  1. Enter the name and description for the node.

  2. In the Parallel Branches section, define each branch by connecting edges on the canvas.

    • In the Branch Name field, enter a name for the branch.

    • In the Condition field, enter a condition for the branch to run.

      Note

      • Leave this field empty to always run this branch in parallel.

      • All branches with matching conditions (or no condition) run simultaneously. Use a Converge node to rejoin the branches. Add or remove branches by connecting or deleting edges on the canvas.

How it works

Every branch, whether with no condition or a matching condition, starts at the same time. Use Converge later when the workflow must wait for all selected branches before continuing.

Split___Converge.png
Output

One route for every configured branch.

Defining Branches

When you add a Split node, you define the number of branches you need and connect each one to the nodes that should run on that branch. Each branch is independent; nodes on one branch do not have access to the outputs of nodes on another branch while they are running.

Each branch can optionally be given a Boolean condition. If the condition evaluates to false at runtime, that branch is skipped entirely.

Collecting Results

After all branches finish, execution continues from the Converge node. To access the outputs of nodes that ran on parallel branches, reference them by Node ID as you would any other node output:

node("node-id").output()

All branch outputs are available to nodes downstream of the Converge node.

Stop Node

Ends the workflow execution immediately at the point where it’s placed. Use it to terminate a specific route once its purpose is complete, such as after a validation failure or an early exit condition. It has no outgoing connection and no configuration options.

How it works

When execution reaches this node, that workflow route ends immediately. It has no outgoing connection.

Output

None. This is the end of a route.

Subflow Node

Acts as a visual container for a self-contained group of nodes, reusable as a single unit within a larger workflow. Use it to organize complex workflows into manageable sections, or to define a reusable sequence of steps that a Loop or Subflow Connection node can call repeatedly. It only runs when called by an Internal Loop or a Subflow Connection node.

How it works

Add nodes inside the container and connect them from its automatically managed start marker. The container runs only when an Internal Loop or Subflow Connection calls it.

Output

The results produced by its contained steps.

Subflow Connection Node

Runs a smaller workflow as a step within the current workflow, either an inline Subflow container (Internal) or a completely separate workflow (External). Use it to break large workflows into reusable, testable pieces, or to call a shared process maintained elsewhere. The parent workflow waits for the called subflow to finish before continuing.

To configure:

  1. Enter the name and description for the node.

  2. From the Type dropdown, click Internal or External.

    • When Internal is selected, connect a Subflow node to this node’s input on the canvas to fill the Subflow ID field.

      The nodes to execute are defined inline on the canvas, contained within the Subflow node itself. Use this to organize a complex flow without creating a separate flow.

    • When External is selected, from the Workflow ID dropdown field, select the workflow to call.

      The Subflow node references and executes a separate, independently defined Agentic Workflow. Use this to share logic across multiple flows.

  3. In the Capture Outputs field, enter a node ID and click Add to keep that node’s results from the subflow.

How it works

In Internal mode, connect a Subflow container using the node’s dedicated bottom handle. External mode calls the selected separate workflow. The parent workflow waits for the called work to finish, asks the backend to retain the selected outputs, and then follows the normal output connection. Changing modes can remove the attached internal subflow.

Output

The selected results from the subflow.

Variable Scope

Subflow connections run in their own execution scope. Variables defined in the parent flow are not automatically available inside a subflow connection. To access a parent execution variable from within a subflow, use the global. prefix:

global.variable_name

Using execution.variable_name inside a subflow refers to the subflow's own execution scope, not the parent's.

Collecting Results

As with the Loop node, the results of a subflow connection are not available to the parent flow by default. To surface subflow results back to the parent execution, configure Capture Outputs by adding the Node IDs of the nodes whose outputs you want to collect.

Switch Node

Routes the workflow down one of several paths based on multiple conditions, rather than the simple two-way choice If/Else provides. Use it when a value can fall into more than two categories, such as routing a request based on department, priority level, or status. A Default route always exists to catch any value that doesn’t match a defined case.

To configure:

  1. Enter the name and description for the node.

  2. In the Switch Cases section, add cases by connecting edges on the canvas. Each case defines a condition and creates a new output handle.

    • In the Label field, enter a name for the case.

    • In the Condition field, enter the condition for this case.

    Note

    • Cases are evaluated in order, from top to bottom. Use the drag handle to reorder a case, or select the delete icon to remove it.

    • A Default case is always present and runs when no other condition matches. Add or remove cases by connecting or deleting edges on the canvas.

How it works

Cases are checked in their displayed order. Each case is linked to an outgoing connection and can be renamed, reordered, or removed. The Default route handles unmatched values; connect it when unmatched values must continue.

Output

The route belonging to the matching case. Ensure the workflow has an intentional fallback path for values that do not match a case.

Wait Node

Pauses the workflow for a fixed duration before continuing. Use it to introduce a deliberate delay, such as waiting before a retry, giving an external system time to process something, or spacing out repeated actions. The workflow resumes automatically through its output connection once the timer ends.

To configure:

  1. Enter the name and description for the node.

  2. In the Duration field, enter the number of time units to wait.

  3. From the Time Unit dropdown, click Seconds, Minutes, or Hours.

How it works

The workflow enters a waiting state for the selected duration. When the timer ends, the same execution resumes through the output connection.

Output

The workflow continues with the same information after the wait.

Action Library Category

This category displays all MCP tools created in the Agent Action Library. You use it to find and add an existing action (MCP tool) to your workflow canvas as a node, so the workflow can invoke that tool to interact with external systems, retrieve data, or perform operations.

Note

The MCP tool must be created in the Agent Action Library before it appears in this category.

To add an Action Library node and its configuration:

  1. Open the Add Node panel on the workflow canvas.

  2. Select the Action Library category.

    The panel displays a list of all MCP tools created on the platform.

  3. Enter the MCP tool name in the search box to filter the list.

  4. Select the tool you need.

    The selected MCP tool is added to the canvas as a node.

  5. Once an MCP tool is on the canvas, double-click it.

    The Properties Panel opens on the right.

    MCP_tool_config_panel.png

    To configure the node, from the Action dropdown, select the action this node calls to connect to the external service. 

    Important

    Ensure the tool is configured as an action before selecting it here.

  6. Configure the parameters required by the selected action. They appear automatically after the action is selected.

  7. Turn on Mock Output to configure the mock output used during mock execution. Enter the mock output manually in JSON format.

    Tip

    The Moke output format should match the node's actual output.

Connector Category

The Connector category lists specific connectors from the Connector catalog. Selecting one from this category creates a node with its connector already selected, unlike the generic Connector node under Logic, where you choose the connector after adding the node.

  1. Open the Add Node panel on the workflow canvas.

  2. Select the Connector category.

    The panel displays a list of all connectors available in the Connector catalog. To create a new connector, refer to Managing Connectors.

  3. Enter the connector name in the search box to filter the list.

  4. Select the connector you need.

    The selected connector is added to the canvas as a node, with its topic already selected.

  5. Once the node is on the canvas, double-click it.

    The Properties Panel opens on the right.

A node added from this category behaves the same as the generic Connector node under Logic, except that the Connector field is already filled in and locked. Only the Input Mapping, Allowed Variables, and remaining settings need to be configured.

How it works

The frontend sends the connector topic, mapped input, allowed-variable list, concurrency groups, and retry configuration to the workflow backend. Worker subscription, completion, retries, and returned information are backend-controlled.

Output

An Output route. The workflow backend determines the exact result returned.

Managing Connectors

A connector is a reusable definition that lets an agentic workflow hand off work to an external worker or system. You define the connector once, with a name, a topic, and the inputs it needs. You can then reuse it in any workflow. Connectors save you from having to rebuild the same integration step each time.

To access these connectors, go to the Home page > Agents > Agentic Workflow > Connectors.

Connectors_icon.png

The Connectors page opens and displays your existing connectors as cards. Each card shows the connector name, description, and topic.

Connectors_page.png
Creating a Connector
  1. On the Connectors page, click Add Connector.

    The New Connector panel opens.

    New_connector.png
  2. Under Icon, click Choose icon, then select an icon for the connector.

    Choose one of the following options:

    • Upload Icon tab - Click Select File to choose a file to upload.

      Notice

      The file must be in SVG format and have a maximum size of 100 MB.

      upliad_icon.png
    • Select Icon tab - Choose any one of the available icons to add.

      Select_icon.png
  3. Enter a name for the connector.

  4. Enter a short description of what the connector does.

  5. Enter the topic for the connector.

  6. To define the information the connector receives, click Add input, then do the following for each input:

    1. Enter a name for the input.

    2. Select the data type from the dropdown.

    3. To make the input mandatory, turn on the Req toggle.

    4. To remove, click the Delete Delete_icon.png icon next to the input.

  7. Click Create Connector.

    The panel closes, and the new connector appears on the Connectors page.

Modify a Connector
  1. On the Connectors page, search for and find the connector card.

  2. Click the Ellipsis icon on the required connector.

    Edit_Connector.png
  3. Click Edit.

    The Edit Connector panel opens with the current details.

  4. Update the icon, name, description, topic, or inputs as needed.

  5. Click Save Changes.

    The connector card shows your updates.

Removing a Connector

Important

Deleting a connector removes it from the Connectors page. Workflows that use the connector might not run correctly afterward. Confirm that no active workflow depends on it before you delete it.

  1. On the Connectors page, search for and find the connector card.

  2. Click the Ellipsis icon on the required connector.

  3. Click Delete.

    The confirmation window opens.

    Delete_connector.png
  4. Enter the connector name in the text box.

  5. Click Delete.

    The connector is removed from the page.

Managing Credentials

Credentials store the authentication details that a workflow needs to connect to external services, such as Slack, email, or Kafka. Once saved, you select a credential in any node that supports it, so you do not need to re-enter authentication details for every node that connects to the same service.

To access, go to the Agentic Workflow > Canvas Builder > Tools icon > Credentials.

Credentials_icon.png

The Credentials panel opens on the right, showing two sections: Workflow Config and Integrations.

Credentials_panel.png
Creating a Workflow Config
  1. Click Add.

    Workflow_config.png
  2. Enter a configuration key for the workflow, for example, MY_API_KEY.

  3. Enter the corresponding value, for example, abc123.

  4. Use the Lock Mask_icon.png icon to mask the value, if needed.

  5. Click Save to save the workflow configuration.

  6. To edit a pair, click the Edit value Edit_icon.png icon.

  7. To remove a pair, click the Delete Delete_icon.png icon.

Likewise, you can add multiple key-value pairs.

How it works

Any node that needs the value can access it through the config object at runtime, whether the entry is locked or unlocked. For example, a Code node can read the value as follows:

  • JavaScript - const apiKey = config.MY_API_KEY;

  • Python - api_key = config["MY_API_KEY"]

This keeps sensitive values out of plain sight in your workflow configuration while allowing nodes to use them normally during execution.

Output

The stored value is available to any node through the config object.

Creating a Credential
  1. Click + next to Connect a new integration.

    Create_Credentials.png
  2. Select the integration type you need.

  3. If you select Slack:

    1. Enter a name for this credential.

    2. Enter the Slack app’s client ID.

    3. Enter the Slack app’s client secret.

    4. Enter the Slack app’s signing secret.

    5. Under Bot Scopes, select the permissions the Slack bot needs.

    6. Under User Scopes, select the permissions needed for the signed-in user.

    7. Select Sign in with Slack to authorize and save your credentials.

      The success message is displayed.

      Notice

      If you get an error, recheck the parameters and try again.

  4. If you select Email (SMTP) or Email (IMAP):

    1. Enter a name for this credential.

    2. Enter the mailbox username.

    3. Enter the mailbox password.

    4. Enter the server address.

    5. Enter the server port.

    6. Turn on STARTTLS to upgrade the connection to a secure connection after connecting.

    7. Turn on SSL to connect securely from the start.

    8. Click Save Credential to authorize and save your credentials.

      The success message is displayed.

      Notice

      If you get an error, recheck the parameters and try again.

  5. If you select Kafka:

    1. Enter a name for this credential.

    2. Enter the Kafka username.

    3. Enter the Kafka password.

    4. Click Save Credential to authorize and save your credentials.

      The success message is displayed.

      Notice

      If you get an error, recheck the parameters and try again.

  6. If you select Webhook:

    1. Enter a name for this credential.

    2. From Auth Type, select No Auth or Basic.

    3. When Basic is selected, enter the webhook username.

    4. Enter the webhook password.

    5. Click Save Credential to authorize and save your credentials.

      The success message is displayed.

      Notice

      If you get an error, recheck the parameters and try again.

Running and Debugging a Workflow

Before publishing a workflow, you can run and debug it directly in the Canvas Builder to verify it behaves as expected.

Execution Modes

Agentic Workflows run in one of two modes:

  • Debug - Runs the workflow in the Canvas Builder with full observability. Use this mode while building and testing your workflow. Debug executions are visible in Run History and are marked with a debug indicator.

  • Production - Runs the published workflow version at scale. Triggered via the API or a configured trigger.

Running a Workflow

To run a workflow in debug mode, click the Run (play_icon_green.png) icon in the top toolbar, or press ⌘+Enter (Mac) / Ctrl+Enter (Windows).

  1. Click the Run (play_icon_green.png) icon in the top toolbar, or press ⌘+Enter (Mac) / Ctrl+Enter (Windows).

    Note

    If there is no configuration for the node, you will see an error on the screen, and execution will not start.

    While the workflow is running, the canvas updates in real time to show execution progress.

    Run_a_workflow.png
    • The Debugger Panel opens automatically at the bottom of the canvas.

    • The output is saved as a variable and passed on to the next workflow as an input.

    • Completed nodes display a green checkmark and their execution time.

    • Failed nodes display an error mark and stop the execution.

  2. The Run button changes to a red Stop button that you can click to cancel execution at any time.

Using Pause Points

You can pause execution at any node by adding a pause point. This lets you inspect the state of the workflow at that point, modify variables, and then continue or step through the workflow node by node.

To add a pause point, select a node and click the Add Pause Point pause_icon.png icon.

When execution reaches a pause point, the node displays a Paused indicator and execution stops. From here, you can:

Step_Over.png
  • Step Over - executes the current node and pauses at the next one. Click the Step Over icon in the top toolbar or press Ctrl+..

  • Resume Workflow - continue execution until the next pause point or until the workflow completes. Click the Resume Workflow icon in the top toolbar or press Shift+Enter.

  • Stop Workflow - cancel the execution entirely. Click the Stop Workflow button in the top toolbar or press Ctrl+Enter.

  • Edit Variables - go to the Variables tab in the Debugger Panel and double-click any variable to edit its value. This lets you test different execution paths without re-running the workflow from the start. Refer to Managing Variables for more information.

To remove a pause point, select the node and click the Play debug_play_icon.png icon.

agentic_flow_node_debug.png
Managing Variables

Variables are used to store and pass data between nodes during a flow execution. When a node runs and produces an output, that output is automatically stored as a variable and made available to subsequent nodes in the flow.

There are two scopes of variables:

  • Execution variables - available across the entire flow execution. Input variables passed when triggering the flow are stored here and can be read or written by any node.

  • Node variables - scoped to a specific node. Each node's output is stored under its Node ID and can be accessed by referencing it in expressions.

To reference a node's output in a node's input field or a CEL/JavaScript expression, use the following syntax:

  • Node level variables can be accessed using - node("node-id").output()

  • Execution-level variables can be accessed using - execution.variable_name

Note

When working inside a Loop or Subflow node, use global.variable_name to reference variables from the parent execution. Using execution.variable_name inside a subflow refers to the subflow's own execution scope, not the parent.

The Variables tab in the Debugger Panel displays all variables produced during an execution, organized by scope. You can inspect variable values and, during a paused execution, edit them directly to test different execution paths.

agentic_flow_variables.png
  • You can view the EXECUTION variable and NODES variables.

  • To modify the variables manually, click the Edit Edit_icon.png icon, update the variables as needed, then click Save.

Reading Traces

Important

Applicable for AI Agent node execution only.

The Traces tab in the Debugger Panel shows a step-by-step breakdown of a workflow run, including the trigger, each AI agent node’s execution, and any underlying LLM calls.

Traces_tab.png

The tab lists the run as a nested tree, starting with the trigger. Select a node or LLM call in the tree to view its details on the right. The details panel shows the step name, its category, and total duration, followed by three tabs to display more information about it.

Reading Logs

The Logs tab in the Debugger Panel displays a timestamped record of every event that occurred during the execution.

The tab header displays a running count of log entries. Each execution is assigned a unique Execution ID, which you can use to locate the execution in Run History.

  • Use the search bar at the top of the tab to filter entries by keyword.

  • Each entry shows the time, severity level (INFO or DEBUG), the node it originated from, and a brief description of what occurred.

  • To view the full event details, click View metadata on any entry.

  • To download the logs in JSON format, click the Download (download_icon.png) icon.

agentic_flow_logs.png

Note

You can get the node executionId from the Logs tab.

Reading Issues

The Issues tab in the Debugger Panel lists all validation errors currently present in the workflow, such as a disconnected output or a node with no incoming connection. If this tab is empty, the workflow is valid and ready to run.

Open the Issues tab at the bottom of the canvas. The tab lists every validation error currently in the workflow, for example, an output that is not connected or a node with no incoming connection.

Issues_tab.png

Select an issue to locate the affected node on the canvas.

Publishing a Workflow

While you are building and testing a workflow, it runs in draft mode. To make a workflow available for production use (whether triggered via the API or a configured trigger), you must publish it.

Publishing creates a named version snapshot of the workflow. The published version is what runs in production; the draft version remains editable in the Canvas Builder without affecting the published version.

To publish a workflow:

  1. In the Canvas Builder, click Publish in the top toolbar.

    The Publish dialog opens.

    agentic_flow_publish.png
  2. Enter a version name. Unnamed versions are automatically deleted after a brief retention time. Add a version name to keep it permanently.

  3. Enter a description of the changes in the Release Notes field.

  4. Click Publish Version.

The workflow is published. The Current Version indicator in the top toolbar updates to reflect the published version.

agentic_flow_current_version.png

Note

Publishing a workflow does not affect executions that are already in progress. Only new executions use the newly published version.

Managing Versions

Every time you publish a workflow, a new version is created. You can view and manage all versions from the Current Version dropdown in the top toolbar.

  • To view the list of all versions, click the Current Version dropdown in the top toolbar and click All Versions.

    The Version History panel opens and displays all versions associated with the workflow.

    agentic_flow_promote_publish.png
  • To preview a version, click the View view_version_icon.png icon for that version. The version loads into the canvas in read-only mode.

  • To promote a previous version to production, click the Promote (promote_version_icon.png) icon for that version. This publishes it as the new current version.

Editing an Agentic Workflow

You can edit a workflow at any time from the Agentic Workflows page.

To open a workflow, go to the Home page > Agents > Agentic Workflow > Agentic Workflows tab. Search and select the workflow card, and it opens in the Canvas Builder.

Important

All edits are made to the draft version of the workflow. If the workflow has been published, the published version continues to run in production unchanged until you publish a new version. To make your changes available in production, publish the workflow again following the steps in Publishing a Workflow.

Managing Agentic Workflows

From the Agentic Workflows page, you can perform the following management actions on existing Workflows.

Search and filter the workflow, then click the Ellipsis Ellipsis_icon.png icon on the workflow to view the following options:

Managing_Workflow.png
  • To edit the workflow name and description, click Edit. The Edit Workflow panel opens; update the data, then click Save Changes.

    Edit_workflow.png
  • To clone a workflow, click Clone. The Clone Workflow panel opens; update the data, then click Clone Workflow. A copy of the workflow is created and added to the Agentic Workflows page.

    Clone_Workflow.png
  • To view workflow runs, click View Run History. The Run History page opens and displays all the workflow executions. Refer to Viewing Run History for more information.

  • To delete a flow, click Delete. Confirm the deletion by entering the workflow name. Click Delete.

    Delete_workflow.png
Viewing Run History

Run History shows every execution of an Agentic Workflow, including both production runs and runs performed through the Debugger interface. Use it to review what happened in a specific execution, inspect its input, outputs, and timing, and troubleshoot failures.

To access it, click the Ellipsis Ellipsis_icon.png icon on the workflow card and select View Run History. The Run History page opens.

agentic_flow_run_history.png
  • Each execution is displayed as a card in the left panel showing its Execution ID, status, duration, and timestamp. Debug executions are indicated by a Debug debug_icon.png icon.

  • You can filter executions by status or date range, or search for a specific execution by ID.

To inspect an execution, click the run card on the left side. The right panel displays the execution details across the following tabs:

  • Input tab- the input variables provided when the execution was triggered.

    Run_History_input.png
  • Spans tab - the execution traces for AI Agent nodes. Click a span to view its input, output, and metadata.

    Run_History_spans.png
  • Timeline tab - a visual representation of the execution path showing each node, the order it ran, and how long it took.

    Run_History_timeline.png
  • Variables tab - all variables produced during the execution.

    Run_History_Variables.png
  • Metadata tab - execution metadata including the Execution ID, status, trigger type, and timestamps.

    Run_History_metadata.png

You can download the execution details. Click the Download download_icon.png icon to download the run history as JSON.

Invoking a Flow via API

Published Agentic Workflows with a Manual Trigger can be invoked programmatically via the API. This is the primary way to integrate a flow into an external application or automated process.

To invoke a flow, you will need:

  • Your API token

  • The flow's Workflow Key, visible on the flow card on the Agentic Workflows page and in the Manual Trigger's Properties Panel

Send a POST request to the following endpoint:

POST https://${instance}/proxy/forge-wf-triggers/v1/invoke

With the following payload:

{
  "wfKey": "your-workflow-key",
  "variables": {
    "variable_name": "value"
  }
}

The variables object is used to pass input variables to the flow. If your flow does not require input variables, pass an empty object.

A successful request returns an Execution ID, which you can use to look up the execution in Run History.

Note

The API endpoint requires a published flow. Use the Run button in the Canvas Builder to test draft flows during development.

Deterministic and Non-Deterministic Execution

Agentic Workflows support two approaches to agent execution, and you can use either or both within the same flow.

Deterministic Execution

In deterministic execution, you explicitly control which agents run and in what order. Each agent node is connected in sequence on the canvas, and you define exactly what input each agent receives (typically the output of the previous node). This approach is predictable and straightforward to trace and debug.

Non-Deterministic Execution

In non-deterministic execution, a primary agent decides at runtime whether to handle a task itself or delegate it to one or more sub-agents. Sub-agents are attached directly to the primary agent node on the canvas and are represented by dashed connecting lines. During execution, the canvas dynamically updates to visualize the delegation in real time.

To configure non-deterministic execution:

  1. Hover over an agent node on the canvas.

  2. click the + icon that appears.

    The agent selection screen opens.

  3. Select the agent to attach as a sub-agent.

    The sub-agent is attached directly to the agent node and connected with a dashed line.

  4. Double-click the agent node to open its Properties Panel.

  5. In the Delegation Count field, enter the maximum number of times this agent can delegate to a sub-agent.

    Each delegation to a sub-agent counts as one toward this limit. The default is 5. Configure this to prevent unbounded or recursive delegation.

Non-Deterministic_Execution.png

Note

Non-deterministic execution relies on the primary agent's configuration to determine when and how to delegate. For best results, ensure your agent's goals and instructions clearly describe the conditions under which it should delegate to each sub-agent. For more information on configuring agents, refer to Agent SDK section.

BPMN Workflow

A BPMN Workflow is a low-code tool for building and running automated, multi-step processes. BPMN Workflows are based on the Business Process Model and Notation (BPMN) standard. Use BPMN Workflows to design workflows, assign tasks to AI agents, and monitor execution.

Business AI Cloudalso supports Agentic Workflows. You can use and manage BPMN Workflows alongside any Agentic Workflows you create. When you create a new workflow, you choose which type.

To get started, go to the home page > Agents > Agentic Workflows.

The BPMN Flows tab displays a list of all previously created BPMN workflow journeys. Use this tab to quickly review, manage, or extend existing workflow configurations.

Use the Agentic Workflow environment to design and activate BPMN Workflows. Once activated, they can be executed by multiple agents, triggered by specific events, or managed while interacting with agents. As they run, they can be monitored for performance, patterns, and anomalies, with insights feeding back into workflow optimization, making the entire automation cycle adaptive and self-improving.

agentic_workflow_arch_diagram.png
Creating an App

You can start a new workflow journey by taking the first step, creating an App. An App is like a container that holds all your Workflow configurations in one place.

Note

The platform supports multi-user access, allowing multiple users to work on an app and its journeys simultaneously.

  1. Go to the Home page > Agents > Agentic Workflow > Start Your Journey.

    The Apps page opens and displays a list of existing apps, if available.

    App_page_1.png
  2. If there are no applications yet, click BUILD APPS. If apps already exist, you will see a list of applications. Click CREATE APP in the top-right corner.

    In either case, the Create App window opens.

    Create_App_window.png
  3. Enter a preferred name for your app in the Display Name field.

  4. The Name (identifier) field is auto-filled; however, you can update it as needed.

    Note

    The system uses this name internally. Ensure it is unique, concise, and follows the recommended naming conventions.

  5. Use the A8Flow App Type (selected by default). The other app types are not currently available.

  6. Set the Avatar for your app, if needed.

    1. Click Upload.

    2. Select an image from your local system.

    3. Click Open.

      The selected image is uploaded and set as the new avatar for your app.

  7. Click CREATE.

    A success message confirms the app was created.

    App_page_2.png
Managing an App

You can manage all your existing apps from the Apps page, where you can easily edit or remove them as needed.

Editing an App

To update an app:

  1. Click the Edit edit_icon.png icon next to the required app.

    The EDIT APP window opens.

    Edit_app.png
  2. Update the app name and avatar as needed.

    Note

    Name (identifier) and App Type fields are non-editable.

  3. Click SAVE.

    A success message confirms the app was updated.

Removing an App

To remove an app:

  1. Click the Delete delete_icon.png icon next to the required app.

    The DELETE APP confirmation box opens.

    Delete_app.png
  2. Re-enter the name of the app you want to delete for confirmation.

  3. Click Delete.

    A success message confirms the app was removed from the list.

Creating Journeys

A Journey defines your application's entire workflow, guiding it from start to finish. It outlines each step, decision, and action, ensuring that every task is executed in the correct sequence and the overall process runs smoothly. By mapping your workflow as a journey, you gain clarity, control, and efficiency in managing your operations.

Within an app, you can create multiple journeys to organize and manage different workflows in one place.

To create a new journey:

  1. Click on the desired app.

    The Assisted page opens, and the left menu Journey is selected by default.

  2. Click GET STARTED or CREATE JOURNEY. (If there are no other journeys present, you will see the GET STARTED button.)

    The Create Journey window opens.

    the_App_page.png
  3. Enter a name for the journey in the Assisted Name field.

  4. Enter a Description of your workflow journey.

    Create_Journey.png
  5. Click CREATE.

    A success message confirms the journey was created. You can find the journey on the Agentic Workflows page.

    the_App_page_2.png

You can repeat these steps to create multiple journeys within the same app. Assisted journeys are ideal for business processes that involve multiple participants and require coordinated teamwork.

Note

Because workflow creation depends on the required journeys being available, you should create all the required journeys for the app before starting workflow creation.

Managing Journeys

You can manage all your existing journeys in the app, easily editing or removing them as needed.

Editing a Journey

To update a journey:

  1. Click the Edit edit_icon.png icon next to the required journey.

    The EDIT JOURNEY window opens.

    Edit_journey.png
  2. Update the name and description as needed.

  3. Click SAVE.

    A success message confirms the journey was updated.

Removing a Journey

To remove a journey:

  1. Click the Delete delete_icon.png icon next to the required journey.

    The DELETE JOURNEY confirmation box opens.

    Delete_journey.png
  2. Re-enter the name of the journey you want to delete.

  3. Click Delete.

    A success message confirms the journey was deleted.

Creating a Workflow Diagram

A workflow is a set of interdependent tasks or processes that work in tandem to achieve a common business goal. This series of tasks assigned within a workflow has preset, user-defined rules and conditions. The processes are linear and can be completed sequentially or in parallel.

After creating an app and its journeys, you can start designing the workflow for each journey.

Tip

You can design your workflow using a diagram based on the Business Process Model and Notation (BPMN) standard. Refer to BPMN Framework for more information.

To create a new workflow:

  1. Click on the desired app and its journey.

    The journey page opens with a plain canvas.

    Canvas_page.png
  2. Start building your workflow process and configure it as needed.

    Manual Workflow - Create workflows manually using the tools available on the page. Drag and drop tasks, connect them with arrows as needed. Refer to Creating Workflow Tasks for more information.

    Automatic Workflow - The platform includes an AI assistant that can automatically generate workflows from your natural-language descriptions.

    1. Click the AI Assistant AI_icon.png icon to open the AI assistant at the bottom of the page.

    2. Enter your workflow requirements in the text box as a prompt.

      Automatic_workflow.png
    3. Press Enter.

      The AI assistant analyzes your prompt and automatically constructs a complete workflow diagram, including relevant task types, sequence flows, and integration of existing AI agents from the Agent SDK, as well as MCP tools from the Agent Action Library for consistency.

      If the generated workflow does not match your requirements, you can edit it manually or re-enter a more detailed prompt.

      Tip

      You can also use the AI assistant to modify existing workflows.

  3. After completing the workflow creation, configure each element as needed. Refer to Creating Workflow Tasks for more information.

  4. Click SAVE to save your changes.

    Saving stores your current changes to the canvas, preserving your work and keeping it available for further editing.

    A success message confirms your changes were saved.

  5. When multiple users are collaborating on the same journey, you must click COMMIT to save your changes and commit the canvas for reuse.

    The Commit confirmation box opens.

    Commit_pop-up.png

    Note

    This action creates a new version on the canvas, ensuring proper version control.

    1. Click SAVE & COMMIT to save the changes and commit the canvas for reuse.

      A success message is displayed, and the canvas becomes read-only.

    2. Click DISCARD & COMMIT to discard the changes and still commit the canvas for reuse.

      A success message is displayed, and the canvas becomes read-only.

Creating Workflow Tasks

The Workflow Journey Canvas is your visual design environment for creating workflow processes. Built on BPMN standards, it enables you to design workflows through an intuitive drag-and-drop interface.

By using BPMN, you can clearly define the steps, decisions, and agents involved in a process, making it easier to build, debug, and optimize. It ensures that both humans and AI systems have a shared understanding of how a task should be accomplished.

The journey page is organized into three distinct sections, each serving a specific purpose in the workflow design process:

  • Left Panel - Contains all the building blocks you need to construct your workflow diagram, including various task types, decision points, and connecting elements.

  • Center Canvas - Your main workspace where you assemble and arrange workflow elements to visualize your process flow.

  • Right Panel - A configuration panel that provides access to settings and properties. Use this panel to customize the behavior and parameters of selected workflow elements.

Plain_Canvas.png

While creating workflow tasks, make sure to follow these basic BPMN standard rules:

  • Every workflow must have a Start Event and End Event.

  • All tasks must be connected with sequence flows.

  • Each task requires at least one incoming and one outgoing connection.

  • Gateways (decision points that control process flow) must have one incoming flow and multiple outgoing flows (or vice versa).

  • No orphaned or disconnected elements are allowed.

  • Flows must follow a logical direction from start to end.

Tip

The platform supports two methods for creating workflow diagrams:

  • Pop-up menu method

  • Drag-and-drop method

To create a simple diagram:

  1. The Start Event is available on the canvas by default.

  2. Click Start Event.

    The pop-up menu opens.

    pop-up_menu.png
  3. Click the Task Tasks_icon.png icon.

    The blank rectangular task shape is added to the canvas.

  4. Click the task and click the Change Type Change_type_icon.png icon from the pop-up menu.

    The list of all available task types is displayed. Each task type represents a different set of actions and behaviors that the task can perform within your workflow. Refer to Tasks Configuration for detailed information.

    pop-up_menu_2.png
  5. Click Service Task from the list.

    The task on the canvas is highlighted and displays a small icon, indicating the task type you've chosen.

  6. Click the task, then in the right-side configuration panel, under the General tab, fill in the ID and Name for the task. Refer to Tasks Configuration for detailed information.

    Service_task_configuration.png
  7. Additionally, you can double-click on the task.

    The Service Tasks window opens.

  8. Choose any existing service and click Select to execute. Refer to Tasks Configuration for more information.

    Select_service_tasks.png
  9. Click SAVE on the workflow canvas to save the changes.

  10. Drag the aiAgent Task shape from the left-side panel directly onto the canvas.

    Drag_AI_agent_task.png
  11. Double-click on the aiAgent task.

    The AI Agents window opens and displays a list of public AI Agents that you created in the platform.

  12. Search for the required AI agent and select it from the filtered list.

    Select_AI_agent.png
  13. Click Submit to tag the AI Agent in the task.

  14. Click Service Task.

    The pop-up menu opens.

  15. Click the Connector Connector_icon.png icon and connect it to the AI Agent Task.

    Select_AI_agent_task.png
  16. You can add an Action Task and tag an MCP tool that you created on the platform.

    Similarly, you can add Multiple Tasks as needed and Configure them.

  17. After creating all tasks, click your final task and select End Event from the pop-up menu to complete your workflow.

    The End Event shape is added to the canvas.

    Simple_workflow_diagram.png
  18. Click SAVE to save the canvas.

Task Types

The platform offers a variety of BPMN task types, enabling quick workflow creation and straightforward configuration. Each task type is designed to handle specific actions within your workflow, making it easy to build complex processes.

Action Tasks

Action Tasks represent workflow activities that invoke MCP tools that you created in the Agent Action Library. Action tasks bring the power of MCP integrations directly into your workflows, enabling your processes to interact with external systems, access real-time data, and perform operations across connected services.

When a workflow reaches an action task, the system automatically invokes the MCP tool and sends any required input parameters. The MCP tool connects to the external systems or database, performs the requested operation, and returns the results. Once the MCP tool returns its response, the workflow engine captures the data and continues execution to the next step in the process.

Common uses for action tasks include:

  • Search for customer information in your CRM system

  • Query databases and fetch relevant records

  • Retrieve and process files from cloud storage

  • Create or update tasks in project management tools

  • Fetch real-time data from external APIs

AI Agent Tasks

AI Agent Tasks represent workflow activities that invoke AI agents that you created in the Agent SDK. AI Agent tasks bring AI capabilities directly into your workflows, enabling your processes to leverage custom-built agents for intelligent automation, data processing, and decision-making.

When a workflow reaches an AI agent task, the system automatically invokes the AI agent and sends the input query or data. The AI agent processes the information using its trained capabilities, analyzing content, extracting insights, generating outputs, and making intelligent decisions. Once the AI agent returns its response, the workflow engine captures the results and continues execution to the next step in the process.

Common uses for AI agent tasks include:

  • Analyze customer feedback and sentiment

  • Extract structured data from unstructured documents

  • Generate reports or summaries automatically

  • Classify and route information intelligently

  • Provide context-aware recommendations

Business Rule Tasks

Business Rule Tasks enable you to evaluate business rules within your workflows. These rules are defined using Decision Model and Notation (DMN), a standard language for modeling and executing business decisions in a structured, consistent manner.

When a workflow reaches a business rule task, the system evaluates the defined business rules and stores the result in a process variable. The workflow then continues execution based on the evaluation outcome and moves to the next step in the process.

Common uses for business rule tasks include:

  • Approving loan applications

  • Determining discounts for customer orders

  • Routing customer service requests to specific teams

  • Calculating risk levels for new business ventures

Manual Tasks

A Manual Task is a special kind of task, used to model a task that is performed by a human actor outside of the BPM engine. Manual tasks are typically used to model tasks that are difficult or impossible to automate, such as:

  • Approving a document

  • Making a decision

  • Completing a physical task

For example, if a process contains a step for "Verify physical documents", that step can be modeled as a manual task because the actual work happens outside the system.

When a process instance reaches a manual task, the engine treats it as a pass-through activity; the process automatically continues to the next step when execution reaches it.

The platform supports manual tasks for modeling and process readability, but they do not behave like other types of tasks, where execution waits for interaction or a system response.

Receive Tasks

Receive Tasks represent workflow activities that pause workflow execution until a specific message or event is received from an external system. Receive tasks create controlled wait states in which your automated processes must pause until incoming communication arrives.

When a workflow reaches a receive task, the process instance stops at that point and enters a waiting state until the expected message arrives from an external source. Once the message is received and matched to the waiting process instance, the workflow captures the message data and continues execution to the next step in the process.

Common uses for receive tasks include:

  • Waiting for customer approval responses before proceeding with order fulfillment

  • Pausing until payment confirmation is received from a payment gateway

  • Holding for data synchronization signals from external systems

  • Waiting for partner system acknowledgments

  • Stopping until document upload confirmations are received from users

Script Tasks

Script Tasks represent workflow activities that execute custom scripts or code within your workflows, providing flexibility for specialized logic and data manipulation. Script tasks enable you to embed programming logic directly into your processes for business operations.

When a workflow reaches a script task, the system executes the configured script code in the specified programming language. The script can access and modify workflow variables, perform calculations, transform data formats, or implement custom business logic. Once the script completes execution, the workflow proceeds to the next step in the process.

Common uses for script tasks include:

  • Transforming data formats between different task requirements

  • Calculating values based on multiple workflow variables

  • Implementing specialized validation or business rules

  • Constructing dynamic data structures (JSON, XML) for external API calls

  • Manipulating collections or arrays of data within the process context

Important

Script tasks offer flexibility for custom logic, but they require careful testing and maintenance to ensure reliability and security.

Send Tasks

Send Tasks represent workflow activities that transmit messages or notifications to external systems as part of a business process. Send tasks enable outbound communication from workflows to external recipients, systems, or message brokers.

When a workflow reaches a send task, the system creates a work item for message transmission and executes the send operation through authorized workers. Once the message is successfully transmitted to the external system, the workflow continues execution to the next step in the process.

Common uses for send tasks include:

  • Sending email confirmations to customers

  • Publishing events to streaming platforms like Kafka to trigger downstream processes

  • Delivering status change notifications to external applications

  • Transmitting alerts to monitoring or logging systems

Service Tasks

Service Tasks represent workflow activities that invoke external services or systems as part of a business process. Service tasks are used for automated operations that interact with web services, APIs, external applications, or background workers.

When a workflow reaches a service task, the system automatically invokes the configured external service and sends any required data. Once the external service completes its operation and returns a response, the workflow engine captures the result and continues execution to the next step in the process.

Common uses for service tasks include:

  • Sending email notifications

  • Calling external APIs

  • Starting new sub-processes

  • Interacting with databases

User Tasks

User Tasks represent workflow activities that require human interaction within the workflow system. User tasks are used for activities that need human decision-making, data entry, approval, or review as part of an automated business process.

When a workflow reaches a user task, the platform creates a work item and assigns it to a specific user or group. The process instance pauses at that point, waiting for the assigned user to complete the task through the workflow interface. Once the user submits their response, the workflow engine resumes execution and continues to the next step in the process.

Common uses for user tasks include:

  • Approving purchase orders

  • Reviewing documents

  • Completing customer service requests

  • Performing quality inspections

  • Making business decisions

Webhook Tasks

Webhook Tasks represent workflow activities that interact with external systems requiring asynchronous callbacks before the workflow can continue. Webhook tasks enable two-way communication between your workflows and external platforms, making them ideal for processes that depend on external events or actions to proceed.

When a workflow reaches a webhook task, the system initiates the outbound request to the external system and triggers the external event. The process instance then pauses and enters a waiting state until the external system sends a callback response. Once the callback is received and processed, the workflow engine captures the result and continues execution to the next step in the process.

Common uses for webhook tasks include:

  • Sending documents to e-signature platforms and waiting for signed confirmations

  • Initiating payment requests and waiting for transaction completion callbacks

  • Triggering external verification processes and receiving approval results

  • Starting third-party background checks and capturing the returned findings

  • Requesting data processing from external systems and waiting for completion signals

Tasks Configuration

Once you've added tasks to your workflow canvas, the next step is to configure them to meet your specific requirements. Each task type offers a set of configuration options that control how the task behaves, what data it processes, and how it interacts with other workflow elements.

This section describes how to configure each task type, including essential properties, optional settings, and configuration options.

Action Tasks Configuration

An Action Task represents work performed by an MCP tool within a business process. Action tasks are typically used to model activities that interact with external systems, such as retrieving data, updating records, or executing operations, and connect with MCP tools configured in the Agent Action Library environment rather than requiring human interaction.

Action task attributes:

Tabs

Attribute

Description

General

Name

The "Name" attribute defines the name or label of the action task.

Parameters

Input Parameters > Name

The "Name" attribute specifies the input parameter's name as defined in the MCP tool. This corresponds to the parameter names defined in your MCP tool configuration.

Input Parameters > Value

The "Value" attribute specifies the value for the MCP tool's input parameter. This can be a static value or a workflow variable.

Output Variable

The "Output Variable" attribute specifies the variable name that stores the Action Task's output value. Use this variable to reference the agent's output in subsequent workflow tasks.

AI Agent Tasks Configuration

An AI Agent Task represents the work performed by an AI agent within a business process. AI agent tasks are typically used to model activities that require intelligent processing, such as analysis, content generation, or decision-making, and interact with MCP tools tagged with the AI agent rather than requiring human interaction.

AI agent task attributes:

Tabs

Attribute

Description

General

Name

The "Name" attribute defines the name or label of the AI agent task.

Input Query

The "Input Query" attribute defines the variable or string that serves as input for the AI Agent. This query provides the context or question that the AI agent will process.

Parameters

Output Parameters > Name

The "Name" attribute defines the variable name or label of the AI agent output value.

Output Parameters > Value

The "Value" attribute defines the temporary variable name that stores the AI agent output value. Use this variable to reference the agent's output in subsequent workflow tasks.

Business Rule Tasks Configuration

A Business Rule Task is a specific BPMN activity that evaluates and applies business rules or decision logic as part of the process flow.

Key Characteristics of a Business Rule Task

Rule Evaluation: Business rule tasks represent activities that involve the evaluation of business rules, decision tables, or decision logic to determine the path the process should follow.

Decision Making: Business rule tasks are used to make decisions or calculations based on the provided data and rules, which can affect the subsequent flow of the process.

Automated or Semi-Automated: Business rule tasks can be automated, where the decision logic is executed by a rule engine or a system, or can involve human interaction for rule evaluation and decision approval.

Conditional Flows: Business rule tasks often have multiple outgoing sequence flows with associated conditions that define different paths the process can take based on the outcomes of the rule evaluation.

Attributes

Business rule task attributes:

Attribute

Description

ID:

The ID attribute represents the unique identifier of the business rule task. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the business rule task.

Implementation

The "Implementation" attribute specifies the method, class, or service that the business rule task will invoke or execute. It defines the technical implementation behind the task's functionality. Implementation options include:

Implementation

Description

DMN:

Decision Model and Notation (DMN) is a visual representation of decision logic within a business process. When selecting this option, you need to specify the DMN decision reference. Decision Ref is a reference to a specific decision within the DMN model that the business rule task will execute.

Binding: Binding determines how the decision is linked to the business rule task. Our tool offers the following options:

  • Latest: Choosing "Latest" ensures that the business rule task always uses the most recent version of the decision.

  • Deployment: "Deployment" mode ties the task to a specific decision version deployed with the process.

  • Version: "Version" mode lets you specify the decision version by providing a version number.

  • VersionTag: VersionTag allows you to label and reference specific decision versions for precise execution.

Tenant ID: Tenant ID isolates decision execution within a specific tenant's scope, which is useful for multi-tenancy scenarios.

Result Variable: Result Variable is where the output of the executed decision is stored, enabling further processing within the same process.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the business rule task can be completed asynchronously after other tasks or events in the process.

Manual Tasks Configuration

Within BPMN (Business Process Model and Notation), a Manual Task represents work that requires human intervention, such as decision-making or manual interaction.

Key Characteristics of a Manual Task

Human Interaction: Manual tasks represent activities that involve human intervention, requiring a person to perform specific actions, such as approval, validation, or other manual tasks.

Time-Driven or Event-Driven: Manual tasks can be triggered by specific events or deadlines (event-driven) or simply be part of the process flow (time-driven).

Attributes

Manual task attributes:

Attribute

Description

ID:

The "ID" attribute represents the unique identifier of the manual task. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the manual task.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the manual task can be completed asynchronously after other tasks or events in the process.

Receive Tasks Configuration

In BPMN, a Receive Task is a type of task used to model a specific type of activity in a business process that represents the receipt or reception of a message, notification, or request from an external participant or system. Receive tasks are typically used to depict a point in the process where the process is waiting for an external event, message, or response.

Key Characteristics of a Receive Task

Message Reception: Receive tasks represent activities where the process is waiting to receive a message, notification, or request from an external participant or system.

Asynchronous: Receive tasks are typically asynchronous, meaning that the process waits for an external event or message to arrive and continues its flow after receiving it.

Message Content: Receive tasks may involve specifying the expected content or format of the incoming message and how the process should handle it.

Response Handling: Receive tasks are often followed by subsequent activities that process the received message or response.

Integration: Receive Tasks are used to model the integration of the business process with external participants, systems, or services through message-based communication.

Attributes

Receive task attributes:

Attribute

Description

ID:

The "ID" attribute represents the unique identifier of the receive task. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the receive task.

Details

The "Details" section for the receive task includes the following Message attributes:

Attribute

Description

Message:

[Message_0vat9jk (id=Message_1ubmceq)]

The "Message" attribute indicates the specific message that is associated with this receive task. In this example, it references a message with the identifier "Message_0vat9jk" and the unique ID "Message_1ubmceq." The message defines the content and structure of the data that the Receive task will receive.

Message Name:

[Message_0vat9jk]

The "Message Name" attribute specifies the name or identifier of the message that is expected by the receive task. In this example, it is identified as "Message_0vat9jk." The message name is used to correlate the received message with the corresponding message definition in the BPMN process.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the receive task can be completed asynchronously after other tasks or events in the process.

Script Tasks Configuration

In BPMN, a Script Task is a type of task used to model a specific activity in a business process where a predefined script or code is executed. This script can be written in a scripting or programming language and performs a specific action or set of actions within the process. Script tasks are often used for tasks that involve custom logic, calculations, or operations that cannot be represented using other BPMN elements.

Key Characteristics of a Script Task

Script Execution: Script tasks represent activities where a script, often written in a scripting language like JavaScript or a programming language like Java or Python, is executed as part of the process.

Custom Logic: Script tasks are used for tasks that require custom or specialized logic, calculations, or operations that cannot be easily expressed using standard BPMN elements.

Automation: Script tasks can be automated, meaning they do not require human intervention, and the execution of the script is performed by a software system.

Input and Output Data: Script tasks may involve input data that is used by the script and produce output data based on the script's execution. BPMN provides elements for modeling data associations between tasks.

Integration: Script tasks are sometimes used to integrate the process with external systems or services by executing scripts that interact with these external entities.

Attributes

Script task attributes:

Attribute

Description

ID:

The "ID" attribute represents the unique identifier of the script task. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the script task.

Details

The "Details" section for the script task includes the following Message attributes:

Attribute

Description

Script Format:

Specifies the language or format of the script, influencing how the content is interpreted.

Script Type:

Determines how the script is handled within a script task in BPMN, choosing between inline or external storage.

- Inline Script: Directly provided within the BPMN process, defining actions or behavior. Script: Requires providing the script content.

- External Resource: Script stored externally for reusability. Resource: Requires specifying the location or reference, such as a file path or URL.

Result Variable:

Designates the variable name to store the script's execution result. Accessible in subsequent process steps to capture the outcome.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the script task can be completed asynchronously after other tasks or events in the process.

Send Tasks Configuration

A Send Task models a specific type of activity that represents the process of sending a message, notification, or request to an external participant or system. Send tasks are used to depict a point in the process where information is transmitted to another entity, such as a human user, another process, a service, or an external system.

Key Characteristics of a Send Task

Message Sending: Send tasks represent activities where a message, request, or notification is sent to an external participant or system as part of the process.

Asynchronous: Send tasks are typically asynchronous, meaning that the process does not wait for an immediate response but continues its flow.

Message Content: Send tasks may involve specifying the content of the message to be sent, which can include data and details relevant to the interaction.

No Direct Response: Unlike "receive tasks," which represent waiting for a response or incoming message, send tasks do not expect a direct response from the external entity.

Integration: Send tasks are often used to model the integration of a business process with external participants, systems, or services through message-based communication.

Attributes

Send task attributes:

Attribute

Description

ID:

The "ID" attribute represents the unique identifier of the send task. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the send task.

Implementation

The "Implementation" attribute specifies the method, class, or service that the Send task will invoke or execute. It defines the technical implementation behind the task's functionality. Implementation options include:

Implementation

Description

Expression:

An expression or script can be used to define the task's behavior. This allows for flexible and custom task execution based on the defined expression.

Result Variable: You can specify the name of the variable where the task result will be stored.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the send task can be completed asynchronously after other tasks or events in the process.

Service Tasks Configuration

A Service Task represents work performed by a service or external system as part of a business process. Service tasks are typically used to model automated activities that interact with external services, applications, or systems rather than requiring human interaction.

Overview

A service task is a specialized workflow activity that executes custom logic written in JavaScript or TypeScript. Service tasks run automatically on the server side without any user intervention.

In a BPMN workflow, various actors may participate in the process, including APIs or systems that require decision-making capabilities. Service tasks handle these automated interactions.

Purpose

The primary purpose of a service task is to automate backend operations within an agentic workflow. It acts as the execution engine of your workflow, handling data manipulation, system integrations, and computational logic.

Key capabilities include:

  • System Integration: Calling external APIs (REST) to fetch or push data.

  • Data Transformation: Processing process variables, formatting dates, or calculating values.

Configure and Code
  1. Double-click on the service task to select it.

  2. In the pop-up panel, click Create/Choose Service. This opens the Service Editor.

    agentic_service_task.png
  3. Name your Service: Give it a unique identifier (e.g., calc_refund_svc).

  4. Select Language: Choose TypeScript or JavaScript.

  5. Click Save. A code editor opens:

    agentic_service_code.png
  6. Write Logic: Enter your custom code in the main function. This function receives three key arguments:

    • task: The current task instance; use this to get variables via task.variables.get("name").

    • taskService: Methods to complete or fail the task.

    • processVariables: Methods to set or update the workflow's data payload.

  7. Click SAVE.

User Tasks Configuration

A User Task in a BPMN journey is an activity that requires human intervention in a business process. When a process instance reaches a user task, a job is created, and the process instance pauses until the job is completed. Users can be automatically assigned to these tasks, or a job worker can manually subscribe to them.

Attributes

User task attributes:

Attribute

Description

ID:

The "ID" attribute is the user task's unique identifier. It corresponds to the task definition key in the BPMN model.

Name:

The "Name" attribute defines the name or label of the user task.

Assignments

Assignments determine who can handle the task and can include the following attributes:

Attribute

Description

Assignee:

Default: ${startedBy}

The "Assignee" specifies the user who is assigned to the task. When values need to be determined dynamically during task execution, they're represented as Expression Language (EL) expressions. By default, it is ${startedBy}, indicating that the assignee is the user who started the BPMN journey.

Candidate Users:

The "Candidate Users" attribute can be used to specify a list of users who are potential candidates for completing the task. This field may remain empty or be populated with user identifiers based on the process requirements.

Candidate Groups:

The "Candidate Groups" attribute allows you to specify groups of users who are eligible candidates for the task. This field may contain one or more group identifiers based on the process design.

Scheduling

User tasks support specifying a task schedule, which helps define when users should interact with the task and includes:

Attribute

Description

Follow Up Date:

The "Follow Up Date" attribute specifies the date when a follow-up action should be taken for the task. It can be expressed as an EL expression (e.g., ${someDate}) or in ISO date format (e.g., "2015-06-26T09:54:00"). This date is a reference point for scheduling future interactions with the task.

Priority:

The "Priority" attribute can be used to set the task's priority level. The specific values for priority levels may be defined in accordance with the business process requirements.

Due Date:

The "Due Date" attribute specifies the deadline for completing the user task. Similar to the "Follow Up Date," it can be expressed as an EL expression (e.g., ${someDate}) or in ISO date format (e.g., "2015-06-26T09:54:00"). The due date serves as a critical time constraint for task completion.

Asynchronous Continuations

Use asynchronous continuations to control whether a task runs asynchronously:

Attribute

Description

Asynchronous Before:

The "Asynchronous Before" attribute indicates if the task can be started asynchronously before other tasks or events in the process.

Asynchronous After:

Similarly, the "Asynchronous After" attribute denotes whether the user task can be completed asynchronously after other tasks or events in the process.

Webhook Tasks Configuration

A Webhook Task represents workflow activities that interact with external systems requiring asynchronous callbacks before the workflow can continue. Webhook tasks are typically used to model activities that initiate an outbound request to an external platform and then pause execution until a callback response is received, rather than requiring human interaction.

Webhook task attributes:

Attribute

Description

Name

The "Name" attribute defines the name or label of the webhook task.

Request

The "Request" attribute specifies the server-side function responsible for initiating the outbound request to the external system. This function triggers the external event and begins the asynchronous operation.

Handler

The "Handler" attribute specifies the server-side function responsible for processing the callback response received from the external system once the external event is completed. Once invoked, the handler captures the result and updates the workflow state so that execution can continue.

Managing Workflows

All existing workflows are accessible from the Agentic Workflows page, where you can view, edit, deploy, and execute them as needed.

Editing a Workflow

To improve workflow efficiency, the platform lets you update journeys directly from the Agentic Workflows page. This quick-access editing capability lets you make configuration changes on the spot, streamlining your workflow development process.

To update a journey:

  1. Go to the Home page > Agents > Agentic Workflow.

    The Agentic Workflows page opens and displays all workflow journeys in card view.

  2. Enter the workflow journey name in the Search box to filter it.

  3. Click the Ellipsis Ellipsis_icon.png icon on the workflow journey card.

  4. Click Edit.

    Select_edit.png

    The Workflow Canvas page opens, allowing you to view and modify your workflow. Refer to Creating a Workflow Diagram for detailed instructions.

  5. If the canvas is in read-only mode, you must manually activate edit mode to proceed with modifications.

    1. Click CHECKOUT on the top-right corner of the canvas to enable editing.

      Checkout_button.png

      The CHECKOUT confirmation box opens.

    2. Click CHECKOUT.

      Checkout_pop-up.png

      The platform switches the canvas from read-only mode to edit mode, allowing you to make changes. Refer to Creating a Workflow Diagram for detailed instructions.

Deploying a Workflow

Once you have created and finalized your workflow journey, the next step is deploying it to the runtime platform. The runtime platform is a separate environment that lets you test and execute your workflows, ensuring all processes run as designed.

There are two deployment modes:

  • Live - Use this for testing your workflow in a development environment. Any changes you make to workflow task properties are automatically applied to the runtime, allowing you to iterate and refine your workflow seamlessly.

  • Production - Use this to execute your workflow in a production environment for real-world operations.

Caution

Each app can have only one workflow journey deployed at a time.

To deploy a workflow:

  1. Go to the Home page > Agents > Agentic Workflow.

    The Agentic Workflows page opens and displays all workflow journeys in a card view.

  2. Enter the workflow journey name in the Search box to filter it.

  3. Click the Ellipsis Ellipsis_icon.png icon on the workflow journey card.

    Select_Deploy.png
  4. Click Deploy.

    The Deploy Workflow confirmation window opens.

    Deployment_new.png
  5. Choose your deployment mode from the dropdown:

    • Live - For testing the execution

    • Prod - For the operational execution

  6. Click Deploy.

    A success message appears confirming deployment.

    Now that you have deployed your workflow, you can use Agent Evaluation to evaluate its performance against curated test scenarios and measure real outcomes, such as task completion rates, output quality, correctness of tool usage, and performance.

Running a Workflow

Running a workflow is the critical process of executing your designed workflow in a runtime environment separate from the design interface.

The runtime testing process serves multiple important purposes:

  • You can observe how your workflow executes in practice, verifying that tasks are executed in the correct sequence, data flows properly between tasks, and conditional logic functions as intended.

  • You can identify any issues, errors, or bottlenecks that may not be apparent during the design phase but become evident during actual execution.

  • You can analyze results to ensure the workflow produces the expected outcomes.

Based on the runtime process, execution results, and any challenges encountered, you can refine and improve your workflow to enhance its effectiveness. This iterative testing and refinement process ensures that your workflow functions correctly and efficiently before deploying it to production, where it will handle actual business operations.

To run a workflow:

  1. Go to the Home page > Agents > Agentic Workflow.

    The Agentic Workflows page opens and displays all workflow journeys in a card view.

  2. Enter the workflow journey name in the Search box to filter it.

    Run_workflow.png
  3. Click Run on the workflow journey card.

    The runtime environment opens automatically in a new window.

  4. Click the Add + icon at the bottom-right corner of the page.

    A list of all deployed workflows appears in the right-side panel.

    workflow_selection_in_runtime_1.png
  5. Enter the workflow name in the Search box to filter results.

  6. Select the workflow you want to execute.

    workflow_selection_in_runtime_2.png
  7. Click Proceed to initiate execution.

    Once started, you can track and view the status of each task execution in real-time as the workflow progresses.

Suspending, Resuming, and Terminating Instances

You can suspend, resume, and terminate instances via the buttons at the top of the main panel.

suspend_resume_terminate.png
  1. To suspend an instance, click the Suspend button, then click Suspend on the confirmation dialog:

    suspend_instance_dialog.png
  2. To resume an instance, click the Resume button, then click Resume on the confirmation dialog:

    resume_process_dialog.png
  3. To terminate an instance, click the Terminate button, then click Terminate on the confirmation dialog:

    Caution

    This action is irreversible. A terminated instance cannot be recovered or resumed.

    terminate_instance.png

    Terminating an instance permanently deletes it from the workflow engine and marks it as Externally Terminated. Use terminate only when you are certain the instance should no longer run. Terminated instances are moved to the Completed tab for audit visibility.

Viewing a Workflow Status History

Monitor the status of your workflow executions in real time by viewing comprehensive details for each run, including the workflow name, current execution status, timestamp, and a flowchart visualization.

To access the workflow's status history:

  1. Click the Run History Run_History_icon.png icon on the left side menu.

    The History page opens and displays the latest details of the workflow execution status.

    History_page.png
  2. The left side panel organizes all workflow runs into two tabs:

    • Ongoing - Displays all suspended and currently executing workflows. Suspended workflows have an orange suspended suspended_icon.png icon.

    • Completed - Displays all workflows that have finished execution or that have been externally terminated. Completed workflows have a green checkmark successful_icon.png icon, and terminated workflows have a red canceled cancelled_icon.png icon.

      workflow_history_complete.png
  3. Use the search box and filters to quickly locate a specific workflow run, and then select to view the details in the right panel across these tabs:

    • Timeline View tab - Select to view execution progress with timestamped tasks and color-coded statuses.

      Timeline_View_tab.png
    • Detailed View tab - Select to view the complete workflow diagram with its current execution status.

      Detailed_view_tab.png
    • Manage Variables tab - Select to view all data and variables that were created during the workflow execution process. You can manage these variables as needed for debugging or analysis.

      manage_variable_tab.png
    • Incident tab - When an instance is suspended due to an external task failure, the Incident Detail tab appears in the right panel.

      task_history_incident.png

      The Incident Detail tab shows:

      Field

      Description

      Incident Type

      Category of the failure (e.g. failedExternalTask)

      Incident Message

      Human-readable error description

      Configuration ID

      ID of the failed external task

      Incident Time

      Timestamp when the incident was recorded

Viewing the Workflow Execution History

The platform enables you to monitor and analyze agentic workflow performance through comprehensive execution information. Detailed execution logs show how your workflows process requests and generate results, helping you make informed optimization decisions.

Note

Execution history tracks only Service tasks, Action tasks, and AI Agent tasks.

To view the workflow execution details:

  1. Click the Ellipsis Ellipsis_icon.png icon on the workflow journey card.

    View_Run.png
  2. Click View Last Run.

    A right panel opens, displaying metadata about the last execution, including input/output, execution sequence, time, and other performance metrics.

    View_Last_run.png
  3. Click View Run History.

    A right-side panel opens, displaying all its execution records for the last five runs.

    • To view the previous or next execution record, click << or >>.

      View_run_history.png