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_CONNECTIONS with toolkit pipedrive
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
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
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit pipedrive
- 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:
PIPEDRIVE_SEARCH_ORGANIZATIONS - Find existing org to link to the deal [Optional]
PIPEDRIVE_ADD_AN_ORGANIZATION - Create organization if none found [Optional]
PIPEDRIVE_SEARCH_PERSONS - Find existing contact to link [Optional]
PIPEDRIVE_ADD_A_PERSON - Create contact if none found [Optional]
PIPEDRIVE_GET_ALL_PIPELINES - Resolve pipeline ID [Prerequisite]
PIPEDRIVE_GET_ALL_STAGES - Resolve stage ID within the pipeline [Prerequisite]
PIPEDRIVE_ADD_A_DEAL - Create the deal with title, value, org_id, person_id, stage_id [Required]
PIPEDRIVE_UPDATE_A_DEAL - Modify deal properties after creation [Optional]
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 deal
currency: 3-letter ISO currency code (e.g., "USD")
pipeline_id / stage_id: Numeric IDs for pipeline placement
org_id / person_id: Link to organization and contact
status: "open", "won", or "lost"
expected_close_date: Format YYYY-MM-DD
Pitfalls:
title is the only required field for PIPEDRIVE_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_DEAL requires the numeric id of the deal
- Setting
status to "lost" requires also providing lost_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:
PIPEDRIVE_SEARCH_PERSONS - Search for existing person by name, email, or phone [Prerequisite]
PIPEDRIVE_ADD_A_PERSON - Create new contact if not found [Required]
PIPEDRIVE_UPDATE_A_PERSON - Modify existing contact details [Optional]
PIPEDRIVE_GET_DETAILS_OF_A_PERSON - Retrieve full contact record [Optional]
PIPEDRIVE_SEARCH_ORGANIZATIONS - Search for existing organization [Prerequisite]
PIPEDRIVE_ADD_AN_ORGANIZATION - Create new organization if not found [Required]
PIPEDRIVE_UPDATE_AN_ORGANIZATION - Modify organization properties [Optional]
PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION - Retrieve full org record [Optional]
Key parameters:
name: Required for both person and organization creation
email: Array of objects with value, label, primary fields for persons
phone: Array of objects with value, label, primary fields for persons
org_id: Link a person to an organization
visible_to: 1 = owner only, 3 = entire company
term: Search term for SEARCH_PERSONS / SEARCH_ORGANIZATIONS (minimum 2 characters)
Pitfalls:
PIPEDRIVE_ADD_AN_ORGANIZATION may auto-merge with an existing org; check response.additional_data.didMerge
- Email and phone fields are arrays of objects, not plain strings:
[{"value": "test@example.com", "label": "work", "primary": true}]
PIPEDRIVE_SEARCH_PERSONS wildcards like * or @ are NOT supported; use PIPEDRIVE_GET_ALL_PERSONS to list all
- Deletion via
PIPEDRIVE_DELETE_A_PERSON or PIPEDRIVE_DELETE_AN_ORGANIZATION is 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:
PIPEDRIVE_SEARCH_PERSONS or PIPEDRIVE_GET_DETAILS_OF_A_DEAL - Resolve linked entity IDs [Prerequisite]
PIPEDRIVE_ADD_AN_ACTIVITY - Create the activity with subject, type, due date [Required]
PIPEDRIVE_UPDATE_AN_ACTIVITY - Modify activity details or mark as done [Optional]
PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY - Retrieve activity record [Optional]
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-DD
due_time: Format HH:MM
duration: Format HH:MM (e.g., "00:30" for 30 minutes)
deal_id / person_id / org_id: Link to related entities
done: 0 = not done, 1 = done
Pitfalls:
- Both
subject and type are required for PIPEDRIVE_ADD_AN_ACTIVITY
type must match an existing ActivityTypes key_string in the account
done is an integer (0 or 1), not a boolean
- Response includes
more_activities_scheduled_in_context in additional_data
4. Add and Manage Notes
When to use: User wants to attach notes to deals, persons, organizations, leads, or projects.
Tool sequence:
PIPEDRIVE_SEARCH_PERSONS or PIPEDRIVE_GET_DETAILS_OF_A_DEAL - Resolve entity ID [Prerequisite]
PIPEDRIVE_ADD_A_NOTE - Create note with HTML content linked to an entity [Required]
PIPEDRIVE_UPDATE_A_NOTE - Modify note content [Optional]
PIPEDRIVE_GET_ALL_NOTES - List notes filtered by entity [Optional]
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 required
pinned_to_deal_flag / pinned_to_person_flag: Filter pinned notes when listing
Pitfalls:
content is required and supports HTML; plain text works but is sanitized server-side
- At least one of
deal_id, person_id, org_id, lead_id, or project_id must be provided
PIPEDRIVE_GET_ALL_NOTES returns 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:
PIPEDRIVE_GET_ALL_PIPELINES - List all pipelines and their IDs [Required]
PIPEDRIVE_GET_ONE_PIPELINE - Get details and deal summary for a specific pipeline [Optional]
PIPEDRIVE_GET_ALL_STAGES - List all stages, optionally filtered by pipeline [Required]
PIPEDRIVE_GET_ONE_STAGE - Get details for a specific stage [Optional]
PIPEDRIVE_GET_DEALS_IN_A_PIPELINE - List all deals across stages in a pipeline [Optional]
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 pipeline
totals_convert_currency: 3-letter currency code or "default_currency" for converted totals
get_summary: Set to 1 for deal summary in pipeline responses
Pitfalls:
PIPEDRIVE_GET_ALL_PIPELINES takes no parameters; returns all pipelines
PIPEDRIVE_GET_ALL_STAGES returns stages for ALL pipelines unless pipeline_id is specified
- Deal counts in pipeline summaries use
per_stages_converted only when totals_convert_currency is set
Common Patterns
ID Resolution
Always resolve display names to numeric IDs before operations:
- Organization name -> org_id:
PIPEDRIVE_SEARCH_ORGANIZATIONS with term param
- Person name -> person_id:
PIPEDRIVE_SEARCH_PERSONS with term param
- Pipeline name -> pipeline_id:
PIPEDRIVE_GET_ALL_PIPELINES then match by name
- Stage name -> stage_id:
PIPEDRIVE_GET_ALL_STAGES with pipeline_id then match by name
Pagination
Most list endpoints use offset-based pagination:
- Use
start (offset) and limit (page size) parameters
- Check
additional_data.pagination.more_items_in_collection to know if more pages exist
- Use
additional_data.pagination.next_start as the start value for the next page
- 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
PIPEDRIVE_GET_ALL_PERSONS and PIPEDRIVE_GET_ALL_ORGANIZATIONS can return large datasets; always paginate
Parameter Quirks
- Email and phone on persons are arrays of objects, not plain strings
visible_to is numeric: 1 = owner only, 3 = entire company, 5 = specific groups
done on activities is integer 0/1, not boolean true/false
- Organization creation may auto-merge duplicates silently; check
didMerge in response
PIPEDRIVE_SEARCH_PERSONS requires minimum 2 characters and does not support wildcards
Response Structure
- Custom fields appear as hash keys in responses; map them via the respective Fields endpoints
- Responses often nest data under
response.data.data in wrapped executions
- Search results are under
response.data.items, not top-level
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 |
1---2name: pipedrive-automation3description: Automate Pipedrive CRM operations including deals, contacts, organizations, activities, notes, and pipeline management via Rube MCP (Composio). Always search tools first for current schemas.4---5
6# Pipedrive Automation via Rube MCP
7
8Automate Pipedrive CRM workflows including deal management, contact and organization operations, activity scheduling, notes, and pipeline/stage queries through Composio's Pipedrive toolkit.
9
10## Prerequisites
11
12- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
13- Active Pipedrive connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `pipedrive`
14- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
15
16## Setup
17
18**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.
19
20
211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `pipedrive`
233. If connection is not ACTIVE, follow the returned auth link to complete Pipedrive OAuth
244. Confirm connection status shows ACTIVE before running any workflows
25
26## Core Workflows
27
28### 1. Create and Manage Deals
29
30**When to use**: User wants to create a new deal, update an existing deal, or review deal details in the sales pipeline.
31
32**Tool sequence**:
331. `PIPEDRIVE_SEARCH_ORGANIZATIONS` - Find existing org to link to the deal [Optional]
342. `PIPEDRIVE_ADD_AN_ORGANIZATION` - Create organization if none found [Optional]
353. `PIPEDRIVE_SEARCH_PERSONS` - Find existing contact to link [Optional]
364. `PIPEDRIVE_ADD_A_PERSON` - Create contact if none found [Optional]
375. `PIPEDRIVE_GET_ALL_PIPELINES` - Resolve pipeline ID [Prerequisite]
386. `PIPEDRIVE_GET_ALL_STAGES` - Resolve stage ID within the pipeline [Prerequisite]
397. `PIPEDRIVE_ADD_A_DEAL` - Create the deal with title, value, org_id, person_id, stage_id [Required]
408. `PIPEDRIVE_UPDATE_A_DEAL` - Modify deal properties after creation [Optional]
419. `PIPEDRIVE_ADD_A_PRODUCT_TO_A_DEAL` - Attach line items/products [Optional]
42
43**Key parameters**:
44- `title`: Deal title (required for creation)
45- `value`: Monetary value of the deal
46- `currency`: 3-letter ISO currency code (e.g., "USD")
47- `pipeline_id` / `stage_id`: Numeric IDs for pipeline placement
48- `org_id` / `person_id`: Link to organization and contact
49- `status`: "open", "won", or "lost"
50- `expected_close_date`: Format YYYY-MM-DD
51
52**Pitfalls**:
53- `title` is the only required field for `PIPEDRIVE_ADD_A_DEAL`; all others are optional
54- Custom fields appear as long hash keys in responses; use dealFields endpoint to map them
55- `PIPEDRIVE_UPDATE_A_DEAL` requires the numeric `id` of the deal
56- Setting `status` to "lost" requires also providing `lost_reason`
57
58### 2. Manage Contacts (Persons and Organizations)
59
60**When to use**: User wants to create, update, search, or list contacts and companies in Pipedrive.
61
62**Tool sequence**:
631. `PIPEDRIVE_SEARCH_PERSONS` - Search for existing person by name, email, or phone [Prerequisite]
642. `PIPEDRIVE_ADD_A_PERSON` - Create new contact if not found [Required]
653. `PIPEDRIVE_UPDATE_A_PERSON` - Modify existing contact details [Optional]
664. `PIPEDRIVE_GET_DETAILS_OF_A_PERSON` - Retrieve full contact record [Optional]
675. `PIPEDRIVE_SEARCH_ORGANIZATIONS` - Search for existing organization [Prerequisite]
686. `PIPEDRIVE_ADD_AN_ORGANIZATION` - Create new organization if not found [Required]
697. `PIPEDRIVE_UPDATE_AN_ORGANIZATION` - Modify organization properties [Optional]
708. `PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION` - Retrieve full org record [Optional]
71
72**Key parameters**:
73- `name`: Required for both person and organization creation
74- `email`: Array of objects with `value`, `label`, `primary` fields for persons
75- `phone`: Array of objects with `value`, `label`, `primary` fields for persons
76- `org_id`: Link a person to an organization
77- `visible_to`: 1 = owner only, 3 = entire company
78- `term`: Search term for SEARCH_PERSONS / SEARCH_ORGANIZATIONS (minimum 2 characters)
79
80**Pitfalls**:
81- `PIPEDRIVE_ADD_AN_ORGANIZATION` may auto-merge with an existing org; check `response.additional_data.didMerge`
82- Email and phone fields are arrays of objects, not plain strings: `[{"value": "test@example.com", "label": "work", "primary": true}]`
83- `PIPEDRIVE_SEARCH_PERSONS` wildcards like `*` or `@` are NOT supported; use `PIPEDRIVE_GET_ALL_PERSONS` to list all
84- Deletion via `PIPEDRIVE_DELETE_A_PERSON` or `PIPEDRIVE_DELETE_AN_ORGANIZATION` is soft-delete with 30-day retention, then permanent
85
86### 3. Schedule and Track Activities
87
88**When to use**: User wants to create calls, meetings, tasks, or other activities linked to deals, contacts, or organizations.
89
90**Tool sequence**:
911. `PIPEDRIVE_SEARCH_PERSONS` or `PIPEDRIVE_GET_DETAILS_OF_A_DEAL` - Resolve linked entity IDs [Prerequisite]
922. `PIPEDRIVE_ADD_AN_ACTIVITY` - Create the activity with subject, type, due date [Required]
933. `PIPEDRIVE_UPDATE_AN_ACTIVITY` - Modify activity details or mark as done [Optional]
944. `PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY` - Retrieve activity record [Optional]
955. `PIPEDRIVE_GET_ALL_ACTIVITIES_ASSIGNED_TO_A_PARTICULAR_USER` - List user's activities [Optional]
96
97**Key parameters**:
98- `subject`: Activity title (required)
99- `type`: Activity type key string, e.g., "call", "meeting", "task", "email" (required)
100- `due_date`: Format YYYY-MM-DD
101- `due_time`: Format HH:MM
102- `duration`: Format HH:MM (e.g., "00:30" for 30 minutes)
103- `deal_id` / `person_id` / `org_id`: Link to related entities
104- `done`: 0 = not done, 1 = done
105
106**Pitfalls**:
107- Both `subject` and `type` are required for `PIPEDRIVE_ADD_AN_ACTIVITY`
108- `type` must match an existing ActivityTypes key_string in the account
109- `done` is an integer (0 or 1), not a boolean
110- Response includes `more_activities_scheduled_in_context` in additional_data
111
112### 4. Add and Manage Notes
113
114**When to use**: User wants to attach notes to deals, persons, organizations, leads, or projects.
115
116**Tool sequence**:
1171. `PIPEDRIVE_SEARCH_PERSONS` or `PIPEDRIVE_GET_DETAILS_OF_A_DEAL` - Resolve entity ID [Prerequisite]
1182. `PIPEDRIVE_ADD_A_NOTE` - Create note with HTML content linked to an entity [Required]
1193. `PIPEDRIVE_UPDATE_A_NOTE` - Modify note content [Optional]
1204. `PIPEDRIVE_GET_ALL_NOTES` - List notes filtered by entity [Optional]
1215. `PIPEDRIVE_GET_ALL_COMMENTS_FOR_A_NOTE` - Retrieve comments on a note [Optional]
122
123**Key parameters**:
124- `content`: Note body in HTML format (required)
125- `deal_id` / `person_id` / `org_id` / `lead_id` / `project_id`: At least one entity link required
126- `pinned_to_deal_flag` / `pinned_to_person_flag`: Filter pinned notes when listing
127
128**Pitfalls**:
129- `content` is required and supports HTML; plain text works but is sanitized server-side
130- At least one of `deal_id`, `person_id`, `org_id`, `lead_id`, or `project_id` must be provided
131- `PIPEDRIVE_GET_ALL_NOTES` returns notes across all entities by default; filter with entity ID params
132
133### 5. Query Pipelines and Stages
134
135**When to use**: User wants to view sales pipelines, stages, or deals within a pipeline/stage.
136
137**Tool sequence**:
1381. `PIPEDRIVE_GET_ALL_PIPELINES` - List all pipelines and their IDs [Required]
1392. `PIPEDRIVE_GET_ONE_PIPELINE` - Get details and deal summary for a specific pipeline [Optional]
1403. `PIPEDRIVE_GET_ALL_STAGES` - List all stages, optionally filtered by pipeline [Required]
1414. `PIPEDRIVE_GET_ONE_STAGE` - Get details for a specific stage [Optional]
1425. `PIPEDRIVE_GET_DEALS_IN_A_PIPELINE` - List all deals across stages in a pipeline [Optional]
1436. `PIPEDRIVE_GET_DEALS_IN_A_STAGE` - List deals in a specific stage [Optional]
144
145**Key parameters**:
146- `id`: Pipeline or stage ID (required for single-item endpoints)
147- `pipeline_id`: Filter stages by pipeline
148- `totals_convert_currency`: 3-letter currency code or "default_currency" for converted totals
149- `get_summary`: Set to 1 for deal summary in pipeline responses
150
151**Pitfalls**:
152- `PIPEDRIVE_GET_ALL_PIPELINES` takes no parameters; returns all pipelines
153- `PIPEDRIVE_GET_ALL_STAGES` returns stages for ALL pipelines unless `pipeline_id` is specified
154- Deal counts in pipeline summaries use `per_stages_converted` only when `totals_convert_currency` is set
155
156## Common Patterns
157
158### ID Resolution
159Always resolve display names to numeric IDs before operations:
160- **Organization name -> org_id**: `PIPEDRIVE_SEARCH_ORGANIZATIONS` with `term` param
161- **Person name -> person_id**: `PIPEDRIVE_SEARCH_PERSONS` with `term` param
162- **Pipeline name -> pipeline_id**: `PIPEDRIVE_GET_ALL_PIPELINES` then match by name
163- **Stage name -> stage_id**: `PIPEDRIVE_GET_ALL_STAGES` with `pipeline_id` then match by name
164
165### Pagination
166Most list endpoints use offset-based pagination:
167- Use `start` (offset) and `limit` (page size) parameters
168- Check `additional_data.pagination.more_items_in_collection` to know if more pages exist
169- Use `additional_data.pagination.next_start` as the `start` value for the next page
170- Default limit is ~500 for some endpoints; set explicitly for predictable paging
171
172## Known Pitfalls
173
174### ID Formats
175- All entity IDs (deal, person, org, activity, pipeline, stage) are numeric integers
176- Lead IDs are UUID strings, not integers
177- Custom field keys are long alphanumeric hashes (e.g., "a1b2c3d4e5f6...")
178
179### Rate Limits
180- Pipedrive enforces per-company API rate limits; bulk operations should be paced
181- `PIPEDRIVE_GET_ALL_PERSONS` and `PIPEDRIVE_GET_ALL_ORGANIZATIONS` can return large datasets; always paginate
182
183### Parameter Quirks
184- Email and phone on persons are arrays of objects, not plain strings
185- `visible_to` is numeric: 1 = owner only, 3 = entire company, 5 = specific groups
186- `done` on activities is integer 0/1, not boolean true/false
187- Organization creation may auto-merge duplicates silently; check `didMerge` in response
188- `PIPEDRIVE_SEARCH_PERSONS` requires minimum 2 characters and does not support wildcards
189
190### Response Structure
191- Custom fields appear as hash keys in responses; map them via the respective Fields endpoints
192- Responses often nest data under `response.data.data` in wrapped executions
193- Search results are under `response.data.items`, not top-level
194
195## Quick Reference
196
197| Task | Tool Slug | Key Params |
198|------|-----------|------------|
199| Create deal | `PIPEDRIVE_ADD_A_DEAL` | `title`, `value`, `org_id`, `stage_id` |
200| Update deal | `PIPEDRIVE_UPDATE_A_DEAL` | `id`, `status`, `value`, `stage_id` |
201| Get deal details | `PIPEDRIVE_GET_DETAILS_OF_A_DEAL` | `id` |
202| Search persons | `PIPEDRIVE_SEARCH_PERSONS` | `term`, `fields` |
203| Add person | `PIPEDRIVE_ADD_A_PERSON` | `name`, `email`, `phone`, `org_id` |
204| Update person | `PIPEDRIVE_UPDATE_A_PERSON` | `id`, `name`, `email` |
205| Get person details | `PIPEDRIVE_GET_DETAILS_OF_A_PERSON` | `id` |
206| List all persons | `PIPEDRIVE_GET_ALL_PERSONS` | `start`, `limit`, `filter_id` |
207| Search organizations | `PIPEDRIVE_SEARCH_ORGANIZATIONS` | `term`, `fields` |
208| Add organization | `PIPEDRIVE_ADD_AN_ORGANIZATION` | `name`, `visible_to` |
209| Update organization | `PIPEDRIVE_UPDATE_AN_ORGANIZATION` | `id`, `name`, `address` |
210| Get org details | `PIPEDRIVE_GET_DETAILS_OF_AN_ORGANIZATION` | `id` |
211| Add activity | `PIPEDRIVE_ADD_AN_ACTIVITY` | `subject`, `type`, `due_date`, `deal_id` |
212| Update activity | `PIPEDRIVE_UPDATE_AN_ACTIVITY` | `id`, `done`, `due_date` |
213| Get activity details | `PIPEDRIVE_GET_DETAILS_OF_AN_ACTIVITY` | `id` |
214| List user activities | `PIPEDRIVE_GET_ALL_ACTIVITIES_ASSIGNED_TO_A_PARTICULAR_USER` | `user_id`, `start`, `limit` |
215| Add note | `PIPEDRIVE_ADD_A_NOTE` | `content`, `deal_id` or `person_id` |
216| List notes | `PIPEDRIVE_GET_ALL_NOTES` | `deal_id`, `person_id`, `start`, `limit` |
217| List pipelines | `PIPEDRIVE_GET_ALL_PIPELINES` | (none) |
218| Get pipeline details | `PIPEDRIVE_GET_ONE_PIPELINE` | `id` |
219| List stages | `PIPEDRIVE_GET_ALL_STAGES` | `pipeline_id` |
220| Deals in pipeline | `PIPEDRIVE_GET_DEALS_IN_A_PIPELINE` | `id`, `stage_id` |
221| Deals in stage | `PIPEDRIVE_GET_DEALS_IN_A_STAGE` | `id`, `start`, `limit` |
222| Add product to deal | `PIPEDRIVE_ADD_A_PRODUCT_TO_A_DEAL` | `id`, `product_id`, `item_price` |