[Feature] Allow paste node into nested block, such as loop and iteration #16297

Closed
opened 2026-02-21 19:25:30 -05:00 by yindo · 5 comments
Owner

Originally created by @CrabSAMA on GitHub (Aug 20, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 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.

When I develop one workflow, at start I will make an linear workflow to organize node. But as the development deepens, I found it need to use loop and iteration block to nest node, which can achieve better results.

Currently I need to re-add node in the nest block one by one, if one case has many node, I will spent a lot of time, I need to re-add node, resubmit the prompt, reedit the parameters, and more……

It is very painful, isn't it?

So we need the feature about allow paste node into nested block, it can imporve our efficiency significantly.

2. Additional context or comments

I will make a pr for this feature, if anyone have any question and some new idea, please tell me at any time!

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @CrabSAMA on GitHub (Aug 20, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [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. When I develop one workflow, at start I will make an linear workflow to organize node. But as the development deepens, I found it need to use loop and iteration block to nest node, which can achieve better results. Currently I need to re-add node in the nest block one by one, if one case has many node, I will spent a lot of time, I need to re-add node, resubmit the prompt, reedit the parameters, and more…… It is very painful, isn't it? So we need the feature about allow paste node into nested block, it can imporve our efficiency significantly. ### 2. Additional context or comments I will make a pr for this feature, if anyone have any question and some new idea, please tell me at any time! ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement🌊 feat:workflow labels 2026-02-21 19:25:30 -05:00
yindo closed this issue 2026-02-21 19:25:31 -05:00
Author
Owner

@CrabSAMA commented on GitHub (Aug 20, 2025):

PR here: https://github.com/langgenius/dify/pull/24234

@CrabSAMA commented on GitHub (Aug 20, 2025): PR here: https://github.com/langgenius/dify/pull/24234
Author
Owner

@HaiyangPeng commented on GitHub (Aug 26, 2025):

hi @CrabSAMA , can this pr use for adding another iteration node in an existing iteration node in a nested way?

@HaiyangPeng commented on GitHub (Aug 26, 2025): hi @CrabSAMA , can this pr use for adding another iteration node in an existing iteration node in a nested way?
Author
Owner

@CrabSAMA commented on GitHub (Aug 26, 2025):

hi @CrabSAMA , can this pr use for adding another iteration node in an existing iteration node in a nested way?

No, at the dify newest version did not allow to nested node re-nesting. So I follow it and did not modify this logic. IMO this behavior will make workflow become more complex and I did not have this requirment at my work currently.

@CrabSAMA commented on GitHub (Aug 26, 2025): > hi [@CrabSAMA](https://github.com/CrabSAMA) , can this pr use for adding another iteration node in an existing iteration node in a nested way? No, at the dify newest version did not allow to nested node re-nesting. So I follow it and did not modify this logic. IMO this behavior will make workflow become more complex and I did not have this requirment at my work currently.
Author
Owner

@HaiyangPeng commented on GitHub (Aug 26, 2025):

hi @CrabSAMA , can this pr use for adding another iteration node in an existing iteration node in a nested way?

No, at the dify newest version did not allow to nested node re-nesting. So I follow it and did not modify this logic. IMO this behavior will make workflow become more complex and I did not have this requirment at my work currently.

Thanks for the explanation and your contribution.

@HaiyangPeng commented on GitHub (Aug 26, 2025): > > hi [@CrabSAMA](https://github.com/CrabSAMA) , can this pr use for adding another iteration node in an existing iteration node in a nested way? > > No, at the dify newest version did not allow to nested node re-nesting. So I follow it and did not modify this logic. IMO this behavior will make workflow become more complex and I did not have this requirment at my work currently. Thanks for the explanation and your contribution.
Author
Owner

@CrabSAMA commented on GitHub (Aug 29, 2025):

@crazywoola Can you please evaluate this feature? Thanks

@CrabSAMA commented on GitHub (Aug 29, 2025): @crazywoola Can you please evaluate this feature? Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16297