Need Help with Branching Flow and Looping Actions for LLM Integration

I managed to solve my problem and the details are here in this post.