Add IsBot field to Vercel Firewall rules for bot-specific redirects

Problem

Currently, OpenGraph metadata is disabled when Vercel Bot Protection is enabled.

Goal

I want to keep Bot Protection active but need a way to identify bots and redirect them to a separate domain that serves the required metadata.

Feature Request

Vercel currently lacks an IsBot (or similar) field in the Firewall rules. Adding this would allow for conditional logic based on whether the requester is a bot.

Hi @lonli-lokli, I understand the issue. In this case, the best way is to identify the bots being blocked for these paths and then create a rule that targets the combination of the paths + bots and have them bypass Firewall using this rule.

Let me know if you need more help in setting this up.

Yes, that’s what I have to do now - but it will work only with known bots. I tried first match expression with all the bots, but expression was too long and not accepted by Vercel, so I ended up with partial solution via 16 OR statements.

And anyway still some bots are blocked , even with existing rule.

1 Like

I understand. Let me pass this feedback to our team.