qobrix_get_opportunity
Retrieve a single lead or opportunity by UUID to drill into pipeline deal details, including contact, properties, and assigned agent.
Instructions
Get a single lead/opportunity by UUID — drill into a pipeline deal in the Sales Pipeline workflow. Returns { data: { id, ref, status, enquiry_type, contact_name, agent, ... } }. RESO mapping: status 'new' = Lead, 'open' = Active/SQL, 'won' = Closed Won, 'closed_lost' = Lost. Verified include: ContactNameContacts (the person), Properties (linked listings), AgentAgents (assigned broker, RESO ListAgent), PropertyTypes, ClosedLostReason, User, OwnerUsers. Canonical deal drill-down pattern: 1. Get the lead with include=['ContactNameContacts','Properties','AgentAgents'] 2. Check showing history: qobrix_list_viewings (search by related property) 3. Check offers: qobrix_search_offers for this lead 4. Check activity: search Tasks, Calls, Meetings linked to this opportunity FK: contact_name → Contacts, agent → Agents, owner → Users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Opportunity/Lead UUID | |
| include | No | Associations to expand. Verified options: ContactNameContacts (contact details), Properties (linked properties), AgentAgents (assigned agent), PropertyTypes, ClosedLostReason, User, OwnerUsers |