pipedrive-automation – skill Agent & Tự động hóa cho agent AI
Tự động hóa vận hành CRM Pipedrive gồm deal, liên hệ, tổ chức, hoạt động, ghi chú và quản lý pipeline qua Rube MCP (Composio). Luôn tìm công cụ trước để lấy schema hiện tại.
Cài skill pipedrive-automation bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/pipedrive-automation-3c4e9.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /pipedrive-automation – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/pipedrive-automation-3c4e9.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $pipedrive-automation – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/pipedrive-automation-3c4e9.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /pipedrive-automation – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/pipedrive-automation-3c4e9.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /pipedrive-automation – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Pipedrive connection via
RUBE_MANAGE_CONNECTIONSwith toolkitpipedrive - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Use an existing approved Rube connection; adding an endpoint alone does not authenticate Pipedrive. Use the supported host setup/authentication flow only within requested scope.
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
Historical tools, field types and pagination defaults below require current schema discovery. Verify the actual account, entity, visibility, currency and timezone before requested mutations; do not create contacts merely because an ambiguous name search returned no match. Limit retrieved personal data and notes, and reconcile unknown write outcomes before retrying.
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:
title: Deal title (required for creation)value: Monetary value of the dealcurrency: 3-letter ISO currency code (e.g., "USD")pipeline_id/stage_id: Numeric IDs for pipeline placementorg_id/person_id: Link to organization and contactstatus: "open", "won", or "lost"expected_close_date: Format YYYY-MM-DD
Pitfalls:
titleis the only required field forPIPEDRIVE_ADD_A_DEAL; all others are optional- Custom fields appear as long hash keys in responses; use dealFields endpoint to map them
PIPEDRIVE_UPDATE_A_DEALrequires the numericidof the deal- Setting
statusto "lost" requires also providinglost_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:
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:
name: Required for both person and organization creationemail: Array of objects withvalue,label,primaryfields for personsphone: Array of objects withvalue,label,primaryfields for personsorg_id: Link a person to an organizationvisible_to: 1 = owner only, 3 = entire companyterm: Search term for SEARCH_PERSONS / SEARCH_ORGANIZATIONS (minimum 2 characters)
Pitfalls:
PIPEDRIVE_ADD_AN_ORGANIZATIONmay auto-merge with an existing org; checkresponse.additional_data.didMerge- Email and phone fields are arrays of objects, not plain strings:
[{"value": "[email protected]", "label": "work", "primary": true}] PIPEDRIVE_SEARCH_PERSONSwildcards like*or@are NOT supported; usePIPEDRIVE_GET_ALL_PERSONSto list all- Deletion via
PIPEDRIVE_DELETE_A_PERSONorPIPEDRIVE_DELETE_AN_ORGANIZATIONis soft-delete with 30-day retention, then permanent
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:
subject: Activity title (required)type: Activity type key string, e.g., "call", "meeting", "task", "email" (required)due_date: Format YYYY-MM-DDdue_time: Format HH:MMduration: Format HH:MM (e.g., "00:30" for 30 minutes)deal_id/person_id/org_id: Link to related entitiesdone: 0 = not done, 1 = done
Pitfalls:
- Both
subjectandtypeare required forPIPEDRIVE_ADD_AN_ACTIVITY typemust match an existing ActivityTypes key_string in the accountdoneis an integer (0 or 1), not a boolean- Response includes
more_activities_scheduled_in_contextin additional_data
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:
content: Note body in HTML format (required)deal_id/person_id/org_id/lead_id/project_id: At least one entity link requiredpinned_to_deal_flag/pinned_to_person_flag: Filter pinned notes when listing
Pitfalls:
contentis required and supports HTML; plain text works but is sanitized server-side- At least one of
deal_id,person_id,org_id,lead_id, orproject_idmust be provided PIPEDRIVE_GET_ALL_NOTESreturns notes across all entities by default; filter with entity ID params
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:
id: Pipeline or stage ID (required for single-item endpoints)pipeline_id: Filter stages by pipelinetotals_convert_currency: 3-letter currency code or "default_currency" for converted totalsget_summary: Set to 1 for deal summary in pipeline responses
Pitfalls:
PIPEDRIVE_GET_ALL_PIPELINEStakes no parameters; returns all pipelinesPIPEDRIVE_GET_ALL_STAGESreturns stages for ALL pipelines unlesspipeline_idis specified- Deal counts in pipeline summaries use
per_stages_convertedonly whentotals_convert_currencyis set
Common Patterns
ID Resolution
Always resolve display names to numeric IDs before operations:
- Organization name -> org_id:
PIPEDRIVE_SEARCH_ORGANIZATIONSwithtermparam - Person name -> person_id:
PIPEDRIVE_SEARCH_PERSONSwithtermparam - Pipeline name -> pipeline_id:
PIPEDRIVE_GET_ALL_PIPELINESthen match by name - Stage name -> stage_id:
PIPEDRIVE_GET_ALL_STAGESwithpipeline_idthen match by name
Pagination
Pagination depends on API/tool version; follow the discovered cursor or offset contract. Historical offset-based examples:
- Use
start(offset) andlimit(page size)
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- pixeltable – Xây dựng ứng dụng Pixeltable trong app.py với bảng, cột tính toán, tìm kiếm embedding và…
- playwright-skill – Viết và chạy tự động hóa trình duyệt Playwright trong phạm vi giới hạn, kiểm tra…
- polis-protocol – Điều phối nhiều AI agent từ nhiều nhà cung cấp như một nhóm tự cải tiến: bộ định tuyến…
- polis-protocol-a-self-optimizing-city-of-agents – Polis Protocol: Thành phố agent tự tối ưu hóa
- ppl-personal-crm – Dùng ppl personal CRM qua MCP để chuẩn bị cho cuộc trò chuyện, nhớ lại thông tin về…
- product-decision-agent – Agent quyết định sản phẩm tiếng Trung. Dùng cho ưu tiên yêu cầu, Roadmap, tăng trưởng…
- progressive-estimation – Ước lượng công việc phát triển có AI hỗ trợ và kết hợp người với agent, dùng giả định…
- project-development – Skill này bao gồm các nguyên tắc xác định tác vụ phù hợp để LLM xử lý, thiết kế kiến…