filters_create
Create a new filter in Pipedrive to organize deals, organizations, people, products, or activities. Define conditions with operators to segment your CRM data.
Instructions
Create a new filter in Pipedrive.
Adds a new filter with conditions. Returns the filter ID upon success.
IMPORTANT LIMITATIONS:
Only ONE first-level condition group is supported (must be glued with 'AND')
Only TWO second-level condition groups are supported
First second-level group must be glued with 'AND'
Second second-level group must be glued with 'OR'
Maximum of 16 conditions per filter
Workflow tips:
Use filters/helpers to discover available field IDs and operators
Structure: { glue: "and", conditions: [{ glue: "and", conditions: [...] }, { glue: "or", conditions: [...] }] }
Common operators: =, !=, <, >, <=, >=, LIKE, IN, IS NULL, IS NOT NULL
Filter types: deals, org, people, products, activities
Example simple filter: { "name": "High value deals", "type": "deals", "conditions": { "glue": "and", "conditions": [ { "glue": "and", "conditions": [ { "object": "deal", "field_id": "value", "operator": ">", "value": 10000 } ] }, { "glue": "or", "conditions": [null] } ] } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Filter name (required) | |
| type | Yes | Filter type (required) | |
| conditions | Yes | Filter conditions structure with glue and conditions array (required) |