You should create your first card, for example a raw input card
Question : What do you want ? Write main or main menu if you want to go back to the menu
(You store in workflow.input)
Then you copy the execute code card I gave you, and create a variable called workflow.main
Then you set up an expression card with the condition : workflow.main === 'X'
You create another expression card with the condition : workflow.main === 'Y'