How to trigger a function if CF detects that visitor is a bot

Hi! I would like to know (if possible) how to trigger a function if CF detects that visitor is a bot. Something like:

function botDetected() {
  console.log('Bot detected!')
}

Thank you.

Hi @marcelo5, a good conversation about that going on over here, Filter Firewall Event Log.

This topic was automatically closed after 14 days. New replies are no longer allowed.