Let us consider this:
You have 3 groups on the page and wish to make them visible with a specific action by user:
- Create a custom state - isVisible? - Type- Number - Default value 0
- Turn off Visible on Page Load for all the groups
- Add condition to 1st group - When isVisible? is 0, 1 for 2nd Group, 2 for 3rd Group
- When user performs a specific action in Group 1 - Run the workflow to set the state of isVisible? = 1 and so on for 3rd Group
- Make sure you turn on Collapse When hidden for all the Groups
This should solve the issue.