Alright, followed your advice and made some changes. Infact, I wanted to take ons tep at a time, So I deleted the Switch flow and instead want to see whether a default flow on form submit works.
There is definitely some progress, but not 100% yet.
What I do now is, I call the first API on form submit and on success, I set the storage path of first variable, sleep for 600 milliseconds, then set the storage path for second, then sleep and so on. Finally I call the 2nd API.
What happens now is, in the 2nd API, only the 1st storage variable is set and the other two goes as null. Hence it fails.
I gave Sleep thinking probably the 2nd API is invoked even before the values are set. Looks like it's something else.
Ooof!