Send listings to a client
send_listings_to_contactStage an email from the agent to one of their clients with listings attached, as the CRM sends listings (it appears on the client's timeline). You write the subject and message, in the client's language. Returns a preview with the address, subject, message and listings, and an action_id; NOTHING is sent until you call confirm_action with that id, after the agent has read it and said yes.
Listings can be the agency's own or shared MLS listings it can sell (match_buyer_to_inventory finds them). Up to 10 per email.
Requires a linked PropertyList account: the change is made in the agent's own name, with their CRM permissions, so an agency API key alone cannot make it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The email text, in the client's language. The listings are attached below it. | |
| subject | Yes | ||
| contact_id | Yes | The client, from find_contacts. | |
| property_references | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| details | Yes | ||
| summary | Yes | What confirming will do, to show the agent. | |
| action_id | Yes | Pass to confirm_action to make the change, or cancel_action to drop it. | |
| expires_at | Yes | ISO 8601, UTC. After this the preview must be staged again. |