# Review and fix HubSpot deal pipeline hygiene with TypeSafe Jev and Gmail

> Quick overview This workflow runs every Monday and scans a HubSpot deal pipeline for hygiene issues and expansion opportunities, optionally using TypeSafe Jev to recommend fixes. It emails a Gmail approval form, then applies only the reviewer-approved updates back to HubSpot and sends a results summary. How it works 1. Runs every Monday at 08:00 and loads the configured HubSpot pipeline, portal details, and deal owners. 2. Searches HubSpot for all deals in the selected pipeline and gathers Closed Won deal-to-company associations to identify existing clients. 3. Applies rules to flag open deals with issues (for example past/missing close dates, staleness, stuck stages, missing amount/owner/contact) and to find companies eligible for an expansion conversation. 4. For each flagged item, fetches the latest associated HubSpot note and (if enabled) sends the deal/client context to TypeSafe Jev to choose a recommended action with a confidence score, falling back to deterministic rules when Je

- **Domain**: `n8n-workflow-20135.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20135
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20135.n8n.io
- Documentation: https://n8n.io/workflows/20135
