Back to The Times of Claw

10 More DenchClaw Tips for Power Users

Advanced DenchClaw tips for power users—custom SQL views, multi-agent workflows, skill chaining, webhook automation, and keyboard shortcuts.

Mark Rachapoom
Mark Rachapoom
·9 min read
10 More DenchClaw Tips for Power Users

10 More DenchClaw Tips for Power Users

After you've gotten past the basics — objects, fields, Telegram, saved views — there's another tier of DenchClaw capability waiting. These are the patterns used by the most sophisticated users in the community: the founders who have DenchClaw deeply integrated into their daily workflow, the developers building custom apps on top of it, and the operators who've turned it into an automated business intelligence layer.

These 10 tips assume you've read the first tips post. This is what comes after that.

1. Write Custom DuckDB SQL Views for Complex Queries#

DenchClaw auto-generates PIVOT views like v_people and v_companies that make the EAV schema readable. But you can create your own views for complex cross-object analysis.

Connect to your DuckDB file directly:

duckdb ~/.openclaw-dench/workspace/workspace.duckdb

Then create a view that joins multiple objects:

-- Deal-company-contact rollup view
CREATE VIEW v_deals_enriched AS
SELECT 
  d.entry_id,
  d."Deal Name" as deal_name,
  d."Stage" as stage,
  d."Value"::decimal as value,
  c."Company Name" as company_name,
  c."Industry" as industry,
  p."Full Name" as primary_contact
FROM v_deals d
LEFT JOIN v_companies c ON d."Company"::int = c.entry_id
LEFT JOIN v_people p ON d."Primary Contact"::int = p.entry_id;

Now you can query v_deals_enriched and the agent will use it automatically when you ask about deals with company context.

Pro tip: Create a custom_views.sql file in your workspace. The agent can run it on startup to ensure your custom views exist after a restart.

2. Use Report Files as Persistent Analytics#

When you ask the agent for analytics, it generates a .report.json file that renders as an interactive chart in the UI. But reports can be saved and updated programmatically.

Instead of re-asking for the same report each week, create a named report that gets updated by your cron job:

"Create a named report called 'weekly-pipeline-summary' that updates every Sunday with: deals closed this week, pipeline by stage, conversion rate by lead source. Keep the same report file and just update the data."

The report stays in your sidebar. Every Monday morning it's already updated with last week's data.

3. Chain Multiple Skills in a Single Instruction#

DenchClaw's agent can use multiple skills in sequence within a single instruction. This is skill chaining — a workflow where each step's output feeds the next.

"For the 5 leads in my 'Hot LinkedIn Leads' view: use the browser skill to check their current LinkedIn title, update the Title field in DenchClaw with what you find, then use the gog skill to draft a personalized outreach email for each one based on their current role, and save the drafts in Gmail."

The agent:

  1. Queries DuckDB for the 5 leads (CRM skill)
  2. Opens LinkedIn for each (browser skill)
  3. Updates the entries (CRM skill)
  4. Drafts emails with Gmail (gog skill)

Each step uses the output of the previous. This is where DenchClaw starts feeling like having a real assistant.

4. Use Subagents for Parallel Batch Work#

When you need to process many entries, the agent can spawn subagents to work in parallel:

"For all 47 companies in my 'Needs Enrichment' view, check their website for their current employee count and founding year. Update the fields. Run 5 at a time."

Instead of processing them sequentially (47 × 30 seconds = 24 minutes), the agent spawns 5 subagents running concurrently, completing in roughly 5 minutes.

This is especially powerful for:

  • Bulk data enrichment from LinkedIn or web sources
  • Mass email drafting for a campaign
  • Parallel outreach sequence setup

5. Build a Webhook-Powered Ingestion Pipeline#

DenchClaw can receive webhooks and process them automatically. Set up a webhook endpoint that triggers an agent workflow:

"Set up a webhook at /webhooks/new-signup that: receives a JSON payload with email, name, company, and plan_type, creates a new entry in the customers object, sets the Source to 'product-signup', and messages me on Telegram with the new signup details"

Now connect your product's signup flow to that webhook. Every new signup automatically appears in your CRM, with real-time Telegram notification.

Extend it:

  • Stripe webhook → update subscription status in CRM
  • GitHub webhook → create entries for new contributors
  • Typeform webhook → capture survey responses as CRM entries

6. Create Master Views That Span Objects#

DenchClaw lets you create views that pull from multiple objects into a single display. This requires a custom SQL query rendered via the agent or a custom Dench App.

The pattern:

// In a Dench App, combine data from multiple objects
const combinedView = await dench.db.query(`
  SELECT 
    'person' as type,
    p.entry_id as id,
    p."Full Name" as name,
    p."Last Contact Date" as last_contact,
    p."Follow Up Date" as follow_up
  FROM v_people p
  WHERE p."Follow Up Date"::date = CURRENT_DATE
  
  UNION ALL
  
  SELECT 
    'company' as type,
    c.entry_id as id,
    c."Company Name" as name,
    c."Last Activity Date" as last_contact,
    c."Next Renewal Date" as follow_up
  FROM v_companies c
  WHERE c."Next Renewal Date"::date = CURRENT_DATE
  
  ORDER BY follow_up
`);

This gives you a "Today's Agenda" view that shows both individual follow-ups and company renewals due today, in one sorted list.

7. Use the Agent's Memory Actively#

The agent's memory system (MEMORY.md and daily files) isn't just for system context — you can use it intentionally for workflow preferences.

Build a WORKFLOW.md file in your workspace with your standard operating procedures:

# My Sales Workflow Preferences
 
## Cadence
- Initial outreach: day 0
- Follow up 1: day 3 if no response  
- Follow up 2: day 7 if no response
- Mark as Stale: day 14 with no response
 
## Deal Stages
- New Lead → Contacted → Qualified → Demo Scheduled → Proposal Sent → Negotiating → Closed Won/Lost
 
## Standard Lead Score
- Inbound + Company > 100 employees + Title = VP/C-level = Hot
- Inbound + other = Warm
- Outbound = Cold

Then tell the agent: "Read my WORKFLOW.md and always apply these rules when I ask you to manage leads or deals."

The agent reads it once and follows your workflow norms in every subsequent session.

8. Build Watchdog Queries with Scheduled Alerts#

Beyond simple reminders, you can build sophisticated watchdog queries that monitor for specific conditions:

"Every 4 hours, run this check: if any deal in the 'Active' stage has had no activity logged in the Notes field for more than 5 days, message me on Telegram with the deal name, company, value, and how many days since last activity."

Or:

"Every Monday, find all customers whose Health Score dropped by more than 10 points in the last 7 days and who have ARR over $25k. Email me a report with their name, the score change, and the likely cause based on usage data."

These watchdog patterns turn DenchClaw into a proactive business intelligence system — it surfaces problems before they become crises, without you having to check dashboards manually.

9. Version Control Your Workspace#

Your DenchClaw workspace is a directory full of YAML, markdown, and JSON files. This means it's git-friendly.

cd ~/.openclaw-dench/workspace
git init
echo "workspace.duckdb" >> .gitignore  # DB is large, don't commit it
git add .
git commit -m "initial workspace snapshot"

Now you have version history for:

  • Object schema changes (.object.yaml files)
  • View configurations
  • Memory files
  • Custom skill files
  • App code (.dench.app directories)

Check in every significant change: "I just restructured my pipeline stages. Commit the current workspace state with message 'Updated pipeline stages from 5 to 7 stages.'"

This also means you can roll back a bad configuration change, which is surprisingly useful.

10. Create a Daily Briefing Template#

The most powerful single automation in DenchClaw is the daily briefing. Here's a production-ready version:

"Every weekday at 7:45am, send me a Telegram briefing with these sections:

  1. Pipeline: Total open pipeline value, deals changing stage this week
  2. Today's follow-ups: All contacts/companies with Follow Up Date = today
  3. Renewals: Any contracts renewing in the next 30 days (not yet 'Renewed')
  4. At-risk accounts: Customers with Health Tier = Red or health score drop > 10 this week
  5. Yesterday's activity: New entries created or updated yesterday End with: total new leads this month vs. same time last month"

This takes the agent 60 seconds to set up. Every weekday morning, you get a structured business briefing generated from your live DuckDB data — no dashboard-checking, no manual query running. The context you need to start the day is in your pocket before you've had coffee.

Frequently Asked Questions#

How do I debug a cron job that isn't running?#

Ask the agent: "Show me all active cron jobs and their last run time." If a job shows as scheduled but not running, check the gateway status with openclaw gateway status in your terminal.

Can I run these advanced queries from Telegram?#

Yes. Telegram has full agent access. Even complex multi-step chains like tip #3 work via Telegram — just type (or voice-transcribe) the instruction. The agent handles the rest.

How do I share a dashboard app I built with a colleague?#

Use the here-now skill to publish the app: "Publish my pipeline dashboard app to a public URL." You'll get a here.now URL you can share. Note that it's a point-in-time snapshot unless you re-publish.

What's the most complex thing someone has built on DenchClaw?#

From the community: a full investor relations platform for a fund of funds, tracking 30+ portfolio companies with health scores, custom reporting, Telegram briefings, and automated update emails. All running locally on a MacBook, no SaaS involved.

Where can I see more examples?#

The DenchClaw GitHub repo includes example workspace configurations. The Discord #showcase channel is where community members share their setups. And denchclaw-use-case-roundup covers 25 real use cases in detail.

Ready to try DenchClaw? Install in one command: npx denchclaw. Full setup guide →

Mark Rachapoom

Written by

Mark Rachapoom

Building the future of AI CRM software.

Continue reading

DENCH

© 2026 DenchHQ · San Francisco, CA