typebot.io icon indicating copy to clipboard operation
typebot.io copied to clipboard

Logic Blocks Need to be Reusable (locked blocks)

Open SweetJenna opened this issue 1 year ago • 3 comments

A huge huge huge pain is when I am using the same if condition multiple times.

E.g. a funcction:

Check_Codition|(value1): if(value1=='strawbberry'): return 1

There is ABSOLUTELY no way to reuse it. I have to copy the block to a different spot and CHANGE EVERY identical block each time I update the logic/conditional statement.

Please please please add a feature to lock blocks to each other, it will make life so simple.

SweetJenna avatar Mar 01 '24 18:03 SweetJenna

This is also useful when you want to reuse an OpenAI prompt in many locations, for example detecting language after each block.

SweetJenna avatar Mar 03 '24 10:03 SweetJenna

I'm not sure to understand. Can you provide an example bot or a video recording?

baptisteArno avatar Mar 04 '24 13:03 baptisteArno

@baptisteArno the issue is, let's say I have 2 blocks. They contain exactly the same content.

I want to re-use them. But if I edit one block, I have to make the same changes in the other block also.

SweetJenna avatar Mar 06 '24 13:03 SweetJenna

Ok then this will be possible with: #249

baptisteArno avatar Mar 07 '24 08:03 baptisteArno