How to fix Cloudflare blocking Elfsight AI Chatbot from reading pages

Cloudflare is a great tool for protecting your website, but sometimes its security settings can prevent AI Chatbot from reading your pages.

In this guide, we’ll show you how to create a small exception for the Elfsight crawler so that it could crawl web pages from the knowledge base while keeping your Cloudflare protection in place :raising_hands:


Identify the Elfsight crawler


To let AI Chatbot read your website pages, Cloudflare needs to recognize its crawler as a trusted request.

Elfsight AI Chatbot uses a dedicated crawler to process pages added to your Knowledge Base. You can allow it in Cloudflare by creating a rule based on the crawler’s User-Agent.

The crawler User-Agent contains:

Elfsight-AI-Chatbot-Knowledge-Crawler

The full User-Agent looks like this:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Elfsight-AI-Chatbot-Knowledge-Crawler/1.0 (+https://elfsight.com)

You’ll use this User-Agent value in the next step when creating your Cloudflare rule.

:light_bulb: You don’t need to whitelist GPTBot or other OpenAI crawlers. AI Chatbot uses the Elfsight crawler above to process your Knowledge Base pages.


Create a Cloudflare rule


Now that you know which crawler to allow, you can create a Cloudflare rule for it. In your Cloudflare dashboard:

Open the Custom Rules section

Go to Security → Security rules → Custom rules
(or Security → WAF → Custom rules, depending on your Cloudflare interface)


Create a new rule

Rule name:

Allow Elfsight AI Chatbot Knowledge Crawler

Expression:

(http.user_agent contains "Elfsight-AI-Chatbot-Knowledge-Crawler")

Action: Skip

For the skipped security products, select only the ones that may block the crawler:

  • Super Bot Fight Mode
  • Managed WAF Rules (if they are blocking requests)
  • Rate Limiting Rules (if they cause 429 responses)


Keep the exception as narrow as possible. There is usually no need to bypass all Cloudflare security features.


This setup works with Super Bot Fight Mode. If you use Cloudflare’s standard Bot Fight Mode, WAF Skip rules cannot bypass it.

In that case, check Cloudflare → Security → Events to identify what is blocking the crawler and adjust your settings accordingly.


Test the setup


After creating the rule, you can check if the crawler can access your website:

curl -I -A "Elfsight-AI-Chatbot-Knowledge-Crawler/1.0 (+https://elfsight.com)" https://your-domain.com/

Replace your-domain.com with your website address — a successful response should return
HTTP 200. A redirect is also fine if the page remains accessible.

If you see:

  • 403 Forbidden
  • 429 Too Many Requests
  • Cloudflare challenge pages

check Cloudflare → Security → Events to find which rule is blocking the request.


Retrain failed pages


If Cloudflare blocked a page before you created the exception, update it after fixing the settings:

  1. Open AI Chatbot → Knowledge → Web Pages
  2. Click Retrain for the affected page

Pages are updated when you manually retrain them — they are not continuously crawled in the background.


If you still have issues after creating the rule, share your Cloudflare Security Event details and we’ll help identify the blocker :wink:

2 Likes