Visual Flow Editor
Learn about using visual flow builder for Shopify Functions.
Basics
Every function has a beginning - the block named Discount / Payment customization / etc. You build the function by connecting conditions and blocks to this block. You can connect multiple blocks at once!
Duplicating blocks or branches
You can use Duplicate button to duplicate blocks or whole branches:
Disconnecting blocks
Sometimes you might want to disconnect blocks from each other. To do this - mover cursor over the center of the connecting line and press on the delete icon: