How to select multiple exercises at once for a custom workout

Hello everyone!

I’m new to Glide and am trying to create a fitness app. I have a predefined list of exercises and a list of user-created-workouts (composed of individual exercises).

I have an Exercise screen and a Workout screen. On the backend I have an Exercise table, a Workouts table, and a Workout_Exercises table (the joining table with notes for each exercise in a workout).

What I am trying to accomplish:
1- user creates a new workout (with workout name)
2- in the Workout details page, user can click a button to add exercises
3- the user is shown list of exercises and they can click on multiple exercises to add to that workout
4- the Workout details page should then show the list of added exercises

I am able to get it to add rows of exercises to the Workout_Exercises table through an action, but I cannot seem to find a way to populate the workout name field (which has a relationship to the Workouts table).

Any help or guidance would be greatly appreciated!

Look to my app in template Store, maybe the solution is in there.

Otherwise, try to explain with a practical example and I will try to help you in some way.