[FeatureRequest] Add the option to download the Results of a workflow as a FILE
Self Checks
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 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.
Currently the result of a workflow is displayed in the "Result" tab of the test run box. This Result tab only shows the result if it is in json format. But very often that is not the case. Many different output formats can be generated by the workflows, including binaries, XML files, markdown files, html pages, PDFs, rst files, docs, xls, web fonts, svg images, geo files, logs, epubs, csv, css, ssh keys, jupyter notebooks, guf, audio files, etc. Those files are not correctly displayed in the Result tab, and doing copy/paste would damage the content formatting. For example I created a workflow that generated as output XML files, but the Result tab returned an XML that was all escaped wrong, ruining the entire workflow and wasting my money.
PROPOSED SOLUTION:
Add the option to download the Results (or the 'Results' if it is an Array of files) of a workflow as a FILE or a Zip archive of many files, no matter what is the output format.
2. Additional context or comments
It would also be useful to be able to download all temp files of a workflow, even if the workflow was interrupted for an error and never completed. See the following related issues for more on this:
#9121
#9127
3. Can you help us with this feature?
- [ ] I am interested in contributing to this feature.
We plan to support files in workflows starting from version 0.10.0. After that, you will be able to convert results into files and download them using official or third-party nodes/tools.
Hi, @Emasoft. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You requested a feature to download workflow results as files or a zip archive.
- This request aims to address display and formatting issues in the "Result" tab and allow downloading temporary files from interrupted workflows.
- The request is related to issues #9121 and #9127.
- Laipz8200 mentioned that support for files in workflows is planned for version 0.10.0.
- You and another user, astin75, reacted positively to this planned feature.
Next Steps:
- Please let us know if this issue is still relevant to the latest version of the Dify repository. If so, you can keep the discussion open by commenting on this issue.
- Otherwise, this issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!
0.10.0 doesn't address which version is expected to add this feature