filter-list-entries
Filter CRM list entries by specific attributes like stage or status using conditions such as equals, contains, or greater than to find targeted records.
Instructions
Filter entries in a CRM list by a specific attribute (e.g., stage, status)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attributeSlug | Yes | Slug of the attribute to filter by (e.g., 'stage', 'status') | |
condition | Yes | Filter condition (e.g., 'equals', 'contains', 'greater_than') | |
limit | No | Maximum number of entries to fetch (default: 20) | |
listId | Yes | ID of the list to filter entries from | |
offset | No | Number of entries to skip for pagination (default: 0) | |
value | Yes | Value to filter by (type depends on the attribute) |
Input Schema (JSON Schema)
{
"properties": {
"attributeSlug": {
"description": "Slug of the attribute to filter by (e.g., 'stage', 'status')",
"type": "string"
},
"condition": {
"description": "Filter condition (e.g., 'equals', 'contains', 'greater_than')",
"enum": [
"equals",
"not_equals",
"contains",
"not_contains",
"starts_with",
"ends_with",
"greater_than",
"less_than",
"greater_than_or_equals",
"less_than_or_equals",
"is_empty",
"is_not_empty",
"is_set",
"is_not_set"
],
"type": "string"
},
"limit": {
"description": "Maximum number of entries to fetch (default: 20)",
"type": "number"
},
"listId": {
"description": "ID of the list to filter entries from",
"type": "string"
},
"offset": {
"description": "Number of entries to skip for pagination (default: 0)",
"type": "number"
},
"value": {
"description": "Value to filter by (type depends on the attribute)"
}
},
"required": [
"listId",
"attributeSlug",
"condition",
"value"
],
"type": "object"
}