GOHIGHLEVEL ANSWERS & PROMPTS: PLAYBOOK T73 · PRODUCTION AI AGENT CONCURRENCY LOCKS, PRE-WRITE RE-READS & CONFIRMATION IDS
AUTHOR: DANIEL HALLMAN
KEYWORD: PRODUCTION AGENTS
PLAYBOOK T73 · Production AI Agent Concurrency Locks, Pre-Write Re-Reads & Confirmation IDs KEYWORD: PRODUCTION AGENTS

What Causes Production AI Agents to Act on Stale Data or Double-Send (And How Do You Prevent It in GoHighLevel)?

Answer: Production AI agents break when a customer sends three quick texts in a row (spawning overlapping runs), when the agent acts on a calendar or stage value it read several steps earlier that has since changed, or when a retry fires after a timeout without checking whether the first booking succeeded. Turn off Allow Re-entry and batch rapid inbound texts in Automation > Workflow > Settings, re-check the live stage and slot in Automation > Workflow Builder right before writing, and store a confirmation ID in Settings > Custom Fields.

STEP-BY-STEP INSTRUCTIONS + ANNOTATED GHL SCREENSHOTS

Steps in GoHighLevel

  1. STEP 1
    In Automation > Workflow > Settings, turn Allow re-entry off on your active agent handling workflow and start with a short 5-to-10-second wait so three rapid texts from the same customer bundle into a single run instead of launching three parallel replies.
    REAL GHL SCREEN · WORKFLOW > SETTINGS (RE-ENTRY & STOP ON RESPONSE) ANNOTATED GHL SCREENSHOT
    Annotated GoHighLevel Workflow Settings screenshot showing Settings tab, Allow re-entry toggle, and Stop on response toggle
    1Open Workflow Settings Tab 2Toggle Allow Re-entry Rules 3Enable Stop on Response
  2. STEP 2
    In Automation > Workflow Builder, place an If/Else check immediately in front of your booking or stage-update action to re-verify the contact's current pipeline stage, dnd status, and live calendar slot rather than relying on the state captured when the run started.
    REAL GHL SCREEN · AUTOMATION > WORKFLOW BUILDER CANVAS ANNOTATED GHL SCREENSHOT
    Annotated GoHighLevel Workflow Builder canvas screenshot showing If/Else condition branch, priority routing steps, and Builder/Settings/Execution logs tabs
    1Add If/Else Condition & Tag Guard 2Chain Priority & Wait Steps 3Switch to Settings or Execution Logs
  3. STEP 3
    In Settings > Custom Fields, save the confirmation artifact (Last Booking Appointment ID or Last Outbound Message ID) as soon as the action completes so any timeout retry checks that field first and skips duplicate sends.
    REAL GHL SCREEN · SETTINGS > CUSTOM FIELDS ANNOTATED GHL SCREENSHOT
    Annotated GoHighLevel Custom Fields screenshot showing Settings > Custom Fields menu, Contact/Opportunity/Company object filters, and + Create field button
    1Open Settings > Custom Fields 2Filter by Contact or Opportunity Object 3Click + Create Field
MODE: AGENT PROMPT
PASTE INTO CLAUDE CODE, CURSOR, CHATGPT, OR GOHIGHLEVEL ASK AI AGENT PROMPT
Prevent concurrent agent runs, stale-state writes, and duplicate retry sends in sub-account <YOUR_LOCATION_ID>:
1. In Automation > Workflow > Settings, disable Allow re-entry on the active inbound message workflow and add an initial 8-second batching wait to bundle consecutive customer texts.
2. In Automation > Workflow Builder, add an If/Else check immediately before any calendar booking, opportunity update, or outbound message to verify current stage and slot availability.
3. In Settings > Custom Fields, record Last Booking Appointment ID and Last Outbound Message ID after each irreversible action and skip retries when already populated.
Cause
  • In demos, a user sends one clean prompt and waits.
  • In production, customers text in three short bursts five seconds apart, human reps move pipeline cards while an agent is mid-run, and webhook timeouts leave the workflow unsure whether an appointment or email already went through.
  • Without an active thread lock, a pre-write state check, and a saved receipt field, two runs reply over each other or book over a slot that just filled.
GoHighLevel Configuration
  • Disable Allow Re-entry and add a short message-batching wait in Automation > Workflow > Settings, re-evaluate live contact and calendar conditions with an If/Else step in Automation > Workflow Builder immediately before any write action
  • and write the resulting booking or message ID into Settings > Custom Fields.
MENU PATH REFERENCE

GoHighLevel Menu Paths

Step Menu Path in GHL Action
Step 1 Automation > Workflow > Settings Turn Allow re-entry off on your active agent handling workflow and start with a short 5-to-10-second wait so three rapid texts from the same customer bundle into a single run instead of launching three parallel replies.
Step 2 Automation > Workflow Builder Place an If/Else check immediately in front of your booking or stage-update action to re-verify the contact's current pipeline stage, dnd status, and live calendar slot rather than relying on the state captured when the run started.
Step 3 Settings > Custom Fields Save the confirmation artifact (Last Booking Appointment ID or Last Outbound Message ID) as soon as the action completes so any timeout retry checks that field first and skips duplicate sends.
3-step diagram showing Batch burst texts waiting a few seconds and locking thread, Re-read before write checking live calendar and stage first, and Save booking receipt storing confirmation ID to block repeat sends.
VISUAL PLAYBOOK · PLAYBOOK T73 (PRODUCTION AI AGENT CONCURRENCY LOCKS, PRE-WRITE RE-READS & CONFIRMATION IDS) Back to Annotated GHL Screenshots ↑
DEFAULT SETUP VS. AUTOMATED WORKFLOW

Operational Comparison

Speed to Lead & Callback Safety
Default 0s Checkbox: Collides with Rep
45s Guard Workflow: Zero Collision
Caller Reply & Booking Rate
Generic 'We Missed You' SMS: 12%
Question-First Workflow SMS: 64%

Related Questions

BUILD FASTER IN GOHIGHLEVEL · FREE TRIAL BONUSES + MCP SERVER

Build this directly inside your GoHighLevel sub-account

Connect Claude Code, Cursor, or OpenAI Codex to our ghl-tools MCP Server & Rust CLI to build workflows, forms, and funnels from your editor, or start your GoHighLevel plan through our partner link to unlock $612+ in ready-to-import kits (including GHL Production AI Agent Concurrency & State Guard Kit) and weekly live clinics.