Last Updated on : 2025-08-18 09:45:09download
A workflow tool is an efficient workbench for simplifying and automating business processes. On a visual interface, you can easily create, manage, and optimize workflows to improve the efficiency of AI agents and reduce hallucinations.
On the page of Process Management, click Create Workflow in the top right corner and enter the Workflow Name and Workflow Description to quickly create a workflow project.
You can create the desired workflows through drag-and-drop operations. Each node defines distinct tasks and decisions, making it easier to clearly show the entire process.
The start node defines the information required to initiate the workflow, with USER_TEXT
as the default input variable.
You can click Add Node to add the following nodes and build your workflow:
The intent recognition node is used to identify and manage the user’s intent from input quickly. After an intent recognition model is set up, the system can accurately understand the user’s input and classify the intent accordingly.
You can choose either simple mode or full mode.
Simple mode:
USER_TEXT
.Full mode:
On top of simple mode, the full mode adds System Prompt functionality with variable support. This enables inputs to be interpreted by system prompts for deeper user intent understanding.
The large language model node is a smart dialogue system based on large-scale language models. It can generate high-quality responses through configurable variables and prompts.
USER_TEXT
as part of the prompt.The output node is a functional component that supports intermediate processes and message output. Two output modes, streaming and non-streaming, provide flexible data output solutions.
This node is used to end logic and is configured in the same way as an output node.
Constraint: The workflow will fail to run if any logical branch does not converge to an end node.
Select a data center that matches the large model set in the workflow and simulate user input in USER_TEXT
to start a trial run and get the output results.
After the configuration is completed, click Publish in the top right corner of the workbench to publish the created workflow. To ensure logical integrity, Tuya will perform a logic verification on the workflow. Once the logic is verified, the workflow is published.
After the workflow is published, you can select the created workflow in the agent and click Add Workflow to add this workflow.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback