Hello I am trying to find a way where you can merge two separate repeating groups into one. I currently have two separate repeating groups for a movie script scene from Chat GPT. One group is displaying the name of the character talking and the other with the dialogue the character says. As you can see here since they are not in the same repeating group and the repeating groups become out of sync which makes its hard to determine who’s line it is as the scene goes on:
My question is: How can I add these two things into the same repeating group so that they stay symmetrical and in sync with each other? I cannot use a data type because I am currently using a “split by…” function to separate the text into different lines of the repeating group. I am asking Chat gpt for a script and its giving me a single response that I separate into different repeating group lines by using “split by…”. So unless there is another way to split chat GPT’s response into multiple repeating group lines I have to make sure I stick with using custom states. I am using custom states currently for these repeating groups as you can see below. I would greatly appreciate help with solving this issue.