Skip to content

Pipeline cleanup

Finds stale deals and tells you which ones to close or chase.

SalesWorks with Claude Desktop with MCP · ChatGPT agent+2

What it does

  • Flags deals with no activity in 30 days
  • Checks for replies you missed
  • Proposes a status for each deal

Your approval boundaries

Creates drafts

These actions always wait for your yes:

  • Changing deal stages
  • Closing deals as lost

You decide what happens next.

More about this workflow

This setup is for founders and small sales teams who want more time for real conversations. It takes a repeat chore off your plate and hands back something you can check quickly.

First, it flags deals with no activity in 30 days. Next, it checks for replies you missed. Finally, it proposes a status for each deal. It works with your CRM and email, each on its own login with limited access.

You get the prep work done and waiting for you. The agent stops and asks for your yes before changing deal stages and closing deals as lost, and says plainly if a step cannot be undone.

Before you startCRM · Email accessScoped permissionsClaude Desktop with MCP or ChatGPT agent
Explore required tools and model recommendations

Tools and access

  • HubSpot CRM

    Handles the crm part of this job. Grant read scopes, plus notes write.

    API required: Yes. Needs a HubSpot private app or OAuth app with the CRM scopes you choose.

  • Gmail

    Handles the email part of this job. Grant read-only plus compose (drafts) scopes.

    API required: Yes. Needs a Google Cloud project with an OAuth app and the Gmail API turned on. The agent signs in through OAuth with only the scopes you pick.

Official links only. Not sponsored, no affiliate links.

Model recommendations

Best pick

Claude Sonnet 5.5

Good balance of speed and quality for briefs and drafts.

$2 per million input tokens, $10 per million output tokens.

Anthropic docs as of October 11, 2026

Cheaper backup

GPT-6 Luna

Very low cost per token for simple research summaries.

$0.10 per million input tokens, $0.50 per million output tokens, for prompts up to 272K tokens.

OpenAI docs as of October 11, 2026

Our own picks. Not sponsored, no affiliate links.

Build your prompt

Add your details, then copy the prompt into your tool.

1Your details

Fill these in and the prompt updates as you type.

days with no activity, e.g. 30

2Your prompt

4 of 4 still empty
Fill these in before you run it: [YOUR CRM AND PIPELINE NAME] [STALE RULE: days with no activity, e.g. 30] [YOUR DEAL STAGES in order] [WHERE TO SEND THE LIST AND HOW OFTEN] You are the Pipeline cleanup agent. Finds stale deals and tells you which ones to close or chase. Use only the details filled in above. If any [BRACKETED] item is still blank or unclear, stop and ask for it first. Do not guess. What you do on your own: - Flags deals with no activity in 30 days - Checks for replies you missed - Proposes a status for each deal What you must never do without a yes from a person: - Changing deal stages - Closing deals as lost Rules: - Before any step on the list above, stop and ask. Say in plain words what you want to do, who it affects, and whether it can be undone. - If something cannot be undone, say so first, in one short line. - Write drafts, not final actions. A person sends, pays, posts, or deletes. - Keep a short log of every action you took and every source you read. - If you are unsure, ask instead of guessing.
View run instructionsPaste into: Claude Desktop with MCP, ChatGPT agent, Zapier Agents, n8n

Your answers stay in this browser only.

Run your workflow

Connect your tools with only the access this setup needs, then follow these steps.

Steps

Do these in order. Test on old data before it touches live work.

  1. 1Connect HubSpot CRM with its own login, not yours. Grant read scopes, plus notes write.
  2. 2Connect Gmail with its own login, not yours. Grant read-only plus compose (drafts) scopes.
  3. 3Paste the prompt where your harness takes instructions. See the note under the Copy button.
  4. 4Do a dry run on old or test data first. Check every draft and every stop point by hand before you let it near live work.
  5. 5Read its log after the first real run. Only widen access once a week of runs looks clean.

Safeguards and trust score

The score describes this example setup’s access, approval boundaries, ability to undo changes, and scope.

Access24 / 30

Writes drafts and notes inside your tools, nothing leaves on its own.

Human approval30 / 30

Waits for a yes on: changing deal stages, closing deals as lost.

Undo and logs14 / 20

Proposes changes to live records, so the setup needs a change log and a way back.

Scope18 / 20

Runs on its own login across 2 tools. Fewer connections means a smaller blast radius.

How to raise it

  • Undo and logs: Stop it from editing live records. Have it write the change as a proposal you apply, and keep a log of every change with a way to roll it back +3
  • Scope: Run it on one tool only, with its own login that can see just what this job needs +2

Do all of these to reach 91, up from 86.

Want help getting there? Get an AI Trust Audit from Pixeldesigns

Reviewed by Trustcase (example setup). How scoring works

Embed badge

Show this trust score on your site or README. It links back here.

Trustcase trust score badge
Markdown
[![Trustcase trust score for Pipeline cleanup](https://trustcase.dev/badge/pipeline-cleanup.svg)](https://trustcase.dev/use-cases/pipeline-cleanup)
HTML
<a href="https://trustcase.dev/use-cases/pipeline-cleanup"><img src="https://trustcase.dev/badge/pipeline-cleanup.svg" alt="Trustcase trust score for Pipeline cleanup" height="20"></a>
  • Proposal first draft

    Builds a proposal from your template and the discovery notes.

  • Meeting prep

    Gives you a short brief on everyone in tomorrow's sales meetings.

  • Approved cold invite writer

    Finds people who fit an invite list, reads their own work, and drafts a short personal invite for each. A person approves every invite before anything goes out.

  • Research backed cold email team

    Several small agents each take a batch of leads, research the company and its ads, and write a personal cold email. A stronger model reviews each email and a person approves before anything is sent.

See all 46 sales workflows

Other workflows that use the same tools

  • Review request texts after a sale

    Marketing. When a sale or service is marked done, it waits two days and texts the customer a link to leave a review, then one reminder. It checks opt outs first and tells the owner if a text fails.

  • Daily request intake and client progress page

    Operations. Each morning it reads the latest meeting transcript, recent client emails and a drop folder, files every document and turns every request into a task on one list. Before the next meeting it builds a short what's new page from the progress since the last one.

  • Customer care mailbox filing with complaint alerts

    Support. A listener flags complaints, customer replies and bounced confirmations to the owner as they arrive, and a morning task files the rest of the support inbox into folders with a short digest. Booking request emails are matched against the calendar and CRM so missed leads show up.