You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share some useful Dify workflows, suitable for both personal use and learning. Please use Dify version 0.13.0 or above to import. Features like parallel tasks, session variables, forms, and echart rendering are now supported. Agent nodes are a feature of version 1.0 and later, please use the latest version of DIFY for import whenever possible.
All Workflows are basically free to use. More Workflows are being collected and organized...
Sharing Group
A wechat sharing group has been created, feel free to join if interested. If you have questions about workflows, we can discuss them together. (Updated 2025/04/17)
The main groups are over 200 members. Add the group owner's friend, mention "dify", and you'll be added to a larger group. However, WeChat risk control sometimes prevents adding, you can try again later.
Of course, you can also join the new groups, which currently have fewer people. A group usually fills up to 200 members in 1-2 days.
Frequently Asked Questions
Here are some common questions from the group, updated periodically. The content won't be extensive, but hopefully helpful.
Is there a domestic mirror source configuration for Dify in China?
A: I usually prefix all image links with dockerpull.org.
How to install third-party libraries like pandas in sandbox?
A: Open `/docker/volumes/sandbox/dependencies/python-requirements.txt`, add the required dependencies, and restart sandbox.
How can scheduled tasks be handled? I want to run a certain workflow periodically.
A: You can refer to the project https://github.com/leochen-g/dify-schedulePassing string data between nodes shows limit exceeded, how to handle this?
A: Modify a section in `.env`:
CODE_MAX_STRING_LENGTH: 1000000
TEMPLATE_TRANSFORM_MAX_LENGTH: 1000000
Restart the container.
After getting an image URL, can it be displayed in the chat window? I tried markdown but nothing showed up.
A: Your approach is correct, but the image isn't showing because it doesn't support cross-origin requests (CORS).
I have a question, uploading large files to the knowledge base results in an error. After modifying the configuration file, I still can't upload large files. Here is the modified part in the configuration file for file upload;
A: Nginx also needs to be modified; it's in the .env file; search for nginx, you should be able to find it.
Knowledge base perpetual queuing issue
A: Modify this line in `.env`: `LOG_FILE=/app/logs/server.log`; then restart the container.
Where can I self-study Dify?
A: You can refer to https://dify101.comWhat are good solutions for generating charts in Dify?
A: Dify has some built-in charting functions, including bar charts, line charts, etc. You can also write an Echarts plugin yourself to read data from a database and draw charts.
Is DuckDuckGo translation unavailable now?
A: It's likely the server has a proxy enabled, but Dify, running inside Docker, does not.
Exploring Dify's official example applications, they are all in English. How to switch to Chinese?
A: Click on your profile picture in the top right corner, Settings, Language, first switch to another language, then switch back to Chinese.
What to do if I forgot the admin password?
A: Execute the following command: `docker exec -it docker-api-1 flask reset-password`
SANDBOX
If running pandas, numpy>2.0, matplotlib, scikit-learn code in the sandbox keeps throwing errors, you can use another simple version I developed: dify-sandbox-py. These dependencies have been tested and work.
DIFY 1.0 Plugins
The dify_plugin_collection repository stores installation packages for DIFY's official marketplace plugins, convenient for offline users to choose freely, updated periodically.
If you wish to develop plugins, I have source code for two plugins: google translate and conversation Agent, hoping they can serve as a reference.
Reference Screenshots
All DSLs are in workflow mode, which can be conveniently published as tools and embedded in ChatBot processes. Workflows include basic inputs, conditional judgments, variable aggregators, outputs, and other components.
DSL Directory
You can refer to the description of each yml below to find the Workflow you need, then locate the corresponding file in the DSL folder, copy the file's URL, and import it into your Dify account.
2025-04-17 Update
File
Description
Source
sanic-web
This is a database Q&A project using DIFY as the service layer, with an independent web interaction interface. Please visit https://github.com/apconw/sanic-web for details. The project is highly complete; follow the documentation step by step to start. Using ollama's qwen and deepseek models yields good results.
If you want the knowledge base retrieval effect to be text accompanied by images, you need to add remote image links in the knowledge base. Refer to this example, which includes a markdown file.
Uses Dify 1.0's Agent node to demonstrate travel information gathering, Tool invocation, and dialogue history context storage. Stores conversation messages in session variables to include in the Agent's thinking context.
Use sandbox to read and parse files. Requires dify-sandbox-py and mounting the upload directory. This is an example of pandas reading CSV. Refer to the source link on the right for specific methods.
Execute code generated by LLM via sandbox. Since the code node cannot directly reference LLM's code, it's executed via HTTP request. Here is an example of analyzing CSV.
Data analysis example. Can query the database according to requirements, generate corresponding interpretations and charts. The example includes the workflow file and a Flask service.
WeChat Group: 简单&平凡@ (Simple & Ordinary@)
2024-11-29 Update
File
Description
Source
LanguageConsistencyChecker.yml
Tri-lingual checker, mainly for optimizing translated content. It also has a companion web frontend.
Use matplotlib for plotting, output images as base64, and render through replies. Note: Official sandbox has complex permissions, matplotlib won't work even after installation. Please use dify-sandbox-py
Using Baoyu's Prompt, literal translation -> reflection -> idiomatic translation, to convert Chinese into high-quality English.
N/A
DuckDuckGo 翻译+LLM 二次翻译.yml (DuckDuckGo Translate + LLM Second Translation)
Similar to three-step translation, but replaces the first literal translation with a traditional translation engine, saving Tokens, improving efficiency and quality.
N/A
translation_workflow.yml
Using Agentic Workflow proposed by Andrew Ng, input input language, target language, country, original text (4 parameters) to provide more nuanced translation results
Automatically generates cards like those on Xiaohongshu (Little Red Book).
🔥Dify Workflow-Agent Design Exchange Group @Arthur
Dify 运营一条龙.yml (Dify Full Marketing Suite)
One-stop operation for Xiaohongshu, Douyin, Weibo, Bilibili. (Updated 2024/11/21: Main flow is likely broken due to image generation service issues and resolution limits, rendering incorrect images. Consider it for the concept.)
Example adding short-term memory and Chain of Thought (CoT). The automated Q&A bot can also proactively reach out, selecting the best response based on context