Trigger: You Were Mentioned in Team
Fire a workflow automatically whenever someone mentions you (or another teammate) in a Team Space.
The You Were Mentioned in Team trigger fires a workflow every time someone uses a mention (@user, @team, or @here) inside a message in the Team module, whether in a Space or a direct message.
When to use it
Use it to push notifications outside internal chat when something needs immediate attention — alert an agent by WhatsApp when they're mentioned in an "Incidents" Space, or auto-escalate whenever someone uses @here to ask for urgent help.
Configuration
In the Trigger node inside the Workflows editor, pick "You Were Mentioned in Team" and configure:
- Space: limit the trigger to one Space (empty = any, including DMs).
- Mentioned user: only fire when this specific person is mentioned.
Available variables
$trigger.space_id/$trigger.space_name$trigger.message_id$trigger.dm_conversation_id(if it was a DM)$trigger.by_user_id/$trigger.by_user_name$trigger.mentioned_user_id$trigger.mention_type(user / team / here)$trigger.text
Example
Workflow "Urgent mention alert": Trigger = You Were Mentioned in Team, Space filter = "Tier 2 Support". Action 1: send the mentioned agent a WhatsApp message with You were mentioned in {{$trigger.space_name}}: {{$trigger.text}}. Action 2: if $trigger.mention_type is "here", also notify the supervisor.
Tips
- Only leave the Space filter empty if you also want to cover internal DMs.
- Combine with a delay + condition action to escalate if the mention isn't handled within X minutes.
Troubleshooting
If the workflow doesn't fire, double-check that the Space configured in the filter exactly matches the Space where the message was posted — the filter matches by ID, not by a partial name.
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.