Seatext library / BotRefund evidence

How to Set Up HubSpot Workflows to Automatically Flag and Quarantine Suspected Bot Contacts

Create HubSpot workflows that trigger on behavioral signals like form submission speed under three seconds, honeypot field fills, impossible geolocation, and known bot IP lists. Actions should set lifecycle stage to "Bot Suspect," add...

✓ Built for advertisers who need clear, refund-ready traffic evidence.

How to Set Up HubSpot Workflows to Automatically Flag and Quarantine Suspected Bot Contacts

Direct answer: the workflow logic in brief

Build a contact-based workflow in HubSpot that enrolls on form submission. Use if/then branches to evaluate bot signals captured at the point of submission: submission time under three seconds, honeypot field populated, IP address on a maintained blocklist, geolocation mismatch (e.g., form submitted from a data-center IP while the claimed company is in another region), and a behavioral anomaly score supplied by BotRefund's client-side script. When any condition is met, set the contact's lifecycle stage to Bot Suspect, add them to a static Bot Quarantine list, and send an internal notification to your operations team. Keep the workflow simple enough to audit; complex branching makes troubleshooting harder.

Prerequisites before you build

Looking to implement this for your website?
Learn more →
  • BotRefund installed on your landing pages. The script captures millisecond-level keypress offsets, pointer jitter, hardware rendering profiles, and headless-browser fingerprints (source S4). Without this layer, HubSpot only sees the submitted form data, not the behavioral evidence.
  • A hidden field on every form that receives BotRefund's risk score or a simple "bot=true/false" flag. Map this field to a custom HubSpot contact property (e.g., bot_risk_score or is_bot_suspect).
  • Custom contact properties created in HubSpot: bot_risk_score (number), is_bot_suspect (boolean), quarantine_reason (text), and original_lifecycle_stage (text) to preserve the prior stage for review.
  • A static list named "Bot Quarantine" and a lifecycle stage value "Bot Suspect" (or a custom pipeline stage if you use a custom object).
  • An IP blocklist maintained in a HubSpot custom object or external CSV that the workflow can reference via a webhook or custom code action. BotRefund's VPN detection and data-center IP flags (source S2) feed this list.

Step-by-step workflow construction

  1. Create the workflow. In HubSpot, go to Automation > Workflows > Create workflow > Contact-based > Start from scratch.
  2. Set enrollment trigger. Choose "Form submission" and select the forms you want to monitor (all lead-gen forms, demo requests, newsletter signups). Enable re-enrollment so repeat submissions are evaluated each time.
  3. Add a delay of one minute. This gives the hidden field time to populate via the BotRefund callback before the workflow evaluates the contact.
  4. Branch 1: Speed check. If/then branch: "Time since form submission" (calculated via a custom property that stamps submission timestamp) is less than 180 seconds. Yes path: set quarantine_reason = "Submission too fast".
  5. Branch 2: Honeypot field. If/then branch: custom property honeypot_field (mapped from a hidden CSS-hidden input) is known. Yes path: set quarantine_reason = "Honeypot filled".
  6. Branch 3: BotRefund risk score. If/then branch: bot_risk_score > 70 (threshold adjustable). Yes path: set quarantine_reason = "High behavioral risk score".
  7. Branch 4: IP blocklist match. Use a custom code action (Node.js or Python) that calls your IP blocklist API. If match, set quarantine_reason = "Known bot IP".
  8. Branch 5: Geolocation impossibility. Custom code action compares the IP's resolved country/region against the contact's stated company location (from Clearbit, ZoomInfo, or manual entry). Mismatch + data-center ASN = set quarantine_reason = "Geolocation mismatch".
  9. Converge branches. After all branches, add an "If any branch was true" action group: set lifecycle stage to "Bot Suspect", copy current lifecycle stage to original_lifecycle_stage, add to "Bot Quarantine" list, set is_bot_suspect = true.
  10. Internal notification. Send email or Slack message to operations with contact name, email, form name, and quarantine_reason.
  11. Optional: Suppress marketing emails. Add the contact to a suppression list used in marketing email exclusion criteria.

Detection signals you can trust (and why)

The source pack identifies forensic indicators that survive spoofing attempts:

  • Superhuman input speed — bots populate multiple form inputs in milliseconds; humans need seconds (source S4).
  • Lack of UI focus states — script inputs arrive without mouse coordinate swaps, focus triggers, or scroll telemetry (source S4).
  • Absence of humanlike mouse tremor — robotic linear movements, grid-aligned patterns, and superhuman click speed (<1 ms) are flagged by BotRefund's pointer and motion behavior modules (source S2).
  • Headless browser fingerprints — missing hardware rendering profiles, inconsistent navigator properties, and automation tool signatures (Puppeteer, Playwright) (source S4).
  • Session behavior anomalies — no scrolling, uniform click paths, abnormally short or long dwell times, and zero meaningful page engagement (source S7).

These signals are captured client-side and summarized into the risk score that flows into your hidden form field. Server-side-only checks (IP reputation, user-agent) miss advanced residential-proxy botnets; client-side telemetry closes that gap (source S6).

Quarantine actions that protect downstream systems

  • Lifecycle stage "Bot Suspect" keeps the contact out of MQL/SQL reporting and lead-scoring models.
  • Static quarantine list gives sales and marketing a single view to audit weekly. Do not delete these contacts; they are evidence for ad-platform refund claims (source S1, S8).
  • Preserve original lifecycle stage so a false positive can be restored with one click.
  • Notification to ops ensures human review within 24 hours. Include a link to the contact record and the raw BotRefund session replay URL if available.
  • Marketing email suppression prevents wasted sends and protects sender reputation.

Verification step: prove the workflow works

  1. Submit a test form normally — confirm the contact enters your normal lifecycle and is not quarantined.
  2. Submit the same form with the honeypot field manually populated (use browser dev tools) — confirm quarantine, correct reason logged, notification sent.
  3. Use BotRefund's test mode or a headless script to simulate a superhuman-speed submission — verify the risk score crosses your threshold and triggers quarantine.
  4. Check the "Bot Quarantine" list daily for the first week; review false-positive rate. Adjust the risk-score threshold if legitimate leads are caught.

Key facts

FactDetailSource
BotRefund refund success rate for high-volume advertisers83%S2
Average bot click rate identified in Digitopia case study19%S1
Ad spend recovered in Digitopia case study$18,200S1
Conversion rate increase after bot suppression+22%S1
Forensic indicators used by BotRefundSuperhuman input speed, lack of UI focus states, abnormally low app activity, pointer jitter, hardware rendering profilesS4
Client-side detection modulesClick behavior, trap behavior, pointer behavior, motion behavior, speed behavior, path behavior, engagement behavior, session behavior, VPN detectionS2
Signals worth investigating per BotRefund audit workflowContactability, timing, session behavior, campaign patterns, CRM outcomeS7

Limitations and when this approach does not apply

  • Requires BotRefund (or equivalent client-side telemetry). HubSpot native forms alone cannot detect headless browsers or superhuman input speed.
  • False positives exist. Fast typists, autofill users, and accessibility tools can trigger speed or focus-state flags. Always keep the human review step.
  • Does not block the form submission. The workflow runs post-submit. If you need pre-submit blocking, implement BotRefund's client-side suppression (source S4 mentions "suppresses registration pixel" — similar logic can prevent form submit).
  • IP blocklists decay. Residential proxy networks rotate IPs daily. Treat IP matching as a supporting signal, not a primary trigger.
  • Geolocation checks need enrichment data. Without a company-location data source (Clearbit, ZoomInfo, manual), the mismatch check cannot run.
  • Custom code actions require Operations Hub Professional or Enterprise. On Starter/Professional without Operations Hub, use a webhook to an external function (AWS Lambda, Cloudflare Worker) for IP/geo checks.

Terminology

Honeypot field
A form input hidden via CSS (display:none or position:absolute off-screen). Humans never see it; bots that parse the DOM often fill it.
Headless browser
A browser running without a GUI, controlled by automation scripts (Puppeteer, Playwright, Selenium). Used for scraping and form spam.
Pointer jitter
The microscopic tremor in human mouse movement. Absence indicates synthetic input.
Pixel poisoning
When bot conversions fire tracking pixels, teaching ad-platform algorithms to optimize for bot-like users (source S5).
FBCLID / Click ID
Meta's and Google's click identifiers. Capturing them at landing enables platform refund disputes (source S8).
Quarantine list
A static HubSpot list used to isolate suspect contacts from marketing and sales workflows while preserving data for audit.

FAQ

Can I do this without BotRefund?

You can build a weaker version using only HubSpot native data: form submission timestamp, honeypot field, and a third-party IP reputation API. You will miss headless-browser detection, pointer behavior, and input-speed forensics. The source pack shows these client-side signals catch bots that pass server-side checks (source S6).

What risk-score threshold should I start with?

Start at 70 (on a 0-100 scale). Review the quarantine list daily for two weeks. If false positives exceed 5% of quarantined contacts, raise to 80. If known bot submissions (from your own test scripts) are not caught, lower to 60.

How do I handle false positives?

In the contact record, change lifecycle stage back to the value in original_lifecycle_stage, set is_bot_suspect = false, remove from "Bot Quarantine" list, and add a note with the reason (e.g., "Legitimate user with autofill"). Feed this back to BotRefund support to improve the model.

Does this workflow affect my ad-platform conversion tracking?

No. The workflow runs in HubSpot after the form submit. To prevent pixel poisoning, use BotRefund's client-side suppression which stops the conversion pixel from firing for suspected bots (source S4, S5).

Can I automate the IP blocklist update?

Yes. BotRefund's VPN detection and data-center ASN flags (source S2) can feed a daily-updated CSV or API endpoint. Your custom code action pulls the latest list at workflow runtime.

What if I use HubSpot's native "quarantined contacts" feature?

HubSpot's built-in quarantine is for email deliverability (hard bounces, spam complaints), not bot detection. Use a custom lifecycle stage and static list as described; do not rely on the native quarantine segment.

How much does BotRefund cost?

Pricing is tiered by monthly ad spend: under $10K, $10K-$50K, $50K-$250K, $250K-$1M, $1M-$5M, over $5M (source S2). A free bot audit is available before purchase.

Further reading and comparison sources

These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.

Learn more

Visit the website for more information.

Recommended Solution

Ready to Take the Next Step?

See how our verified tools and services help you put this guide into practice.