Connectors

/

Capsule CRM

/

Create a Capsule CRM opportunity
Write

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.

Try PopdockAI free
Get a live demo
Create a Capsule CRM opportunity
Create a Capsule CRM opportunity for Fabrikam called Fabrikam fleet tracking, worth 24,000.
Fabrikam has no open deal with a similar name, so this will be new. - Opportunity: Fabrikam fleet tracking - Party: Fabrikam Inc - Milestone: New, the first open stage - Value: 24000, owner Sam Patel Shall I create it?
Capsule CRM
Sample figures. Your results come from your own account.
capsule-crm-get-party
capsule-crm-get-opportunity
capsule-crm-get-milestone
capsule-crm-get-user
capsule-crm-add-opportunity

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Capsule CRM

Capsule CRM
Run it on your own Capsule CRM data.

Connect Capsule CRM, pick your AI tool and paste the prompt.

Try PopdockAI free

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.

Prompt
**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.

Your AI tool

02

Check

It finds the party and looks for a similar open deal.

capsule-crm-get-party
capsule-crm-get-opportunity
capsule-crm-get-milestone
capsule-crm-get-user

03

Confirm

You see the deal, milestone and owner and say yes.

No items found.

04

Create

It creates the deal and reads it back with its id.

Your AI tool

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.

get-data

capsule-crm-get-party

Returns people and organizations from Capsule CRM with email, phone, job title, organization, location, owner and last contacted date. Filter by name, email, type, organization, owner, city, state or country.
get-data

capsule-crm-get-opportunity

Returns Capsule CRM sales opportunities with milestone, value, currency, probability, expected close date, owner and lost reason. Filter by name, party, owner, milestone, value range, expected close date or closed date.
get-data

capsule-crm-get-milestone

Returns the Capsule CRM sales pipeline milestones with probability, days until stale and whether each is a closing milestone. Filter by name or closing flag.
get-data

capsule-crm-get-user

Returns Capsule CRM users with username, email, locale, time zone and currency. Filter by name or username. Use it to find the user id an assignment needs.
run-action

capsule-crm-add-opportunity

Creates a Capsule CRM sales opportunity for a person or organization at a pipeline milestone, with value, probability, expected close date, owner and tags.
Read only.Nothing in Capsule CRM Changes

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.

How Popdock AI secures your data

The outcome

Every deal entered once, at the right stage

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

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.

Try PopdockAI Free
See Documentation