Skip to content

Debug Flow

Common Bugs and How to Read Their Error Messages

Section titled “Common Bugs and How to Read Their Error Messages”
Symptoms when savingMeaningFix
Flow contains a circular reference involving node 'X'There is an edge creating a back-edge in the DAG.Find the edge whose target can return to its source. Replace it with an end resolve_conversation + re-entry via keyword.
Unknown node type 'foo'Unknown node type.Old builder version or a typo. Recreate the node from the palette.
every option must have an outgoing edgeThe question node has no connected edge.Drag an edge from each per-option handle to the target.
Runtime symptomsMeaningFix
”Sorry, I didn’t understand. Please choose one of the available options.”find_next_node_id could not match the question reply.The button has no outgoing edge with sourceHandle == option.id. Or the rule condition is checking the wrong variable (user_message instead of button_id).
The next node fires before the document arrivesUse wait (seconds) instead of waitForDelivery. Uploading a document takes 5–10 seconds.Replace wait(2) with waitForDelivery(wait_for=delivered, timeout_seconds=30).
Keyword trigger does not fireThe contact has a paused run that is swallowing inbound messages.End the previous flow with resolve_conversation.
The flow ends silently after the third messageThe node has no outgoing edge — the engine treats it as the end of the flow.Open the flow, click each node, and verify the outgoing edges.
{{my_var}} displays literally as textThe variable does not exist at that point in the flow.Check the spelling. Check that the upstream node actually writes that variable.
The flow stalls forever waiting for a webhookcorrelationIdTemplate not substituted, or the external system did not POST to the correct URL.Open the run drill-down. See inputs from step waitForWebhook — correlation_id must be a real value, not flow__.

The Run Drill-Down is your first stop. Every run records every executed step along with inputs, outputs, and duration in the BO panel (or the portal Activity tab for tenants with access).

  1. Send the trigger from the test number — keyword, first inbound, etc.
  2. Open the run. Verify status:
    • running — still executing.
    • stalled — paused at the pause node. paused_at_node_type tells you where.
    • completed — reached the end node successfully.
    • failed — an error node. Check the column error.
  3. Trace through its steps. Each step has inputs (the variables the node saw) and outputs (what it wrote).
  4. Compare expected vs actual at branch points. Output of node condition node includes which rule matched (or default if none).
  5. If a run stalls forever — check the variable snapshot at the pause node. waitForWebhook with correlation_id = "flow__" means the template variable was not populated — add a setVariable upstream.
  6. If the run completed but the user got the wrong message — check the variable value in inputs step sendMessage/sendMedia. Substitution may have written an empty string somewhere.