Last Updated on : 2025-02-06 02:45:59download
A workflow tool is an efficient workbench for simplifying and automating business processes. On a visual interface, users can easily create, manage, and optimize workflows to improve the efficiency of AI agents and reduce hallucinations.
On the Workflow platform, click Create Workflow in the top right corner of the page and enter the Workflow Name and Workflow Description to quickly create a workflow project.
Workflow Description is a necessary prompt that enables the agent to understand under what circumstances this workflow should be invoked. Please provide a brief description.
Users 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.
In a workflow, multiple task branches are implemented simultaneously, and each branch can make process decisions related to a certain type of user intent. You do not need to list all user questions because the workflow can generalize user intent.
The workflow integrates the smart Q&A feature. Follow-up questions can be generated based on user intentions to guide users to provide the necessary information. This way, narrow the scope of the agent’s understanding, accurately solve user needs, and improve the interactive experience.
For example, in customer service scenarios, users often ask questions about device pairing. To provide users with high-quality services, AI agents need to confirm users’ device information and find the exact pairing method to respond to users. Typically, the device communication protocol must be determined. After the agent adds the workflow shown above, the interaction on the user’s mobile app is as follows:
The workflow integrates a tool invocation feature, which can generate tool invocation methods based on user intents. It guides the agent to adopt the specified invocation methods/parameters and returns relevant information to users based on the invocation results.
After a task branch reaches the end node, you can configure the guidance text and related attachments.
Attachments can be in the form of hyperlinks, images, or videos. The following figure shows the interaction of a user’s mobile app when the attachment is a hyperlink.
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 to add this workflow.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback