Show deals linked to the current contact
source /opt/openclaw.env
curl -sS "${SUPABASE_URL}/rest/v1/deals_contacts?contact_id=eq.{CONTACT_ID}&select=relationship,deals(deal_id,opportunity,deal_name,stage,category,total_investment,deal_currency,source_category,description,created_at)" \
-H "apikey: $SUPABASE_KEY" -H "Authorization: Bearer $SUPABASE_KEY"
source /opt/openclaw.env
curl -sS "${SUPABASE_URL}/rest/v1/deals_contacts?deal_id=eq.{DEAL_ID}&select=relationship,contacts(contact_id,first_name,last_name)" \
-H "apikey: $SUPABASE_KEY" -H "Authorization: Bearer $SUPABASE_KEY"
Present each deal as:
If no deals found, respond: "No deals found linked to {contact name}."
Log in ops-log.md: timestamp, action: list-related-deals, contact_id, result count