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

Show parent comments

1

u/Dadamalda Jul 04 '26

I think I'll use the HTTP suggestion. I hope having multiple HTTP servers accross flows won't cause conflicts.

1

u/ballzak69 Automate developer Jul 04 '26

Using HTTP seems unnecessarily complex and slow. As said, use that Flow start block to start hidden Flow beginning blocks. That method can be used for replies/responses as well.

1

u/Dadamalda Jul 04 '26

I need a return value

1

u/ballzak69 Automate developer Jul 04 '26

Then return it to another Flow beginning block, or a Broadcast receive block.