Learn-skills.dev pipedrive-automation
Automate Pipedrive CRM operations including deals, contacts, organizations, activities, notes, and pipeline management via Rube MCP (Composio). Always search tools first for current schemas.
git clone https://github.com/NeverSight/learn-skills.dev
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/aaaaqwq/agi-super-skills/pipedrive-automation" ~/.claude/skills/neversight-learn-skills-dev-pipedrive-automation && rm -rf "$T"
data/skills-md/aaaaqwq/agi-super-skills/pipedrive-automation/SKILL.mdPipedrive Automation via Rube MCP
Automate Pipedrive CRM workflows including deal management, contact and organization operations, activity scheduling, notes, and pipeline/stage queries through Composio's Pipedrive toolkit.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Pipedrive connection via
with toolkitRUBE_MANAGE_CONNECTIONSpipedrive - Always call
first to get current tool schemasRUBE_SEARCH_TOOLS
Setup
Get Rube MCP: Add
https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
respondsRUBE_SEARCH_TOOLS - Call
with toolkitRUBE_MANAGE_CONNECTIONSpipedrive - If connection is not ACTIVE, follow the returned auth link to complete Pipedrive OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Create and Manage Deals
When to use: User wants to create a new deal, update an existing deal, or review deal details in the sales pipeline.
Tool sequence:
- Find existing org to link to the deal [Optional]PIPEDRIVE_SEARCH_ORGANIZATIONS
- Create organization if none found [Optional]PIPEDRIVE_ADD_AN_ORGANIZATION
- Find existing contact to link [Optional]PIPEDRIVE_SEARCH_PERSONS
- Create contact if none found [Optional]PIPEDRIVE_ADD_A_PERSON
- Resolve pipeline ID [Prerequisite]PIPEDRIVE_GET_ALL_PIPELINES
- Resolve stage ID within the pipeline [Prerequisite]PIPEDRIVE_GET_ALL_STAGES
- Create the deal with title, value, org_id, person_id, stage_id [Required]PIPEDRIVE_ADD_A_DEAL
- Modify deal properties after creation [Optional]PIPEDRIVE_UPDATE_A_DEAL
- Attach line items/products [Optional]PIPEDRIVE_ADD_A_PRODUCT_TO_A_DEAL
Key parameters:
: Deal title (required for creation)title
: Monetary value of the dealvalue
: 3-letter ISO currency code (e.g., "USD")currency
/pipeline_id
: Numeric IDs for pipeline placementstage_id
/org_id
: Link to organization and contactperson_id
: "open", "won", or "lost"status
: Format YYYY-MM-DDexpected_close_date
Pitfalls:
is the only required field fortitle
; all others are optionalPIPEDRIVE_ADD_A_DEAL- Custom fields appear as long hash keys in responses; use dealFields endpoint to map them
requires the numericPIPEDRIVE_UPDATE_A_DEAL
of the dealid- Setting
to "lost" requires also providingstatuslost_reason
2. Manage Contacts (Persons and Organizations)
When to use: User wants to create, update, search, or list contacts and companies in Pipedrive.
Tool sequence:
- Search for existing person by name, email, or phone [Prerequisite]PIPEDRIVE_SEARCH_PERSONS
- Create new contact if not found [Required]PIPEDRIVE_ADD_A_PERSON
- Modify existing contact details [Optional]PIPEDRIVE_UPDATE_A_PERSON
- Retrieve full contact record [Optional]PIPEDRIVE_GET_DETAILS_OF_A_PERSON
- Search for existing organization [Prerequisite]PIPEDRIVE_SEARCH_ORGANIZATIONS
- Create new organization if not found [Required]PIPEDRIVE_ADD_AN_ORGANIZATION
- Modify organization properties [Optional]PIPEDRIVE_UPDATE_AN_ORGANIZATION
- Retrieve full org record [Optional]PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION
Key parameters:
: Required for both person and organization creationname
: Array of objects withemail
,value
,label
fields for personsprimary
: Array of objects withphone
,value
,label
fields for personsprimary
: Link a person to an organizationorg_id
: 1 = owner only, 3 = entire companyvisible_to
: Search term for SEARCH_PERSONS / SEARCH_ORGANIZATIONS (minimum 2 characters)term
Pitfalls:
may auto-merge with an existing org; checkPIPEDRIVE_ADD_AN_ORGANIZATIONresponse.additional_data.didMerge- Email and phone fields are arrays of objects, not plain strings:
[{"value": "test@example.com", "label": "work", "primary": true}]
wildcards likePIPEDRIVE_SEARCH_PERSONS
or*
are NOT supported; use@
to list allPIPEDRIVE_GET_ALL_PERSONS- Deletion via
orPIPEDRIVE_DELETE_A_PERSON
is soft-delete with 30-day retention, then permanentPIPEDRIVE_DELETE_AN_ORGANIZATION
3. Schedule and Track Activities
When to use: User wants to create calls, meetings, tasks, or other activities linked to deals, contacts, or organizations.
Tool sequence:
orPIPEDRIVE_SEARCH_PERSONS
- Resolve linked entity IDs [Prerequisite]PIPEDRIVE_GET_DETAILS_OF_A_DEAL
- Create the activity with subject, type, due date [Required]PIPEDRIVE_ADD_AN_ACTIVITY
- Modify activity details or mark as done [Optional]PIPEDRIVE_UPDATE_AN_ACTIVITY
- Retrieve activity record [Optional]PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY
- List user's activities [Optional]PIPEDRIVE_GET_ALL_ACTIVITIES_ASSIGNED_TO_A_PARTICULAR_USER
Key parameters:
: Activity title (required)subject
: Activity type key string, e.g., "call", "meeting", "task", "email" (required)type
: Format YYYY-MM-DDdue_date
: Format HH:MMdue_time
: Format HH:MM (e.g., "00:30" for 30 minutes)duration
/deal_id
/person_id
: Link to related entitiesorg_id
: 0 = not done, 1 = donedone
Pitfalls:
- Both
andsubject
are required fortypePIPEDRIVE_ADD_AN_ACTIVITY
must match an existing ActivityTypes key_string in the accounttype
is an integer (0 or 1), not a booleandone- Response includes
in additional_datamore_activities_scheduled_in_context
4. Add and Manage Notes
When to use: User wants to attach notes to deals, persons, organizations, leads, or projects.
Tool sequence:
orPIPEDRIVE_SEARCH_PERSONS
- Resolve entity ID [Prerequisite]PIPEDRIVE_GET_DETAILS_OF_A_DEAL
- Create note with HTML content linked to an entity [Required]PIPEDRIVE_ADD_A_NOTE
- Modify note content [Optional]PIPEDRIVE_UPDATE_A_NOTE
- List notes filtered by entity [Optional]PIPEDRIVE_GET_ALL_NOTES
- Retrieve comments on a note [Optional]PIPEDRIVE_GET_ALL_COMMENTS_FOR_A_NOTE
Key parameters:
: Note body in HTML format (required)content
/deal_id
/person_id
/org_id
/lead_id
: At least one entity link requiredproject_id
/pinned_to_deal_flag
: Filter pinned notes when listingpinned_to_person_flag
Pitfalls:
is required and supports HTML; plain text works but is sanitized server-sidecontent- At least one of
,deal_id
,person_id
,org_id
, orlead_id
must be providedproject_id
returns notes across all entities by default; filter with entity ID paramsPIPEDRIVE_GET_ALL_NOTES
5. Query Pipelines and Stages
When to use: User wants to view sales pipelines, stages, or deals within a pipeline/stage.
Tool sequence:
- List all pipelines and their IDs [Required]PIPEDRIVE_GET_ALL_PIPELINES
- Get details and deal summary for a specific pipeline [Optional]PIPEDRIVE_GET_ONE_PIPELINE
- List all stages, optionally filtered by pipeline [Required]PIPEDRIVE_GET_ALL_STAGES
- Get details for a specific stage [Optional]PIPEDRIVE_GET_ONE_STAGE
- List all deals across stages in a pipeline [Optional]PIPEDRIVE_GET_DEALS_IN_A_PIPELINE
- List deals in a specific stage [Optional]PIPEDRIVE_GET_DEALS_IN_A_STAGE
Key parameters:
: Pipeline or stage ID (required for single-item endpoints)id
: Filter stages by pipelinepipeline_id
: 3-letter currency code or "default_currency" for converted totalstotals_convert_currency
: Set to 1 for deal summary in pipeline responsesget_summary
Pitfalls:
takes no parameters; returns all pipelinesPIPEDRIVE_GET_ALL_PIPELINES
returns stages for ALL pipelines unlessPIPEDRIVE_GET_ALL_STAGES
is specifiedpipeline_id- Deal counts in pipeline summaries use
only whenper_stages_converted
is settotals_convert_currency
Common Patterns
ID Resolution
Always resolve display names to numeric IDs before operations:
- Organization name -> org_id:
withPIPEDRIVE_SEARCH_ORGANIZATIONS
paramterm - Person name -> person_id:
withPIPEDRIVE_SEARCH_PERSONS
paramterm - Pipeline name -> pipeline_id:
then match by namePIPEDRIVE_GET_ALL_PIPELINES - Stage name -> stage_id:
withPIPEDRIVE_GET_ALL_STAGES
then match by namepipeline_id
Pagination
Most list endpoints use offset-based pagination:
- Use
(offset) andstart
(page size) parameterslimit - Check
to know if more pages existadditional_data.pagination.more_items_in_collection - Use
as theadditional_data.pagination.next_start
value for the next pagestart - Default limit is ~500 for some endpoints; set explicitly for predictable paging
Known Pitfalls
ID Formats
- All entity IDs (deal, person, org, activity, pipeline, stage) are numeric integers
- Lead IDs are UUID strings, not integers
- Custom field keys are long alphanumeric hashes (e.g., "a1b2c3d4e5f6...")
Rate Limits
- Pipedrive enforces per-company API rate limits; bulk operations should be paced
andPIPEDRIVE_GET_ALL_PERSONS
can return large datasets; always paginatePIPEDRIVE_GET_ALL_ORGANIZATIONS
Parameter Quirks
- Email and phone on persons are arrays of objects, not plain strings
is numeric: 1 = owner only, 3 = entire company, 5 = specific groupsvisible_to
on activities is integer 0/1, not boolean true/falsedone- Organization creation may auto-merge duplicates silently; check
in responsedidMerge
requires minimum 2 characters and does not support wildcardsPIPEDRIVE_SEARCH_PERSONS
Response Structure
- Custom fields appear as hash keys in responses; map them via the respective Fields endpoints
- Responses often nest data under
in wrapped executionsresponse.data.data - Search results are under
, not top-levelresponse.data.items
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| Create deal | | , , , |
| Update deal | | , , , |
| Get deal details | | |
| Search persons | | , |
| Add person | | , , , |
| Update person | | , , |
| Get person details | | |
| List all persons | | , , |
| Search organizations | | , |
| Add organization | | , |
| Update organization | | , , |
| Get org details | | |
| Add activity | | , , , |
| Update activity | | , , |
| Get activity details | | |
| List user activities | | , , |
| Add note | | , or |
| List notes | | , , , |
| List pipelines | | (none) |
| Get pipeline details | | |
| List stages | | |
| Deals in pipeline | | , |
| Deals in stage | | , , |
| Add product to deal | | , , |