OpenClaw Fundamentals Features & Use Cases

OpenClaw CRM: Automate Your Entire Sales Pipeline With AI

Lead scoring, follow-up emails, deal stage updates, and weekly pipeline reports — all running without anyone touching the CRM. Here's the exact OpenClaw configuration that handles your entire sales pipeline automatically.

RN
R. Nakamura
Developer Advocate
Jan 26, 2025 14 min read 9.3k views
Updated Jan 26, 2025
Key Takeaways
  • Salesforce and HubSpot integrations are available as native OpenClaw skills — Pipedrive and Close.io through ClaWHub community skills
  • Lead scoring assigns point values to company size, job title, industry, and engagement signals — the agent updates a score field on every new lead automatically
  • Follow-up email triggers fire based on deal stage, days since last contact, or lead score threshold — all sends logged back to the CRM contact record
  • Deal stage updates connect external events to CRM stage moves via the API — no manual CRM entry required from the sales team
  • Weekly pipeline reports include weighted pipeline value, stalled deals, and stage-by-stage breakdown — delivered to Slack or email on schedule

Sales reps spend an average of 18% of their time on CRM data entry. That's nearly one full day per week entering information the system should already know. An OpenClaw CRM agent eliminates that cost — leads get scored the moment they enter, follow-ups send on schedule without anyone setting a reminder, deal stages update when real events happen, and the pipeline report arrives in Slack every Monday morning without anyone running a report. Here's the setup that makes all of it happen.

CRM Integration Setup

The OpenClaw CRM skills connect via each platform's official API. For Salesforce, you'll need a Connected App with API access enabled and an OAuth client ID and secret. For HubSpot, a Private App token with the CRM scopes you need is the cleaner approach — no OAuth flow required.

# HubSpot setup
openclaw skill install hubspot
export HUBSPOT_ACCESS_TOKEN=your_private_app_token

# Salesforce setup
openclaw skill install salesforce
export SF_CLIENT_ID=your_connected_app_id
export SF_CLIENT_SECRET=your_connected_app_secret
export SF_USERNAME=agent@yourcompany.com
export SF_PASSWORD=password_plus_security_token

Scope the API token to only the objects the agent needs to read and write. A CRM automation agent typically needs: read and write on Contacts, read and write on Deals (Opportunities in Salesforce), and create on Activities (Tasks and Notes). No delete permissions. No admin access. Minimum viable scope is the right principle here.

⚠️
Never Give Delete Permissions

CRM data is business-critical and hard to recover once deleted. Scope your agent's API token to read and write only — never delete. If the agent needs to "remove" data, build a soft-delete pattern using a status field or archive label instead. A misconfigured trigger with delete access can wipe contact records before anyone notices.

Lead Scoring Automation

Lead scoring is the highest-leverage automation for most sales teams. When every new lead arrives in the CRM already scored, sales reps know exactly where to focus attention without reviewing each record manually. The score lives in a custom field — openclaw_score — that the agent creates and updates.

Define your scoring model in the skill config. The agent applies the model to every new contact and runs a nightly re-score of all open leads to catch engagement signal changes like email opens, page visits, or form submissions.

lead_scoring:
  target_field: "openclaw_score"
  rescore_schedule: "0 2 * * *"  # 2am nightly
  rules:
    - field: company_size
      values:
        "1-10": 10
        "11-50": 25
        "51-200": 40
        "201-1000": 60
        "1000+": 80
    - field: job_title_contains
      keywords: ["VP", "Director", "Head of", "Chief", "Founder"]
      score: 30
    - field: industry
      values:
        "SaaS": 25
        "Finance": 20
        "Healthcare": 15
    - field: email_opened_last_7d
      score: 15
    - field: form_submitted
      score: 20
  high_score_threshold: 70
  high_score_action: notify_slack
  notify_channel: "#sales-hot-leads"

The high_score_threshold and high_score_action fields create an automatic alert system. When a lead crosses 70 points, the agent posts to your sales Slack channel immediately — no waiting for the nightly report. As of early 2025, this pattern consistently surfaces leads that would otherwise sit uncontacted for days.

Follow-Up Email Triggers

Follow-up emails are the task that sales reps forget most reliably under pressure. An OpenClaw follow-up trigger fires on a configurable schedule based on deal stage and days since last contact — and sends a personalized email drafted from a template you define.

follow_up_triggers:
  - name: "no-contact-5d"
    condition: days_since_last_contact
    threshold_days: 5
    deal_stages: ["Qualified", "Proposal Sent"]
    action: send_email
    template: "follow_up_check_in"
    from: "sales@yourcompany.com"
    log_to_crm: true
    log_as: "Email — Automated Follow-Up"

  - name: "proposal-sent-3d"
    condition: days_in_stage
    stage: "Proposal Sent"
    threshold_days: 3
    action: send_email
    template: "proposal_follow_up"
    from: "sales@yourcompany.com"
    log_to_crm: true

Templates use contact and deal field variables. The agent pulls the contact's first name, company name, deal name, and any other fields you reference, and substitutes them at send time. The email looks personal because the variables are real data — not generic placeholders.

💡
Let Reps Pause Follow-Ups Per Deal

Build a way for reps to suppress automated follow-ups on deals they're actively working. The simplest approach: a custom checkbox field called "suppress_auto_followup". The agent checks this field before sending and skips the deal if it's checked. Reps stay in control; the automation fills the gaps.

Automated Deal Stage Progression

Deal stages should advance when real things happen — a proposal is sent, a contract is signed, a meeting is booked — not when a rep remembers to update the record. Connect those real events to stage updates via OpenClaw triggers.

The most reliable trigger sources for deal stage automation are calendar integrations (a meeting marked "completed" advances the stage from "Discovery" to "Qualified"), email detection (an email containing "please find the attached proposal" advances to "Proposal Sent"), and document tools (a DocuSign completion webhook advances to "Contract Sent").

stage_triggers:
  - name: "meeting-completed"
    source: google_calendar
    event: meeting_ended
    meeting_title_contains: ["discovery", "demo", "intro call"]
    action: update_deal_stage
    match_deal_by: attendee_email
    new_stage: "Qualified"
    add_note: "Discovery meeting completed — stage advanced automatically"

  - name: "docusign-completed"
    source: webhook
    endpoint: /hooks/docusign
    event: envelope_completed
    action: update_deal_stage
    match_deal_by: signer_email
    new_stage: "Closed Won"
    add_note: "Contract signed via DocuSign"

Weekly Pipeline Reports

The pipeline report is the most immediately visible win for sales leadership. It arrives in Slack every Monday before the team meeting — weighted pipeline value by stage, deals stalled more than 14 days, new leads added in the past week, and deals closed in the past week. No one runs a report. No one exports a CSV. It just appears.

Configure the report task on a weekly schedule. The agent queries the CRM, computes the metrics, formats a structured Slack message, and posts it to your defined channel. The whole query-to-delivery process takes under 20 seconds for most CRM sizes.

Common CRM Automation Mistakes

  • Sending follow-ups without rep visibility — reps need to know when automated emails go out on their behalf. Route a notification to the rep's Slack every time a follow-up sends so they can respond quickly if the prospect replies.
  • Lead scoring model not calibrated to your actual ICP — a generic scoring model produces generic results. Base your score weights on your historical closed-won data — what characteristics do your best customers actually share? Start there.
  • Stage triggers that fire on the wrong deals — "meeting completed" fires on every meeting in your calendar, not just sales meetings. Use meeting_title_contains filters aggressively to prevent internal meetings from advancing customer deals.
  • No human review on the first week of automation — run every new trigger in logging-only mode for the first week. Review every action the agent would have taken before enabling live execution. This catches misconfigured matching logic before it touches real data.
  • Pipeline report missing stalled deals — a report that only shows healthy pipeline metrics is a vanity metric. Always include a stalled deals section — deals that haven't moved in more than 14 days need human attention that the automation can surface but not fix.

Frequently Asked Questions

Which CRMs does OpenClaw integrate with?

Native skills exist for Salesforce and HubSpot. Pipedrive and Close.io are supported through ClaWHub community skills. Any CRM with a REST API can be connected through the generic HTTP skill with custom field mapping configuration.

How does OpenClaw qualify leads automatically?

Configure a lead scoring model with point values for company size, industry, job title, and engagement signals. The agent scores each new lead as it enters the CRM and updates a custom score field. Leads above your threshold are flagged immediately for sales follow-up.

Can OpenClaw send follow-up emails from my CRM automatically?

Yes — follow-up triggers fire based on deal stage, days since last contact, or lead score. The agent personalizes the email using contact and deal data, sends via your connected email provider, and logs the send back to the CRM contact record automatically.

How does OpenClaw update deal stages in my CRM?

External events — calendar meetings completed, email keywords detected, DocuSign webhooks — trigger stage update actions. The agent identifies the relevant deal by attendee or signer email and updates its stage via the CRM API. Stage history is preserved in the activity log.

What does OpenClaw's weekly pipeline report include?

Weighted pipeline value by stage, stalled deals over 14 days without movement, new leads added in the past week, and deals closed. Delivered to Slack or email on a schedule you define — no one runs the report manually.

Is it safe to give OpenClaw write access to my CRM?

Safe with proper scoping. Create a dedicated API key limited to read contacts, write contacts, read deals, write deal stage, and create activities. Never grant delete permissions. Log all agent writes to a separate audit trail for immediate visibility of any unexpected changes.

RN
R. Nakamura
Developer Advocate

R. Nakamura has deployed OpenClaw CRM automations for sales teams across SaaS, professional services, and e-commerce verticals. Has integrated OpenClaw with Salesforce, HubSpot, and Pipedrive in production environments, with particular focus on lead scoring accuracy and follow-up sequence reliability.

Sales Automation Guides

Weekly OpenClaw CRM and sales pipeline automation guides, free.