Verify message sending with Turnstile

My contact page use cloudfare turnstile, so before anyone can use the form to post a comment, they have to be verified first by turnstile. I think something like this might be easy to integrate into your AI Chatbot. Adding this to my contact page was very simple… two lines of code.

This goes in the website head section:

<script src=“https://challenges.cloudflare.com/turnstile/v0/api.js” async defer>

And this goes in the actual contact form (or in your case, the ai widget)
<div class="cf-turnstile" data-sitekey="XXXXXXXX-XX-XXXX-XXXX" data-callback="javascriptCallback"></div>
(with the user’s sitekey)*

2 Likes

Hi there, @user34755 :waving_hand:

Unfortunately, it’s impossible to enable the spam protection using the Cloudflare turnstill now. I am really sorry!

We’ll try to consider this opportunity in the future, especially if more users upvote this idea :slightly_smiling_face:

In the meantime, you can enable the spam protection using Honeypot and I see the Support Team has already shared this solution with you - How to stop bot spam in your AI Chatbot

Thanks Max. Yes we have made those changes to hopefully cut back on the spam. So far, so good.

Adding the turnstile seems like a fairly simple option to add for websites who choose to use it. Anything to reduce spam!

1 Like