hubspot_get_sales_analytics
Retrieve aggregated sales analytics data from HubSpot CRM for specific time periods. Analyze sales performance by filtering pipelines, deal stages, and owners to track revenue metrics and identify trends.
Instructions
Get aggregated sales analytics data for specific time periods
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealOwner | No | Deal owner ID to filter by | |
| dealStage | No | Deal stage ID to filter by | |
| endDate | No | End date for analysis in ISO format (YYYY-MM-DD) | |
| period | Yes | Time period to group analytics data by | |
| pipeline | No | Pipeline ID to filter by | |
| startDate | Yes | Start date for analysis in ISO format (YYYY-MM-DD) |
Input Schema (JSON Schema)
{
"properties": {
"dealOwner": {
"description": "Deal owner ID to filter by",
"type": "string"
},
"dealStage": {
"description": "Deal stage ID to filter by",
"type": "string"
},
"endDate": {
"description": "End date for analysis in ISO format (YYYY-MM-DD)",
"type": "string"
},
"period": {
"description": "Time period to group analytics data by",
"enum": [
"daily",
"weekly",
"monthly",
"quarterly",
"yearly"
],
"type": "string"
},
"pipeline": {
"description": "Pipeline ID to filter by",
"type": "string"
},
"startDate": {
"description": "Start date for analysis in ISO format (YYYY-MM-DD)",
"type": "string"
}
},
"required": [
"period",
"startDate"
],
"type": "object"
}