Answer Node Enhancement #12781

Closed
opened 2026-02-21 19:09:01 -05:00 by yindo · 1 comment
Owner

Originally created by @ClamJom on GitHub (Apr 10, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Sometimes I want the workflow to return more than just text, such as some intermediate variables during the run. I hope to add this option to the reply node, for example, I can choose which variables to return and finally return these variables in the form of JSON in the returned result.

Image

Image

2. Additional context or comments

In blocking mode, this information will be returned together; in streaming mode, this information can be carried back in the last block.

Image

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @ClamJom on GitHub (Apr 10, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Sometimes I want the workflow to return more than just text, such as some intermediate variables during the run. I hope to add this option to the reply node, for example, I can choose which variables to return and finally return these variables in the form of JSON in the returned result. ![Image](https://github.com/user-attachments/assets/cd75b443-a366-44f3-8f76-92d3425ea868) ![Image](https://github.com/user-attachments/assets/b378fb32-a98b-42dd-a23d-328bb50c0760) ### 2. Additional context or comments In blocking mode, this information will be returned together; in streaming mode, this information can be carried back in the last block. ![Image](https://github.com/user-attachments/assets/f60ecdf4-566f-40ed-aa66-50fd36424aff) ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:09:01 -05:00
yindo closed this issue 2026-02-21 19:09:01 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 12, 2025):

Hi, @ClamJom. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • Enhancement proposed for the answer node in workflows to return additional data like intermediate variables in JSON format.
  • Compatibility suggested for both blocking and streaming modes, with data returned in the final block for streaming.
  • You expressed interest in contributing to the development of this feature.
  • No further comments or activity on the issue.

Next Steps

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here to keep the discussion open.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (May 12, 2025): Hi, @ClamJom. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary** - Enhancement proposed for the answer node in workflows to return additional data like intermediate variables in JSON format. - Compatibility suggested for both blocking and streaming modes, with data returned in the final block for streaming. - You expressed interest in contributing to the development of this feature. - No further comments or activity on the issue. **Next Steps** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here to keep the discussion open. - If there is no further activity, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12781