Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Agent Node - Add structured JSON response (similar to LLM Node)

Open GG3T opened this issue 3 months ago • 2 comments

Feature Description

Currently, the Agent Node does not support structured JSON output, unlike the LLM Node. This makes it harder to work with deterministic outputs for APIs, webhooks, or database integrations, forcing the use of workarounds such as regex, extra nodes, or manual post-processing.

Add an option in the Agent Node for structured JSON responses, with support for schema definition (similar to the LLM Node), allowing:

Define a JSON Schema.

Automatically validate the output.

Expose the parsed JSON in the node’s output.

Benefits:

Easier integrations.

Less need for post-processing.

More reliable and consistent agent responses.

Feature Category

New Node/Component

Problem Statement

No response

Proposed Solution

No response

Mockups or References

No response

Additional Context

No response

GG3T avatar Sep 25 '25 18:09 GG3T

Created a PR for this issue : https://github.com/FlowiseAI/Flowise/pull/5470

aibysid avatar Nov 13 '25 08:11 aibysid

thanks

GG3T avatar Nov 14 '25 16:11 GG3T

Hello, This is awesome must have feature, many thanks to @aibysid!! Does anybody know - are there any chances that it will be merged shortly?

anteyk avatar Nov 24 '25 09:11 anteyk