Tables
Overview
Tables in Workbench provide an abstract database layer that allows developers to persist data within agentic workflows. Think of it as a custom data storage system where developers can define and manage structured records without worrying about underlying database complexities.
This feature is particularly useful when AI agents need to store, retrieve, and manipulate data across workflowsβsuch as tracking user interactions, logging processed data, or maintaining reference records.
πΉ Storage Limitation: Persistent database space is limited by default but can be expanded separately if developers anticipate storing large volumes of data within AI agents.
How to Create a Table?
There are two ways to create a Table in UPTIQ:
1. From Config & Utils (Recommended for Reusability)
Navigate to Config & Utils β Tables Tab.
Click "Create Table."
Enter a name for the table (this serves as a unique identifier for data storage).
Click Saveβthe table is now ready for use in workflows.
2. Directly from a Workflow Node (Quick Method)
Drag a Table Write/Read node into a workflow.
Click on the node to open the side panel.
Click "Add Table"βthis automatically assigns the table to the current agent.
Save the table definition.
How to Use Tables in AI Agent Development
Developers can leverage persistent tables to:
β Store Data Across Workflow Executions β Maintain records of AI-generated outputs, processed user inputs, or any other structured data.
β Retrieve & Reuse Data β Query stored information to enhance AI responses, track user history, or fetch reference data dynamically.
β Automate Business Logic β Use tables to store intermediate results that can be accessed by multiple workflow nodes, reducing redundant computations.
β Enable Long-Term Data Persistence β Unlike temporary workflow variables, tables retain data across workflow executions, allowing AI agents to operate with stateful memory.
Best Practices for Using Tables in Workflows
β Design Tables Thoughtfully β Only store data that is required for AI workflows. Avoid persisting unnecessary information to conserve storage.
β Regularly Clean Up Data β Since storage space is limited, implement periodic clean-ups for expired or unnecessary records.
β Ensure Data Security & Compliance β Be mindful of storing sensitive user data and implement access control mechanisms where required.
Key Takeaways for Developers
β Use Tables to Persist AI Data β Maintain structured records that workflows can access and update dynamically. β Store & Query Information Efficiently β Design data models that support your AI agentβs functionality. β Leverage Tables for Stateful AI Workflows β Enable AI agents to retain context between workflow executions. β Manage Storage Effectively β Be mindful of storage limitations and optimize data persistence strategies.
By integrating Tables in workflows, developers can enhance AI capabilities, improve decision-making, and enable long-term data-driven automation.
Last updated