Trigger: Deal Lost
Fires a workflow automatically whenever a CRM deal is marked as lost.
The Deal Lost trigger fires a workflow the instant a CRM deal is marked lost, in any pipeline (or a specific one). It's the ready-made version of the generic "stage changed" trigger, pre-filtered for status = lost.
When to use it
- Alert the sales manager when an opportunity is lost.
- Auto-log a follow-up note on the contact's record.
- Kick off a "win-back" sequence via WhatsApp or email weeks later.
- Move a related card on a Boards project to "Closed – lost".
Requirements
You need the CRM module (Deals/Pipelines) enabled on your workspace, plus the Workflows engine on your plan.
Variables available
$trigger.title,$trigger.stage_name,$trigger.status(always "lost")$trigger.contact_idplus every contact variable:$contact.display_name,$contact.email,$contact.phone,$contact.company…- ⚠️
$trigger.amountand$trigger.pipeline_id— not available on this trigger: the "lost" event travels as a stage change, and that payload only includes title, stage, status, and contact — not the deal's amount or pipeline. If you use them in a message, the result comes back empty.
How to build it
- Go to Workflows in the left sidebar and click New workflow (or open an existing one).
- Drag the Trigger node onto the canvas and pick Deal Lost (under the CRM & records category).
- Optionally filter by a specific pipeline; leave it blank to match any pipeline.
- Add action steps — Notify team, Log activity, etc. — pulling tokens from the Available variables panel.
- Save and turn the workflow Active.
Example
A workflow named "Deal lost alert": fires on any pipeline → Notify team in the "Sales" space with ❌ Lost {{trigger.title}} from {{contact.display_name}} (don't include {{trigger.amount}}, it comes back empty today) → Log activity on the contact titled "Deal lost".
Tips
- If you need to escalate only large deals, you can't condition on
$trigger.amount(it's not available here); consider adding a node that looks up the deal via$record.object_idto get the real amount. - If you run several pipelines per team, filter by pipeline so each team only gets its own alerts.
Troubleshooting
- If the workflow never fires, confirm the deal was actually moved to "lost" from the CRM board (editing other fields isn't enough) and that the workflow is Active, not just saved.
- If your message shows blank where you expected
{{$trigger.amount}}or{{$trigger.pipeline_id}}: that's a known issue, those variables don't travel in the stage-change event that feeds this trigger.
Related articles
-
Build your first workflow
Omnifox workflows automate your operation: a trigger starts the automation and action nodes do the work. Build a welcome message in minutes.
-
Workflow triggers catalog
Learn which events can start a workflow automatically in Omnifox.
-
Action nodes available in workflows
Discover the actions a workflow can run automatically.
-
Conditions and branching (if/then) in a workflow
Make your flows take decisions and follow different paths based on each contact data.
-
Ready-to-use workflow templates
Start your automations in minutes from prebuilt flows you can customize.