Skip to content

User Approval node in workflow not working #11

@elanandkumar

Description

@elanandkumar

Hi team,

Thank you for this wonderful code to create the agent builder. While I was trying to explore and play around with it, I felt that the user-approval node is not working correctly.

Here is my workflow created looks like:

Image

I might be missing in terms of it's actual functionality but what I observed is that no matter whether I approve or reject, it simply says workflow completed but it doesn't executed the connected nodes of it.

I tried to find more details around it in the documentation but wasn't able to get something concrete. I did some code changes to save the approvals in the convex db and getting it approved once approval button is clicked. Saved the execution as well in the DB of convex but it kept behaving similar.

Here is what I see when clicked on Run:

Image Image

Below is the user approval node detail in the execution panel:

[
  {
    "id": "e6a0145df2df887bb2b1896c7c34f4d4",
    "value": {
      "type": "user-approval",
      "workflowId": "workflow_1761576771482",
      "nodeId": "node_6",
      "pendingAuth": {
        "authId": "approval_1761739540144_k23l5ru",
        "nodeId": "node_6",
        "toolName": "user-approval",
        "status": "pending",
        "message": "Please review and approve the api call to ${lastOutput}",
        "threadId": "thread_workflow_1761576771482_1761739540103",
        "executionId": "exec_1761739537608"
      }
    }
  }
]

Post approval, I see below but there is no output for the http node

Image

Can you please guide/help on this so that I can get it working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions