deals_get_archived_deals_timeline
Retrieve archived deals grouped by time intervals to analyze historical performance and identify trends.
Instructions
Get archived deals timeline grouped by intervals.
Returns archived deals grouped by a defined interval of time set in a date-type field.
Workflow tips:
Analyze historical deal patterns
Same parameters as deals/get_deals_timeline
Useful for understanding past performance trends
Can help identify seasonal patterns
Common use cases:
Historical analysis: { "start_date": "2023-01-01", "interval": "month", "amount": 12, "field_key": "close_time" }
Archived deals by quarter: { "start_date": "2023-01-01", "interval": "quarter", "amount": 4, "field_key": "archive_time" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | The date when the first interval starts (YYYY-MM-DD) | |
| interval | Yes | The type of interval | |
| amount | Yes | The number of intervals to fetch | |
| field_key | Yes | The date field key to retrieve deals from | |
| user_id | No | Filter by user ID | |
| pipeline_id | No | Filter by pipeline ID | |
| filter_id | No | Filter by filter ID | |
| exclude_deals | No | Whether to exclude deals list (1) or not (0) | |
| totals_convert_currency | No | 3-letter currency code for converted totals |