DenchClaw Saved Views: The Fastest Way to Filter Your Data
How DenchClaw saved views let you create named filters and instantly switch between different perspectives of your CRM data.
DenchClaw Saved Views: The Fastest Way to Filter Your Data
DenchClaw saved views let you define a named filter, sort, and display configuration for any object and return to it instantly. Instead of re-typing "show me leads in New York sorted by last contacted" every time you want that perspective, you save it once as "NYC Leads" and it's always one click away.
Saved views are stored in your .object.yaml file — they're not locked in a database, they're readable YAML on your filesystem. Here's how they work and how to get the most from them.
What a Saved View Contains#
A saved view is a named configuration that specifies:
- View type — table, kanban, calendar, timeline, gallery, or list
- Filters — which entries to show
- Sort order — how entries are sorted
- Active columns — which fields are visible in table view
- Kanban field — which enum field to use for kanban columns
All of this is stored in the views: section of your .object.yaml:
views:
- name: NYC Leads
type: table
filters:
- field: City
operator: equals
value: New York
- field: Status
operator: equals
value: Lead
sort:
field: Last Contacted
direction: asc
columns:
- Full Name
- Company
- City
- Last Contacted
- Status
- name: Closing This Month
type: kanban
filters:
- field: Close Date
operator: this_month
sort:
field: Close Date
direction: asc
- name: Pipeline Overview
type: kanban
kanbanField: StageCreating Saved Views#
Method 1: Ask DenchClaw#
The fastest way to create a view:
"Save a view called 'Hot Leads' that shows all leads with Priority = High, sorted by last contacted date."
DenchClaw writes the view configuration to your .object.yaml and the view appears immediately in your object's view selector.
"Create a calendar view for Deals called 'Closing Calendar' that shows close dates."
"Save the current filter as a view called 'This Week's Follow-ups'."
Method 2: Edit .object.yaml Directly#
For power users who prefer direct YAML editing:
- Open
~/.openclaw-dench/workspace/crm/OBJECT_NAME/.object.yaml - Add your view definition to the
views:array - Save the file — DenchClaw hot-reloads the configuration
Method 3: Use the UI#
In the DenchClaw frontend, apply filters using the filter panel, then click "Save as view" in the view configuration dropdown. Name it and confirm.
Filter Operators#
DenchClaw's filter system supports these operators by field type:
Text and enum fields:
equals/not_equalscontains/not_containsstarts_withis_empty/is_not_empty
Number fields:
equals/not_equalsgreater_than/less_thangreater_than_or_equal/less_than_or_equalbetweenis_empty/is_not_empty
Date fields:
equals(specific date)before/afterbetweentoday/yesterdaythis_week/last_week/next_weekthis_month/last_month/next_monththis_quarter/last_quarterthis_yearin_the_past(combined with number:in_the_past 30 days)in_the_futureis_empty/is_not_empty
Tags fields:
contains— entry has this tagcontains_all— entry has all of these tagscontains_any— entry has at least one of these tagsnot_contains
Boolean fields:
is_true/is_false
Multi-Condition Filters#
Combine multiple filters with AND/OR logic:
filters:
operator: AND # All conditions must match
conditions:
- field: Status
operator: equals
value: Active
- field: City
operator: equals
value: San Francisco
- field: Last Contacted
operator: in_the_past
value: 30 daysOR logic:
filters:
operator: OR # Any condition matches
conditions:
- field: Priority
operator: equals
value: High
- field: Close Date
operator: this_weekNested logic (AND within OR):
filters:
operator: OR
conditions:
- operator: AND
conditions:
- field: Status
operator: equals
value: Lead
- field: Score
operator: greater_than
value: 80
- field: Priority
operator: equals
value: CriticalThe Default View#
Set the default_view field in your .object.yaml to determine which view loads when you navigate to an object:
default_view: Pipeline OverviewOr ask DenchClaw: "Set the default view for Deals to 'Pipeline Overview'."
View Switching#
Switch between views using the view selector at the top of the object page in the frontend. All saved views appear in the dropdown. The currently active view is highlighted.
When the AI creates or applies a view in response to a natural language query, it sets that view as active automatically. The frontend updates instantly — no page reload.
Practical View Setup for Common Use Cases#
Here are views worth creating for a standard sales CRM:
For a Deals object:
- "Open Pipeline" — Status != Closed Won AND Status != Closed Lost
- "Closing This Month" — Close Date is this month
- "Stale Deals" — Last Activity > 14 days ago AND Status = Active
- "Won This Quarter" — Status = Closed Won AND Close Date is this quarter
For a People object:
- "Leads" — Status = Lead
- "Needs Follow-up" — Last Contacted > 30 days ago AND Status = Active
- "New This Month" — Created At is this month
- "By Company" — sorted by Company (for account-based views)
For a Tasks object:
- "Today" — Due Date = today
- "Overdue" — Due Date < today AND Status != Complete
- "Unassigned" — Assigned To is empty
See also: DenchClaw Filter System for advanced filtering and the Object System for understanding how views are stored.
Frequently Asked Questions#
Can I share saved views with teammates?#
Saved views are stored in .object.yaml files in your workspace. If your workspace is on a shared server or version-controlled with git, all teammates see the same views. Sharing is automatic when the workspace is shared.
Can I set different default views for different team members?#
Not currently — the default view is workspace-wide. Per-user default views are on the product roadmap.
Are saved views live (do they update when data changes)?#
Yes. Views are filters applied at query time — when you navigate to a saved view, DenchClaw re-runs the filter against current data. Views always show fresh results.
Can I delete a saved view?#
Yes. Remove it from the views: array in .object.yaml, or ask DenchClaw: "Delete the 'Old Leads' view from the People object."
What's the difference between a saved view and a report?#
A saved view is an interactive filtered table/kanban/gallery that you can navigate and click into. A report is a visualization (chart) of aggregated query results. Views are for browsing; reports are for analyzing. Both are useful and can coexist.
Ready to try DenchClaw? Install in one command: npx denchclaw. Full setup guide →
