Setup a custom rule
Build a rule that pauses the AI or sends a template when a specific customer or order condition is met.
Written By ScaleFlows Team
Last updated 3 months ago
💡 Tip: Use this to take absolute control over complex scenarios in your business.
Video Guide
Text Guide
From your Dashboard:
Step 1. Go to Escalations.
Step 2. Under AI Safety Rules, click on Create custom rule.

Step 3. Configure the details of your custom rule.
💡 Tip: Combine multiple conditions to make rules more precise and match specific business scenarios. For example: customer message contains chargeback AND order value is greater than $100. This example avoids false positives from customers who mention the word casually.
Rule name
Rule name
Give your rule a clear, descriptive name (for example, "Disable AI on chargeback threats") so your team can easily identify its purpose.
When this rule matches
When this rule matches
Decide exactly what the AI should do when the rule's conditions are met. You have two main choices:
- Disable AI: This mutes the AI for the conversation. The AI stops replying, allowing a human agent to take over the thread manually.
- Send Template: Instead of the AI generating its own reply, it will draft a specific saved template (which you can create in your Templates settings). This draft will still flow through your standard approval queue.
When should this rule trigger?
When should this rule trigger?
Define the exact criteria that will cause this rule to fire. You can add one or multiple conditions to be as broad or specific as you need.
List of criteria you can base your triggers on
List of criteria you can base your triggers on
- Customer language
- Customer message (e.g., if the message contains specific words like "chargeback", "dispute", or "lawyer")
- Customer mood
- Order value
- Customer email
- Order status
- Number of products
- Product name
- Customer country
- Payment method
- Question type
Was this helpful?
More in Workspace
The InboxView conversationsCreate a ticketReview AI draftsStill need help? Ask the team