Documentation
Personal Database
Every Sigma Domain user has a personal database schema where data from tool executions, saved items, and custom data is stored. You can save data to you…
How to Access
- Click the 📊 Personal Database button in the left sidebar
- A panel opens on the right side showing all your database tables
- Click any table to browse its data — you can sort, search, and page through rows
- You can also query your database by typing in chat (see "Querying Your Data" below)
Overview
Every Sigma Domain user has a personal database schema where data from tool executions, saved items, and custom data is stored. You can save data to your database and query it using natural language, or browse it visually using the database panel.
How It Works
- Each user gets a dedicated PostgreSQL schema:
user_<user_id> - Tables are created automatically as you use tools and save data
- Data is isolated - other users cannot access your schema
- You can query your data using natural language in the chat
Default Tables
Your personal schema may include:
tool_executions
Stores the history of all tool/function executions:
tool_name- Name of the executed functionparameters- Input parameters (JSON)result- Execution result (JSON)status- success/failedcreated_at- Timestampworkflow_id- Associated job ID (if applicable)
saved_items
General-purpose storage for items you save:
item_type- Category of the saved itemitem_data- The saved data (JSON)created_at- When it was saved
Saving Data
Save from Chat
- "Save this information to my database"
- "Store these results for later"
- "Remember this data: [your data]"
Save from Tool Execution
Tool results are automatically saved to tool_executions when a function runs.
Save Custom Data
- "Create a table called 'contacts' with name, email, and phone columns"
- "Add a row to my contacts: John Doe, [email protected], 555-1234"
Querying Your Data
Natural Language Queries
Ask the AI to query your database:
- "Show all my saved contacts"
- "How many tool executions did I run this week?"
- "Find the last time I sent a Twilio message"
- "Show my most used tools"
Specific Queries
- "Show the results of my last Stripe payment lookup"
- "What data do I have saved in my contacts table?"
- "Count how many failed executions I had this month"
Managing Your Data
View Your Tables
- "What tables do I have in my database?"
- "Show the structure of my contacts table"
Update Data
- "Update the phone number for John Doe to 555-5678"
- "Change the status of item #5 to 'completed'"
Delete Data
- "Delete all failed executions older than 30 days"
- "Remove the contacts table"
- "Clear all data from my saved_items table"
Data Export
Export as CSV
- "Export my contacts table as CSV"
- The AI will generate a downloadable CSV file
Export as JSON
- "Export my tool execution history as JSON"
- Useful for backup or analysis in other tools
Privacy and Security
- Your data is stored in an isolated database schema
- Other users cannot access your data
- Data is encrypted at rest
- You can delete your data at any time
- Account deletion removes all personal data
Advanced Usage
Custom Tables
You can ask the AI to create custom tables for specific use cases:
- "Create a table to track my daily expenses"
- "Set up a table for project milestones with name, date, and status"
Aggregation Queries
- "What's the total amount from my Stripe payment executions?"
- "Show a summary of tool usage grouped by tool name"
- "What's the average execution time for my API calls?"
Troubleshooting
Query Returns No Results
- Check that the table exists: "What tables do I have?"
- Verify the column names: "Show the structure of [table name]"
- Try a broader query first, then narrow down
Data Not Saving
- Check if the tool execution completed successfully
- Verify you have permission to write to the database
- Try saving a simple test value first
Table Already Exists
- If creating a table that already exists, the system will notify you
- You can ask to modify the existing table instead
- Or drop and recreate it if you want a fresh start