/
/
Open Capsule CRM deals once, at the right stage
For sales reps who want new deals in Capsule CRM without duplicates, at the right milestone and owner, by asking their AI assistant.
On this page
Connector
Connect Capsule CRM, pick your AI tool and paste the prompt.
The problem
Duplicate deals inflate the pipeline
Opening a deal in Capsule CRM means finding the party, choosing the milestone and owner, and checking nobody already opened the same opportunity. A duplicate inflates the pipeline and splits the history across two records.
Without PopdockAI
- Search for the right party
- Check their open deals for a similar one
- Pick the starting milestone and owner
- Create a duplicate when the search misses it
With PopdockAI
- The party is found, asking if several match
- Open deals are checked for a similar name
- The milestone and owner are set for you
- You confirm, then the deal is read back with its id
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Create the opportunity `{opportunity-name}` for `{party-name}`, worth `{value}` (optional), starting at milestone `{milestone-name}` (default: the first open milestone in the pipeline).
**Step 1: Resolve the party**
Call `capsule-crm-get-party` with name = {party-name}; if nothing matches, retry with name.contains. If more than one matches, list them and stop and ask. Keep the party-id and owner-name.
**Step 2: Check for an existing deal**
Call `capsule-crm-get-opportunity` with party-name.contains = the party's name. If any open deal (no closed-on-date) has a similar name, show it and ask whether a new one is really needed.
**Step 3: Choose the milestone**
* If {milestone-name} is given, call `capsule-crm-get-milestone` with name = {milestone-name}. It must not be a complete milestone.
* Otherwise call `capsule-crm-get-milestone` with complete = false and pick the one with the lowest probability.
Keep the milestone-id.
**Step 4: Choose the owner**
Call `capsule-crm-get-user` with name = the party's owner-name and keep the user-id. If the party has no owner or it does not resolve, create the deal without an owner and say so.
**Step 5: Confirm**
Show: opportunity name, party, milestone, value as a whole number, owner. Only include an expected close date, probability or tags if the user supplied them. Wait for an explicit yes.
**Step 6: Write**
Call `capsule-crm-add-opportunity` once, with name, party-id, milestone-id, value when given, and owner-id when found.
**Step 7: Verify**
Call `capsule-crm-get-opportunity` with name.contains = {opportunity-name} and party-name.contains = the party's name, and report the stored opportunity-id, milestone and value.
**Rules & Guidelines:**
* The only write tool this prompt may call is `capsule-crm-add-opportunity`, once, after confirmation.
* Do not create the party if it is missing; tell the user to run the add-contact prompt first. Do not call `capsule-crm-add-party`.
* Do not call `capsule-crm-update-opportunity` on the existing deal found in Step 2.
**Validation:**
* If {value} is not a number, ask for it again. Strip currency symbols and thousands separators before sending.Who it's for
One answer, three teams that use it
Account executives
Log a new deal in one message
Open an opportunity straight after a call, with milestone and owner set.
Create a Capsule CRM opportunity for Contoso called Contoso analytics rollout, worth 18,000.
Sales development reps
Hand over qualified deals cleanly
Create the deal at the first stage with the party's owner, ready for the account executive.
Open a deal for Northwind Traders called Northwind warehouse pilot in Capsule CRM.
Sales operations
Keep the pipeline free of duplicates
Similar open deals are flagged before a new one is created.
Create Fabrikam support renewal in Capsule CRM at Proposal, worth 9,500, unless a similar deal is open.
How it works
What PopdockAI does when you ask
You give the deal name and party, and your AI assistant checks Capsule CRM before creating anything. Nothing is created until you have seen the deal and said yes.
01
Ask
You give the deal name and party, and optionally value and milestone.
02
Check
It finds the party and looks for a similar open deal.
03
Confirm
You see the deal, milestone and owner and say yes.
04
Create
It creates the deal and reads it back with its id.
What PopdockAI provides
The tools behind the answer
Ready made tools for Capsule CRM and one secure connection to your AI tool. No code, no exports.
capsule-crm-get-party
capsule-crm-get-opportunity
capsule-crm-get-milestone
capsule-crm-get-user
capsule-crm-add-opportunity
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Every deal entered once, at the right stage
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
