Question

Reusable flow

  • 19 April 2024
  • 2 replies
  • 22 views

Hello,

I have part of my flow for collecting and verifying contact details that I want to reuse in many flows, I don't want to just copy and past that in all the flows since they are a lot and going back to update all the flows when I want to modify that part is not ideal, I'm looking for something like functions in programming  where I can include it in all my flows and if I need to modify it, i do so in one place, any suggestions? Thanks!


2 replies

.

Userlevel 6
Badge +4

Just keep that logic on a separate flow, so you can connect to it whenever necessary.

I build all my bots like that, and I keep ‘logic’ flows separate from ‘message’ flows. That way I can re-use the logic flows anywhere on my bot and on different channels (IG/Messenger/Whatsapp/Telegram) without having to copy + paste or having to maintain 500 different copies of the same thing.

Reply