MishaBook a demo

Aug 14, 2026

AI Agents for Ecommerce: Scheduled Loops, Tools, and Approval Gates

An AI agent is a software process that runs on a schedule, executes predefined tasks using connected tools (APIs, databases, ad platforms), and surfaces decisions to humans before taking irreversible action. It differs from a chatbot in that it operates without user input, maintains state across sessions, and performs work on behalf of the operator rather than responding to queries.

Agent vs. Chatbot: The Core Difference

A chatbot waits for a user to type. An agent wakes up on a schedule and does work. A chatbot is reactive; an agent is proactive. A chatbot answers questions; an agent executes workflows.

Chatbots live in Slack, email, or a web interface. Agents live in your backend, connected to your data warehouse, ad account, inventory system, and email service. When a chatbot finishes a conversation, it is done. When an agent finishes a task, it logs the result, waits for the next scheduled run, and moves to the next workflow.

Both use language models to reason about decisions. Both can call external tools. The difference is timing, scope, and approval. A chatbot is a point-in-time helper. An agent is a continuous operator.

The Three-Part Agent Loop

Every useful ecommerce agent follows the same pattern: fetch data, reason about it, propose action, wait for approval, execute.

Step 1 - Fetch: Agent connects to your data sources (Shopify, email list, ad account, analytics warehouse) and pulls the current state. Example: pull all customers who spent $500+ in the last 90 days but have not purchased in 30 days.

Step 2 - Reason: Agent applies a rule or model to the data. Example: if customer LTV is above $1,200 and churn risk is high, recommend a $20 discount code for a specific product category.

Step 3 - Propose: Agent surfaces the decision to a human operator with supporting data. Example: 'Found 342 at-risk high-value customers. Recommend sending 3 email sequences over 14 days with personalized discounts. Estimated recovery: $18,400. Approval needed.'

Step 4 - Approve: Human reviews the proposal. Approves, rejects, or modifies the parameters. This is the approval gate.

Step 5 - Execute: Agent sends emails, updates customer tags, logs results, and schedules the next check.

  • Fetch - pull current state from connected systems
  • Reason - apply rules or models to the data
  • Propose - surface decision with supporting metrics to operator
  • Approve - human reviews and approves, rejects, or modifies
  • Execute - take action and log results

What to Automate: The Approval Gate Rule

Not all decisions should be automated. The rule is simple: automate the data work, not the business decision.

Automate: fetching customer segments, calculating LTV, identifying churn signals, scoring products by margin, pulling ad performance data, generating email copy variants, calculating discount thresholds, ranking which customers to target first.

Require approval: sending any customer-facing message, changing ad spend allocation above a threshold (e.g., moving more than 10% of budget to a new audience), applying discounts above a certain size, pausing or launching campaigns, changing product pricing or positioning, deleting or archiving customer data.

The approval gate prevents costly mistakes. A miscalculated discount code sent to 10,000 customers costs money. A miscalculated churn score sent to an operator for review costs nothing - the operator catches the error before it ships.

Set thresholds in advance. Example: 'Agent can auto - send retention emails to customers with churn score > 0.7 and LTV > $500. Agent must get approval for churn score > 0.5 and LTV < $500 (lower confidence, lower value).' This reduces approval overhead for high - confidence, low - risk decisions.

Common Ecommerce Agent Workflows

Retention agents run weekly or daily. They identify at - risk customers (high LTV, no purchase in 30+ days), score them by likelihood to churn, and propose email sequences or discount offers. Operator approves the audience and messaging. Agent sends and tracks opens, clicks, and conversions.

Margin agents run daily. They analyze product performance by margin, not just revenue. They identify low - margin bestsellers (high volume, low profit) and high - margin sleepers (low volume, high profit). They propose merchandising changes: move high - margin products to homepage, bundle low - margin products with high - margin ones, adjust ad spend to favor high - margin categories. Operator approves the merchandising plan.

Ad agents run daily or multiple times per day. They pull performance data from ad accounts (Google, Meta, TikTok), calculate ROAS by audience segment, and propose budget reallocation. Example: 'Segment A (ages 25 - 34, US) has 2.8x ROAS. Segment B (ages 35 - 44, US) has 1.1x ROAS. Recommend moving 15% of budget from B to A. Approval needed.' Operator approves or adjusts the reallocation.

Reporting agents run on a schedule (daily, weekly, monthly). They pull data from multiple sources, calculate KPIs (CAC, LTV, churn rate, margin, ROAS), compare to targets, and surface anomalies. Example: 'CAC increased 22% week - over - week. Likely cause: iOS 14 tracking changes reduced conversion tracking accuracy. Recommend manual audit of conversion pixel. Report attached.' Operator reviews and decides next steps.

What Stays Human

Operators remain responsible for strategy, judgment, and exceptions. An agent can propose a 20% discount to recover a high - value customer. Only an operator can decide if that discount fits the brand positioning or if a different gesture (free shipping, exclusive access) is better.

Operators must set the rules and thresholds. An agent cannot decide what counts as 'high LTV' or 'at - risk' without guidance. The operator defines: LTV threshold = $1,200, churn risk threshold = 30 days without purchase, approval gate = any discount over $25.

Operators must monitor and adjust. If an agent's churn model starts predicting poorly (false positives increase), the operator must retrain it or adjust the threshold. If an email sequence has a 2% click rate (below target), the operator must modify the copy or audience.

Operators must handle exceptions. An agent might flag a customer for a retention offer. But if that customer recently complained about product quality, the operator should route them to support, not send a discount. Agents are not smart enough to catch all edge cases.

Implementation Checklist

Before deploying an agent, confirm these prerequisites are in place.

  • Data source connected: agent can read from Shopify, email platform, ad account, or data warehouse via API
  • Approval workflow defined: who reviews proposals, how long they have to approve, what happens if no approval within 24 hours
  • Success metrics set: what does 'good' look like for this agent (e.g., 15% recovery rate for retention emails, 2.0x ROAS for ad reallocation)
  • Fallback rule written: if agent encounters an error or ambiguous data, what does it do (pause, alert operator, use conservative default)
  • Audit trail enabled: every proposal, approval, and execution is logged with timestamp and operator name
  • Schedule set: how often does the agent run (hourly, daily, weekly), and when is the best time to run it
  • Threshold documented: what data thresholds trigger a proposal, and why those thresholds were chosen

Why Approval Gates Matter

An agent without approval gates is a liability. It can send wrong messages, waste budget, or damage customer relationships at scale and speed.

With approval gates, an agent becomes a force multiplier. It handles the repetitive data work (fetch, analyze, score, rank). The operator handles the judgment (approve, modify, reject). The operator stays in control and can override the agent at any time.

Approval gates also build trust. When an operator sees that an agent's proposals are accurate and well - reasoned, they approve faster and more often. Over time, the operator may increase the threshold for auto - approval (e.g., 'auto - send retention emails for churn score > 0.8, no approval needed'). But this only happens after the agent has proven itself.

Questions

FAQ

Is an AI agent the same as an AI employee?

No. An AI employee is marketing language for a general - purpose chatbot or assistant that can do many tasks. An AI agent is a specialized tool that does one workflow repeatedly (e.g., identify churn risk, propose retention offers). An agent is narrower, more reliable, and easier to audit. An AI employee is broader, less predictable, and harder to control.

Can an agent make decisions without human approval?

Yes, but only for low - risk, high - confidence decisions. Example: an agent can auto - send a 'you left items in your cart' email to a customer. It cannot auto - apply a $50 discount without approval. The rule is: automate the data work and low - risk execution; require approval for business decisions and customer - facing offers.

What happens if an agent makes a mistake?

The approval gate catches most mistakes before they ship. If a mistake does ship (e.g., wrong discount amount), the operator can pause the agent, fix the data or rule, and rerun it. All agent actions are logged, so the operator can audit what happened and correct it. This is why approval gates and audit trails are critical.

How often should an agent run?

Depends on the workflow. Retention agents often run daily or weekly (churn signals don't change hourly). Ad agents may run multiple times per day (ad performance changes constantly). Reporting agents run on a fixed schedule (daily, weekly, monthly). The operator should choose the frequency based on how fast the underlying data changes and how quickly the business needs to act.

Want this on your account?

Thirty minutes. Bring the number that keeps you up.

More from the blog