miinta.filters.create
Create a custom Pipedrive saved filter for deals, activities, or other entities. Define conditions to build reusable filters for your sales queue.
Instructions
Create a new Pipedrive saved filter. Useful for creating custom activity or deal filters that can then be used with miinta.sales_queue.get. Returns the created filter with its ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new filter | |
| type | Yes | The entity type this filter applies to. | |
| conditions | Yes | Pipedrive filter conditions JSON. Full format: {"glue":"and","conditions":[{"glue":"and","conditions":[...]},{"glue":"or","conditions":[...]}]}. Shorthand with only one "and" group is also accepted and auto-normalized. Each condition object has: object (e.g. "deal","activity","organization"), field_id, operator (e.g. "=","!=","IS NOT NULL"), value, extra_value. field_id can be numeric ID or field key/name; it is auto-resolved when possible. Max 16 conditions per filter. |