03 · Trigger Mapping
CRM trigger vs Hyros trigger; map the field, not just the event; a worked deal→Won example.
CRM trigger vs Hyros trigger
A CRM trigger is the event in the source platform (deal moved to Won, opportunity created). A Hyros trigger is the action we want to fire (track a sale). Connecting them means deciding which CRM event should cause which Hyros call — and that's a mapping decision, not a toggle.
Map the field, not just the event
It's not enough to say "when the deal closes, send a sale." You must map the data: which CRM field carries the email, the amount, the date. A trigger with no field mapping sends an empty or wrong sale and corrupts attribution.
Worked example: deal → Won
In the CRM you pick which stage counts as "Won." When a deal reaches it, the Hyros action is POST /orders. Map: contact email → email, deal amount → items[].price, deal close date → date. Now the Won event produces a correctly-attributed sale.