Logic edges in workflows
Hey, it seems that "logic" edges do not work in Workflows and also are not documented properly.
Documentation regarding them is found here: https://docs.vapi.ai/workflows/overview#logical-conditions
and suggests that you can define logic directly on edge condition, in double curly braces. However in API Reference (https://docs.vapi.ai/api-reference/workflow/workflow-controller-create) there are distinct types of edges:
Now, the issues:
Documentation regarding them is found here: https://docs.vapi.ai/workflows/overview#logical-conditions
and suggests that you can define logic directly on edge condition, in double curly braces. However in API Reference (https://docs.vapi.ai/api-reference/workflow/workflow-controller-create) there are distinct types of edges:
AIEdgeCondition and LogicEdgeCondition, with different syntax.Now, the issues:
- By following the documentation and trying to use curly brace syntax in the dashboard does not create a logic condition but an AI one, with a prompt containing that condition - up to an LLM to interpret.
- If I create a true logic condition using an API, dashboard UI does not display it properly (see screenshot below) and crashes if I try to "Add condition".
- True logic conditions created via the API never work for me. If I have global node, it gets triggered instead of following the condition logic.

Learn to create robust, deterministic conversation flows with a visual builder.
