GOHIGHLEVEL ANSWERS & PROMPTS: PLAYBOOK T96 · 24-HOUR FETCH-VS-DONE HEARTBEAT CHECKS, PENDING-TO-DONE IDEMPOTENCY LOCKS & HUMAN APPROVAL GATES
AUTHOR: DANIEL HALLMAN
KEYWORD: UNATTENDED FLOWS
PLAYBOOK T96 · 24-Hour Fetch-vs-Done Heartbeat Checks, Pending-to-Done Idempotency Locks & Human Approval Gates KEYWORD: UNATTENDED FLOWS

How Do You Keep Unattended n8n and GoHighLevel Workflows From Failing Silently or Double-Posting on Retries?

Answer: Unattended n8n and GoHighLevel workflows usually fail in two quiet ways: a scheduled scraper or webhook stops returning rows for three days and looks identical to a slow business week, or an HTTP retry fires after a timeout when the first request actually succeeded and double-posts the message. In GoHighLevel, track both Last Fetch Status and Outbound Publish State in Settings > Custom Fields, write a pending state with a unique request ID before sending in Automation > Workflow Builder, and run a 24-hour heartbeat check in Automation > Workflow > Execution Logs.

STEP-BY-STEP INSTRUCTIONS + ANNOTATED GHL SCREENSHOTS

Steps in GoHighLevel

  1. STEP 1
    In Settings > Custom Fields, create fields for Last Fetch Status (answered_with_rows, answered_zero_rows, source_unreachable), Outbound Publish State (pending, done), and Outbound Request Key so your workflow records whether the source answered separately from whether downstream publishing finished.
    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
  2. STEP 2
    In Automation > Workflow Builder, set Outbound Publish State to pending with a unique Outbound Request Key before calling any external publish or messaging action, flip it to done on response, and check the target before retrying any pending record older than 10 minutes so timeout retries never double-post.
    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 Automation > Workflow > Execution Logs, schedule a daily 24-hour heartbeat workflow that alerts your team in Conversations > Team Inbox whenever a critical workflow has no fetch log in the last 24 hours or reports answered_zero_rows twice in a row.
    REAL GHL SCREEN · WORKFLOW > EXECUTION LOGS ANNOTATED GHL SCREENSHOT
    Annotated GoHighLevel Workflow Execution Logs screenshot showing Execution logs tab, All actions and All statuses filters, and populated contact run rows
    1Open Execution Logs Tab 2Filter by Action Type or Status 3Search Contact to Trace Runs
MODE: AGENT PROMPT
PASTE INTO CLAUDE CODE, CURSOR, CHATGPT, OR GOHIGHLEVEL ASK AI AGENT PROMPT
Add a fetch-vs-done heartbeat and pending-to-done idempotency lock to unattended workflows in sub-account <YOUR_LOCATION_ID>:
1. In Settings > Custom Fields, create Last Fetch Status (answered_with_rows, answered_zero_rows, source_unreachable), Outbound Publish State (pending, done), and Outbound Request Key fields.
2. In Automation > Workflow Builder, write Outbound Publish State = pending before any external publish or message step, update to done on completion, and verify target state before retrying pending records older than 10 minutes.
3. In Automation > Workflow > Execution Logs, run a daily 24-hour heartbeat check that alerts staff when a scheduled workflow fails to log a clean fetch.
Cause
  • Adding basic HTTP retry rules and a completion log sheet still leaves two production blind spots: when an upstream source never answers or changes its HTML/JSON structure, zero returned rows look just like a quiet day with no new leads
  • and when a publish step times out waiting for a response, an automatic retry sends a duplicate message or creates a second record.
GoHighLevel Configuration
  • Log the upstream fetch result (answered_with_rows, answered_zero_rows, source_unreachable) separately from the completion timestamp in Settings > Custom Fields, lock outbound actions with a pending > done status in Automation > Workflow Builder
  • and schedule a daily heartbeat audit in Automation > Workflow > Execution Logs.
MENU PATH REFERENCE

GoHighLevel Menu Paths

Step Menu Path in GHL Action
Step 1 Settings > Custom Fields Create fields for Last Fetch Status (answered_with_rows, answered_zero_rows, source_unreachable), Outbound Publish State (pending, done), and Outbound Request Key so your workflow records whether the source answered separately from whether downstream publishing finished.
Step 2 Automation > Workflow Builder Set Outbound Publish State to pending with a unique Outbound Request Key before calling any external publish or messaging action, flip it to done on response, and check the target before retrying any pending record older than 10 minutes so timeout retries never double-post.
Step 3 Automation > Workflow > Execution Logs Schedule a daily 24-hour heartbeat workflow that alerts your team in Conversations > Team Inbox whenever a critical workflow has no fetch log in the last 24 hours or reports answered_zero_rows twice in a row.
3-step diagram showing Log fetch state separating zero rows from broken endpoints, Lock pending sends marking rows pending before publishing out, and Daily heartbeat check alerting when scheduled runs never finish.
VISUAL PLAYBOOK · PLAYBOOK T96 (24-HOUR FETCH-VS-DONE HEARTBEAT CHECKS, PENDING-TO-DONE IDEMPOTENCY LOCKS & HUMAN APPROVAL GATES) 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 & n8n Unattended Workflow Heartbeat Kit) and weekly live clinics.