Skip to main content

Automating Business Processes

This page explains how to automate business processes using Agentiqs' workflow functionality.
Workflows are defined by combining rules (conditions, branches, etc.) and AI agents.
By fixing the steps with rules, omissions and errors are prevented, and by leaving only the processes requiring judgment to the AI, variations in answers can be reduced.


Creating a Workflow

This explains the procedure for creating an Agentiqs workflow.

Procedure
  1. Click [Workflow] > [Create with AI].
    • A chat screen will appear on the right side of the screen.
  2. Interactively discuss the process you want to automate with the AI ​​via chat.
    • The workflow will be created once sufficient information has been obtained.

Editing the Workflow

This explains the procedure for editing the created workflow.

Procedure
  1. Click [Workflow].
    • A list of workflows will be displayed.
  2. Select the workflow you want to edit.
    • The workflow editing screen will be displayed.
  3. Click the [AI] tab in the right-hand pane.
    • The chat screen will be displayed.
  4. Edit the workflow while interactively consulting with the AI ​​via chat.
Regarding Workflows Edited with AI
  • Workflows created and edited interactively with AI do not always function correctly.
    Click the [Publish] button to verify and confirm that there are no errors.
    Also, run a test to confirm that you get the intended results.

Parameters per Step

The setting parameters for each step (especially tool execution) require consideration of the interface and tool implementation, so
it is assumed that they will be set through interaction with the AI.

A filter function is provided that performs "conversion" and "judgment" on values ​​specified in conditional expressions.
For details, please refer to here.

Toolbox (Control Flow)

Loop Processing

Executes processing for each element of the list.

Configuration Parameters

NameRequiredDescription
Iteration TargetIteration Target Expression
Item VariableVariable name to store each element
ParallelismParallelism (1 for sequential execution)
Maximum Number of ExecutionsMaximum number of executions
Iteration MethodOptions: "List (simple list)", "Tree (hierarchical structure)"
Child Element List Property NameProperty name of the child element list
Parent Element Storage VariableVariable name to store the parent element
Maximum Depth of Recursive SearchMaximum depth of recursive search (unlimited if null)
Hierarchical Search Method (Depth First/Breadth First)Options: "DepthFirst (depth first)", "BreadthFirst (breadth first)"

Conditional Branching

The processing is branched based on the condition.

Configuration Parameters

NameRequiredDescription
Conditional ExpressionExpression that evaluates to a boolean value

Parallel Execution

Executes multiple steps in parallel.

Configuration Parameters

NameRequiredDescription
ParallelismUpper limit on the number of processes to execute simultaneously

Sequential Execution

Executes multiple steps in order.

Configuration Parameters
None

While Loop

Repeats the process while the condition is true.

Configuration Parameters

NameRequiredDescription
Conditional ExpressionLoop Continuation Condition (Repeats while true)
Toolbox (Integration)

HTTP Request

Sends an HTTP request to an external API.

Configuration Parameters

NameRequiredDescription
MethodHTTP Method
URLRequest URL
HTTP HeadersHTTP Header Dictionary (JSON format)
BodyRequest Body (JSON format)
Result Storage LocationResponse Storage Location Variable Name and Value Dictionary (JSON format)

User Inquiry

The process repeats as long as the condition is true.

Configuration Parameters

NameRequiredDescription
Inquiry TypeOptions: "Approve (Reject, Approve)", "FreeText (Text Input)"
Inquiry TitleTitle to display in the inquiry dialog
Inquiry DescriptionDescription to display in the inquiry dialog
Output VariableWorkflow variable name to store the results
Initial ValueDefault value or expression to be the initial value
Toolbox (Data Processing)

Python Script

Executes Python code.

Configuration Parameters

NameRequiredDescription
Python CodePython code to execute
Timeout (seconds)Execution timeout seconds (1-3600, default value (1000) if not specified)
Success/Failure Judgment VariableVariable name to store execution success/false (true/false). When specified, the workflow will proceed to the next step without stopping even if an error occurs.
Toolbox (Basic Operations)

Variable Settings

Sets a value for the variable.

Configuration Parameters

NameRequiredDescription
AssignmentDictionary of variables and values ​​to assign (JSON format)
How to set to variableOptions: "Overwrite", "Add"
Toolbox (AI Processing)

AI Agent Call

Calls a registered AI agent by name.

Configuration Parameters

NameRequiredDescription
Agent NameName of the AI ​​agent to call
AI Model NameAI Model (Model ID)
System PromptSystem prompt to assign a role to the model
User MessageUser message to send to the agent
Result Storage LocationVariable name to store the generated result

AI Conditional Branching

The AI ​​determines the condition and branches accordingly.

Configuration Parameters

NameRequiredDescription
AI Model NameAI Model (Model ID)
System PromptSystem prompt to send to LLM. If not specified, the base system prompt is used.

Knowledge Search

Searches registered knowledge.

Configuration Parameters

NameRequiredDescription
Knowledge NameName of the knowledge to search
Search QueryQuery string to use for the search
Maximum Number of ResultsMaximum number of results to retrieve (1-100)
Result Storage LocationVariable name to store search results

LLM Call

Performs basic LLM generation.

Configuration Parameters

NameRequiredDescription
AI Model NameAI Model (Model ID)
System PromptSystem prompt to assign a role to the model
User MessageUser message to send to LLM
Result Storage LocationVariable name to store the generated results

Tool Execution

Executes the tool's functions.

Configuration Parameters

NameRequiredDescription
Tool NameName of the tool to call
Function NameName of the function to execute
ParametersKey/value parameters to pass to the function
Result Storage LocationVariable name to store the execution results
Success/Failure Judgment VariableVariable name to store the execution success/false (true/false). When specified, the workflow will proceed to the next step without stopping even if an error occurs.

Running a Workflow

This explains the procedure for running an Agentiqs workflow.

Procedure
  1. Click [Workflows].
    • A list of workflows will be displayed.
  2. Hover your mouse over the card of the workflow you want to run.
    • The [Run] button will appear.
  3. Click the [Run] button.
    • You will be taken to the [Execution History] tab, and the workflow will start running.