Pipeline cleanup
Finds stale deals and tells you which ones to close or chase.
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 draftsThese 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.
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.
2Your prompt
4 of 4 still emptyYour 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.
- 1Connect HubSpot CRM with its own login, not yours. Grant read scopes, plus notes write.
- 2Connect Gmail with its own login, not yours. Grant read-only plus compose (drafts) scopes.
- 3Paste the prompt where your harness takes instructions. See the note under the Copy button.
- 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.
- 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.
Writes drafts and notes inside your tools, nothing leaves on its own.
Waits for a yes on: changing deal stages, closing deals as lost.
Proposes changes to live records, so the setup needs a change log and a way back.
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.
[](https://trustcase.dev/use-cases/pipeline-cleanup)<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>More sales workflows
- 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.
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.