match_contacts_to_property
Find contacts with matching search profiles for a new property listing. Returns ranked matches based on property type, price, location, and features.
Instructions
Find contacts whose search profiles match a property. Returns a ranked list with match scores.
Use when a new listing comes in to find potential buyers/renters: "Who should I send this new listing to?"
Logic:
Fetches the property details (type, price, rooms, space, city, features)
Fetches active search profiles (paginates, capped by max_profiles)
Scores each profile against the property on: marketing type, city, price range, room count, living space, property type, and features
Returns top 20 matches sorted by score with match/mismatch details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | Yes | Property ID to find matching contacts for | |
| max_profiles | No | Max search profiles to fetch and score (default: 1000). Caps API calls and memory for large accounts. |