Pipedrive automation

From davepoon/buildwithclaude · View interactive version

Pipedrive automation is an AI agent skill from the GitHub repository davepoon/buildwithclaude. Automate Pipedrive CRM operations including deals, contacts, organizations, activities, notes, and pipeline management via Rube MCP (Composio). Always search tools first for current schemas.

How to use this skill

Skill file

Pipedrive 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.

Toolkit docs: composio.dev/toolkits/pipedrive

Prerequisites

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.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit pipedrive
  3. If connection is not ACTIVE, follow the returned auth link to complete Pipedrive OAuth
  4. 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:

  1. PIPEDRIVE_SEARCH_ORGANIZATIONS - Find existing org to link to the deal [Optional]
  2. PIPEDRIVE_ADD_AN_ORGANIZATION - Create organization if none found [Optional]
  3. PIPEDRIVE_SEARCH_PERSONS - Find existing contact to link [Optional]
  4. PIPEDRIVE_ADD_A_PERSON - Create contact if none found [Optional]
  5. PIPEDRIVE_GET_ALL_PIPELINES - Resolve pipeline ID [Prerequisite]
  6. PIPEDRIVE_GET_ALL_STAGES - Resolve stage ID within the pipeline [Prerequisite]
  7. PIPEDRIVE_ADD_A_DEAL - Create the deal with title, value, org_id, person_id, stage_id [Required]
  8. PIPEDRIVE_UPDATE_A_DEAL - Modify deal properties after creation [Optional]
  9. PIPEDRIVE_ADD_A_PRODUCT_TO_A_DEAL - Attach line items/products [Optional]

Key parameters:

Pitfalls:

2. Manage Contacts (Persons and Organizations)

When to use: User wants to create, update, search, or list contacts and companies in Pipedrive.

Tool sequence:

  1. PIPEDRIVE_SEARCH_PERSONS - Search for existing person by name, email, or phone [Prerequisite]
  2. PIPEDRIVE_ADD_A_PERSON - Create new contact if not found [Required]
  3. PIPEDRIVE_UPDATE_A_PERSON - Modify existing contact details [Optional]
  4. PIPEDRIVE_GET_DETAILS_OF_A_PERSON - Retrieve full contact record [Optional]
  5. PIPEDRIVE_SEARCH_ORGANIZATIONS - Search for existing organization [Prerequisite]
  6. PIPEDRIVE_ADD_AN_ORGANIZATION - Create new organization if not found [Required]
  7. PIPEDRIVE_UPDATE_AN_ORGANIZATION - Modify organization properties [Optional]
  8. PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION - Retrieve full org record [Optional]

Key parameters:

Pitfalls:

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:

  1. PIPEDRIVE_SEARCH_PERSONS or PIPEDRIVE_GET_DETAILS_OF_A_DEAL - Resolve linked entity IDs [Prerequisite]
  2. PIPEDRIVE_ADD_AN_ACTIVITY - Create the activity with subject, type, due date [Required]
  3. PIPEDRIVE_UPDATE_AN_ACTIVITY - Modify activity details or mark as done [Optional]
  4. PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY - Retrieve activity record [Optional]
  5. PIPEDRIVE_GET_ALL_ACTIVITIES_ASSIGNED_TO_A_PARTICULAR_USER - List user's activities [Optional]

Key parameters:

Pitfalls:

4. Add and Manage Notes

When to use: User wants to attach notes to deals, persons, organizations, leads, or projects.

Tool sequence:

  1. PIPEDRIVE_SEARCH_PERSONS or PIPEDRIVE_GET_DETAILS_OF_A_DEAL - Resolve entity ID [Prerequisite]
  2. PIPEDRIVE_ADD_A_NOTE - Create note with HTML content linked to an entity [Required]
  3. PIPEDRIVE_UPDATE_A_NOTE - Modify note content [Optional]
  4. PIPEDRIVE_GET_ALL_NOTES - List notes filtered by entity [Optional]
  5. PIPEDRIVE_GET_ALL_COMMENTS_FOR_A_NOTE - Retrieve comments on a note [Optional]

Key parameters:

Pitfalls:

5. Query Pipelines and Stages

When to use: User wants to view sales pipelines, stages, or deals within a pipeline/stage.

Tool sequence:

  1. PIPEDRIVE_GET_ALL_PIPELINES - List all pipelines and their IDs [Required]
  2. PIPEDRIVE_GET_ONE_PIPELINE - Get details and deal summary for a specific pipeline [Optional]
  3. PIPEDRIVE_GET_ALL_STAGES - List all stages, optionally filtered by pipeline [Required]
  4. PIPEDRIVE_GET_ONE_STAGE - Get details for a specific stage [Optional]
  5. PIPEDRIVE_GET_DEALS_IN_A_PIPELINE - List all deals across stages in a pipeline [Optional]
  6. PIPEDRIVE_GET_DEALS_IN_A_STAGE - List deals in a specific stage [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Always resolve display names to numeric IDs before operations:

Pagination

Most list endpoints use offset-based pagination:

Known Pitfalls

ID Formats

Rate Limits

Parameter Quirks

Response Structure

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| Create deal | PIPEDRIVE_ADD_A_DEAL | title, value, org_id, stage_id |

| Update deal | PIPEDRIVE_UPDATE_A_DEAL | id, status, value, stage_id |

| Get deal details | PIPEDRIVE_GET_DETAILS_OF_A_DEAL | id |

| Search persons | PIPEDRIVE_SEARCH_PERSONS | term, fields |

| Add person | PIPEDRIVE_ADD_A_PERSON | name, email, phone, org_id |

| Update person | PIPEDRIVE_UPDATE_A_PERSON | id, name, email |

| Get person details | PIPEDRIVE_GET_DETAILS_OF_A_PERSON | id |

| List all persons | PIPEDRIVE_GET_ALL_PERSONS | start, limit, filter_id |

| Search organizations | PIPEDRIVE_SEARCH_ORGANIZATIONS | term, fields |

| Add organization | PIPEDRIVE_ADD_AN_ORGANIZATION | name, visible_to |

| Update organization | PIPEDRIVE_UPDATE_AN_ORGANIZATION | id, name, address |

| Get org details | PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION | id |

| Add activity | PIPEDRIVE_ADD_AN_ACTIVITY | subject, type, due_date, deal_id |

| Update activity | PIPEDRIVE_UPDATE_AN_ACTIVITY | id, done, due_date |

| Get activity details | PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY | id |

| List user activities | PIPEDRIVE_GET_ALL_ACTIVITIES_ASSIGNED_TO_A_PARTICULAR_USER | user_id, start, limit |

| Add note | PIPEDRIVE_ADD_A_NOTE | content, deal_id or person_id |

| List notes | PIPEDRIVE_GET_ALL_NOTES | deal_id, person_id, start, limit |

| List pipelines | PIPEDRIVE_GET_ALL_PIPELINES | (none) |

| Get pipeline details | PIPEDRIVE_GET_ONE_PIPELINE | id |

| List stages | PIPEDRIVE_GET_ALL_STAGES | pipeline_id |

| Deals in pipeline | PIPEDRIVE_GET_DEALS_IN_A_PIPELINE | id, stage_id |

| Deals in stage | PIPEDRIVE_GET_DEALS_IN_A_STAGE | id, start, limit |

| Add product to deal | PIPEDRIVE_ADD_A_PRODUCT_TO_A_DEAL | id, product_id, item_price |


Powered by Composio

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.