Lead Source Summary
lead_source_summaryLEAD SOURCE BREAKDOWN — counts of prospects by lead source for a property or portfolio over a date window.
Use this whenever the user asks for "lead sources", "lead source breakdown", "where are prospects coming from", "marketing channel ROI", "how did this park's leads find us", etc. ONE call returns the full breakdown — do NOT loop over get_prospect.
Args: start_date: YYYY-MM-DD. Defaults to 90 days ago when omitted. end_date: YYYY-MM-DD. Defaults to today when omitted. property_id / shortname / portfolio / property_ids: scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| portfolio | No | ||
| shortname | No | ||
| start_date | No | ||
| property_id | No | ||
| property_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |