Trigger workflows using AI-evaluated natural language conditions
The AI Trigger node uses artificial intelligence to evaluate complex trigger conditions described in natural language. Instead of writing code or configuring rules, simply describe when you want the workflow to start.
Automatically escalate emails that need immediate attention:
1
Configure the AI condition
Add an AI Trigger node with:
Data source: Gmail channel
Condition:
The email indicates an urgent issue that requires immediate attention.This includes: system outages, security concerns, angry customersthreatening to cancel, or time-sensitive requests with deadlineswithin 24 hours. Exclude routine support questions and general inquiries.
2
Escalate the email
Connect to an External API (Slack) node to post to your #urgent-support channel:
Urgent email detected from {{ai_custom_event_1.eventData.sender}}Subject: {{ai_custom_event_1.eventData.subject}}Reason: {{ai_custom_event_1.matchReason}}
3
Assign to on-call
Add another External API node to create a high-priority ticket in your support system.
Only process high-quality leads from form submissions:
Condition: The form submission appears to be from a qualified B2B lead.Indicators of qualification:- Uses a business email domain (not gmail, yahoo, etc.)- Company size is mentioned or implied to be 50+ employees- Budget or timeline is mentioned- Specific use case is describedExclude: Students, personal projects, competitors researching the product.
Workflow:
├── AI Trigger (qualified leads only)├── Ask AI (extract and structure lead details)├── External API (add to CRM as qualified)└── External API (notify sales team in Slack)
Trigger review for potentially problematic content:
Condition: The message contains content that may need human review.This includes:- Mentions of legal issues or threats- Personal information (SSN, credit cards, passwords)- Complaints about employees by name- Language suggesting mental health crisisDo not flag: Normal complaints, feature requests, or general feedback.
By default, the event triggers when the AI is reasonably confident the condition is met. You can access the confidence score to add additional filtering:
# In a subsequent Condition node:{{ai_custom_event_1.matchConfidence}} > 0.8
This ensures only high-confidence matches proceed.
Include examples in your condition to help the AI understand edge cases: “Examples of urgent: ‘System is down’, ‘Can’t access my account for 2 hours’. Not urgent: ‘When will feature X be available?’”
Use the matchReason output to log why emails/messages were flagged. This helps you refine the condition over time.
AI evaluation adds latency and cost compared to rule-based triggers. Use this node when the condition genuinely requires natural language understanding.