Skip to content

Guides / Cloudflare and AI agents

Is Cloudflare blocking AI shopping agents from your store?

Cloudflare’s bot settings can turn away the AI agents that shop for real people. Here’s how to check, and the exact settings to change without letting scrapers in.

Updated November 13, 2026 · 6 min read

When a person asks ChatGPT, Gemini or Muse to buy something, the agent visits your store the way a browser would. If your bot protection decides it looks automated, it gets a challenge page or a block. A person can click through a challenge. An agent usually can’t, so it goes to the next store. You never see it: no abandoned cart, nothing in analytics.

In our audit of 28 live WooCommerce stores, bot checks and firewalls caused 5 of the 11 cases where the agent was stopped.

How to tell if it’s happening

  • Run a free scan. If the agent was shown a “Just a moment…” or “Verify you are human” page instead of your store, the report says so and shows a screenshot.
  • Check Cloudflare Security Analytics. Filter by the bot traffic category and look for challenged or blocked requests to product, cart and checkout pages.
  • Look for a 403 or 429 on Add to cart. Some firewall rules let agents browse but block the request that adds to cart. Our scan flags this as “Your firewall blocks Add to cart for automated shoppers”.

The settings that matter

All of these live in the Cloudflare dashboard under Security → Settings, filtered by Bot traffic.

1. AI Crawler and Agent access policies

This is the most important one. Cloudflare now separates AI traffic by what it does:

  • Training: crawlers that collect content to train models, such as GPTBot and ClaudeBot.
  • Search: crawlers that index pages for AI search answers.
  • Agent: software acting in real time for a person, including shopping agents and browser-use agents.

Set Agent to “Allow (do not block)”. Cloudflare itself recommends allowing Personal Agents. You can keep Training on Block if you don’t want your content used to train models. That choice has no effect on shopping agents.

2. Block AI bots

This older toggle blocks AI crawlers such as GPTBot and ClaudeBot. It targets crawlers, not shopping agents, so you can leave it on if you don’t want training crawls. If you turned it on and agents are still blocked, the cause is usually one of the settings below.

3. Bot Fight Mode and Super Bot Fight Mode

Bot Fight Mode (free plans) challenges anything that matches known bot patterns, and it can’t be tuned or bypassed with rules. On a store, that’s a blunt tool.

  • Free plan: if scans show agents being challenged, turn Bot Fight Mode off and rely on the AI agent policy plus a rate-limiting rule on your login and checkout endpoints instead.
  • Pro plan and up: use Super Bot Fight Mode with Definitely automated set to Block or Challenge, keep Verified bots allowed, and turn on Optimize for WordPress, which lets WordPress’s own internal requests through.

4. Custom WAF rules

Rules that challenge whole countries, all “non-browser” user agents, or every request to /cart and /checkout catch agents too. If you need a rule like that, add a Skip rule above it for verified bots: the expression (cf.client.bot) with the action Skip, all remaining custom rules.

What not to do

  • Don’t turn off Cloudflare entirely. It protects you from card-testing and scraping. The goal is to let agents that shop for people through, not to drop your guard.
  • Don’t allow-list by user agent alone. Anyone can claim to be ChatGPT. Use Cloudflare’s verified bot and agent categories, which check the claim.

Other firewalls

The same thing happens with Sucuri, Wordfence, Imunify360 and host-level firewalls. Look for settings named “block fake crawlers”, “bot challenge”, “JavaScript challenge” or “rate limit”, and check that they don’t apply to product, cart and checkout pages for verified agents.

Running WooCommerce? The free Tallygator plugin checks for these firewalls and shows the setting to change. See the plugin. If you’d rather not touch Cloudflare yourself, Managed does it for you.

Find out before a customer’s agent does.

Free. No signup. The agent never pays.