I’m working with an external API that only returns 100 employees at a time. Our company currently has 115 employees, so I need to call the API twice—once with start index = 0 and then again with start index = 100.
In my current setup, I have two separate workflows that are almost identical, except for the start index parameter. Both workflows trigger the same backend workflow to handle the API response and store the data.
Is there a way to merge these two workflows into a single button click (i.e., one workflow) that calls the API twice with different start index values and processes the results accordingly?
I would like to avoid creating redundant workflows for this.
Thanks in advance for your suggestions!