---
title: Using AND / OR Logic and Multiple Timeframes in Automated Rules
description: Automated Rules now support advanced logical conditions, allowing you to combine multiple metrics and timeframes using AND or OR logic. This helps ensure your rules trigger only when performance patterns are consistent and meaningful.
---

[Skip to content](https://help.intentwise.com/using-and-/-or-logic-and-multiple-timeframes-in-automated-rules#main-content)

![footer-logo.png\]](https://help.intentwise.com/hs-fs/hubfs/footer-logo.png?width=210&height=40&name=footer-logo.png)

Open main navigation

Close main navigation

 Advice and answers from Intentwise

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.intentwise.com/?hsLang=en)
2. [Intentwise Ad Optimizer](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en)
3. [Resources](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#resources)

# Using AND / OR Logic and Multiple Timeframes in Automated Rules

## Automated Rules now support advanced logical conditions, allowing you to combine multiple metrics and timeframes using AND or OR logic. This helps ensure your rules trigger only when performance patterns are consistent and meaningful.

### **Why does this matter?**

Previously, Automated Rules could evaluate conditions only within a single lookback period and relied on simple threshold checks. This often caused:

- Rules triggering on short-term volatility
- The need to create multiple rules for the same intent
- Limited visibility into why a rule was executed

 With advanced logic support, you can now **validate performance across multiple timeframes** and **control exactly when a rule should run**.

### **What’s new?**

#### **AND / OR Logic**

- Choose **AND** or **OR** logic when building rule conditions
- All conditions in a rule follow the same logical operator
- Ensures clearer, more predictable execution behavior
  
  ![Screenshot 2025-12-15 at 5.53.34 PM](https://help.intentwise.com/hs-fs/hubfs/Screenshot%202025-12-15%20at%205.53.34%20PM.png?width=688&height=274&name=Screenshot%202025-12-15%20at%205.53.34%20PM.png)

#### **Multiple Timeframes per Rule**

- Select different lookback periods per condition
- Supported ranges include:  
    - Last 7 days

- - Last 14 days

- - Last 30 days
    
  ![Screenshot 2025-12-15 at 6.07.41 PM-1](https://help.intentwise.com/hs-fs/hubfs/Screenshot%202025-12-15%20at%206.07.41%20PM-1.png?width=688&height=280&name=Screenshot%202025-12-15%20at%206.07.41%20PM-1.png)

### **Where to find this?**

- Navigate to **Automated Rules → Create Rule** or **Edit Rule.**
- The updated logic builder is available within the **Criteria** section.
  
  ![Screenshot 2025-12-15 at 6.10.04 PM](https://help.intentwise.com/hs-fs/hubfs/Screenshot%202025-12-15%20at%206.10.04%20PM.png?width=688&height=242&name=Screenshot%202025-12-15%20at%206.10.04%20PM.png)

### **How to build a rule with advanced logic?**

#### **Step 1: Add your conditions**

Each condition row includes:

- Metric (e.g., ACOS, Clicks, Spend)
- Operator (\>, \<, ≥, etc.)
- Value
- Lookback timeframe

#### **Step 2: Choose your logic operator**

- Select **AND** or **OR** between conditions
- This defines how all conditions are evaluated together

#### **Step 3: Review the expression preview**

As you add conditions, Intentwise displays a live preview, such as:

*If (ACOS \> 30% in last 7 days AND ACOS \> 25% in last 30 days), then Reduce Bids by 10%.*

#### **Step 4: Preview and save**

- Review the summary card before saving
- Confirm that the logic matches your intent

### **Things to keep in mind**

- A rule can use **only one logical operator** (AND or OR)
- Each criterion can have its own timeframe
- Expression preview reflects the exact logic used during execution

### **Examples:**

#### **1. Reduce bids only when inefficiency is consistent**

#### **Rule logic**

- ACOS \> 30% (Last 7 days)
- AND ACOS \> 25% (Last 30 days)

**Action**

- Reduce bids by 10%

**2. Pause targets based on early inefficiency signals**

**Rule logic**

- Clicks ≥ 10
- OR Spend ≥ $20

**Action**

- Pause target

### **Summary**

Advanced logic in Automated Rules lets you:

- Combine multiple metrics intelligently
- Validate performance across different timeframes
- Reduce noise and false triggers
- Build fewer, more reliable rules

- [Getting started](https://help.intentwise.com/getting-started?hsLang=en)
- [Intentwise AI Gateway](https://help.intentwise.com/intentwise-ai-gateway?hsLang=en)
- [Intentwise Ad Optimizer](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#main-content)

    - [Account and Campaign Setup](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#account-and-campaign-setup)
    - [Optimization](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#optimization)
    - [Reporting](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#reporting)
    - [Dashboard Overview](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#dashboard-overview)
    - [Resources](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#resources)
    - [Amazon DSP](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#amazon-dsp)
    - [Additional Features](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#additional-features)
    - [Walmart](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#walmart)
    - [Criteo](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#criteo)
    - [Instacart](https://help.intentwise.com/intentwise-ad-optimizer?hsLang=en#instacart)
- [Intentwise Explore (AMC)](https://help.intentwise.com/intentwise-explore-amc?hsLang=en#main-content)

    - [AMC](https://help.intentwise.com/intentwise-explore-amc?hsLang=en#amc)
    - [Instructional Queries](https://help.intentwise.com/intentwise-explore-amc?hsLang=en#instructional-queries)
- [Intentwise Analytics Cloud](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#main-content)

    - [Kickstart Guide](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#kickstart-guide)
    - [Configuring Reporting Tools](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#configuring-reporting-tools)
    - [Configuring Data Pipeline](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#configuring-data-pipeline)
    - [Data Sources](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#data-sources)
    - [Looker (Google Data) Studio Tutorials](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#looker-google-data-studio-tutorials)
    - [Intentwise Templates](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#intentwise-templates)
    - [Intentwise Analytics Cloud features](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#intentwise-analytics-cloud-features)
    - [White Label](https://help.intentwise.com/intentwise-analytics-cloud?hsLang=en#white-label)
- [Intentwise Marketplace Intelligence](https://help.intentwise.com/intentwise-marketplace-intelligence?hsLang=en#main-content)

    - [Content Analytics (CA)](https://help.intentwise.com/intentwise-marketplace-intelligence?hsLang=en#content-analytics-ca)
    - [Share Of Voice (SOV)](https://help.intentwise.com/intentwise-marketplace-intelligence?hsLang=en#share-of-voice-sov)
- [Frequently Asked Questions (FAQs)](https://help.intentwise.com/frequently-asked-questions-faqs?hsLang=en#main-content)

    - [Access and Setup](https://help.intentwise.com/frequently-asked-questions-faqs?hsLang=en#access-and-setup)
    - [Billing](https://help.intentwise.com/frequently-asked-questions-faqs?hsLang=en#billing)
    - [Platform](https://help.intentwise.com/frequently-asked-questions-faqs?hsLang=en#platform)
    - [Reporting](https://help.intentwise.com/frequently-asked-questions-faqs?hsLang=en#reporting)

intentwise.com Help Center

Copyright © 2026, Intentwise Inc.