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: AIEdgeCondition and LogicEdgeCondition, with different syntax.

Now, the issues:
  1. 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.
  2. 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".
  3. 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.
I believe this is a serious issue and should be addressed in docs and dashboard, as it is currently extremely confusing.
image.png
Learn to create robust, deterministic conversation flows with a visual builder.
Was this page helpful?