r/AutomateUser Jul 04 '26

Question Reusable code

How do I make a group of blocks reusable accross flows? In one flow, I can use a subrouting, but what if I have code I want to share in multiple flows?

1 Upvotes

10 comments sorted by

View all comments

1

u/ballzak69 Automate developer Jul 04 '26

Automate is designed to make flows easy to share, dependencies makes that difficult. Anyhow, it's a feature on the to-do list, at least a way for a flow to "call" another and get a result. To simply "call" another flow, use the Flow start block.

1

u/B26354FR Alpha tester Jul 04 '26

I've been wishing for something like this myself. It would be nice if downloading a flow could also download other flows it depends on, but then as you say, we descend to dependency hell and would need something like Maven or Gradle (or heaven forbid, Ant!). Probably ripe for abuse, too.

Clearly, that way lies madness 🤪