Find out why you lost deals last quarter

The real loss reasons from notes and e-mails, counted, with competitors, price gaps and fixes.

  • You start it: When you start it

What it does

The task

Open Pipedrive and list the deals marked lost from start date to end date. For each deal, read the lost reason, the notes and the last 5 e-mails in Gmail. Write the real reason in a few words, the competitor when one is named, and the price gap when it is known. Put the deals in a new Google Sheet. Then write a summary of 10 lines or fewer: the top reasons with counts and amounts, and 3 changes that could win more deals.

  • It works in Pipedrive, Gmail and Google Sheets, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • It runs once, when you start it.

What you give it

BlankWhat to giveExample
start dateThe first day of the period2026-07-01
end dateThe last day of the period2026-09-30

What you get back

An example run with the example values above. Your run uses your own data.

Lost deals, 1 July to 30 September 2026: 24 deals, 418,000 USD

Top reasons:

  • Price above budget: 8 deals, 151,000 USD (gap of 15% to 30%)
  • Picked Routeway: 6 deals, 122,000 USD (they have a Shopify app)
  • No decision, project stopped: 5 deals, 78,000 USD
  • No SSO: 3 deals, 52,000 USD

The CRM reason was Other or empty on 9 deals.

Suggested changes:

1. A small plan under 500 USD each month

2. Build a Shopify app, or partner for one

3. Ask about budget in the first call

Run it in Cuiar

  1. 01

    Open it

    Click Use in Cuiar on this page. The side panel opens with the task in the composer.

  2. 02

    Fill in 2 blanks

    Type start date and end date. Tab moves to the next blank.

  3. 03

    Run it

    Run sends it to the agent. Follow each step in the panel, and stop it at any time.

From the terminal

cuiar exec "Open Pipedrive and list the deals marked lost from 2026-07-01 to 2026-09-30. For each deal, read the lost reason, the notes and the last 5 e-mails in Gmail. Write the real reason in a few words, the competitor when one is named, and the price gap when it is known. Put the deals in a new Google Sheet. Then write a summary of 10 lines or fewer: the top reasons with counts and amounts, and 3 changes that could win more deals."

Run it from your AI agent

Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call run_task yourself.

1. Add Cuiar to Claude Code

claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp

2. Ask your agent

Use the Cuiar tool run_task to run my "Find out why you lost deals last quarter" template with start date = 2026-07-01; end date = 2026-09-30.

Setup for other agents: AI agents.

The tool call

{
  "name": "run_task",
  "arguments": {
    "task": "Open Pipedrive and list the deals marked lost from 2026-07-01 to 2026-09-30. For each deal, read the lost reason, the notes and the last 5 e-mails in Gmail. Write the real reason in a few words, the competitor when one is named, and the price gap when it is known. Put the deals in a new Google Sheet. Then write a summary of 10 lines or fewer: the top reasons with counts and amounts, and 3 changes that could win more deals."
  }
}
All sales templates
  • SalesAsks first

    Follow up with leads from a trade show

    Each lead you met added to the CRM, with a personal follow-up e-mail based on your notes.

    You start it: When you start it
    • Google Sheets
    • HubSpot
    • Gmail
  • Sales

    Log your e-mails and meetings in the CRM

    Each sales e-mail and meeting of the day added as an activity to the right contact and deal.

    On a schedule: Every weekday at 18:00
    • Gmail
    • Google Calendar
    • Pipedrive
  • MarketingAsks first

    Build a press list and draft pitches

    Reporters who covered your topic recently, with their articles, and one pitch for each, sent after your OK.

    You start it: When you start it
    • Google News
    • Any news site
    • Gmail
    • +1 more: Google Sheets
  • MarketingAsks first

    Find best-of lists that leave out your product

    List articles that name your competitors and not you, with the site's contact and a pitch for your OK.

    You start it: When you start it
    • Any website
    • Gmail
    • Google Sheets
  • Finance

    Find card payments that have no receipt

    Each card payment matched to a receipt from your inbox or folder, with the missing ones listed first.

    You start it: When you start it
    • Any bank site
    • Gmail
    • Google Drive
    • +1 more: Google Sheets
  • Personal

    Make a list of my product warranties

    Each device and appliance you bought, with its warranty end date and a link to the receipt.

    You start it: When you start it
    • Gmail
    • Google Sheets
    • Any website