Hi,
I'm trying to do a foreach loop kind of workflow, but I'm having the damnest time trying to get it to work.
example: I have a big block of text of 3000 words, and I use text formatter to split the text into multiple segments based off # of characters
Segment Index = All (simple response shows me it split into 5) (simple off shows me a JSON output)
From here is where I want my foreach loop to run: i.e. : foreach ($index in $segmentIndex), do {operation x y z}
But I'm having the hardest time finding an action step that knows how to iterate this correctly.
The iterator app only shows me the first result, not the other 4..
The array function only allows me to choose a specific index (tried doing 0, 1, 2 as index and it gives an error)
the data transformer / line itimizer shows a null response on the JSON from the text formatter
Any help would greatly be appreciated!
Thanks,
MDB
P.S. it's the "T to G" workflow
I'm trying to do a foreach loop kind of workflow, but I'm having the damnest time trying to get it to work.
example: I have a big block of text of 3000 words, and I use text formatter to split the text into multiple segments based off # of characters
Segment Index = All (simple response shows me it split into 5) (simple off shows me a JSON output)
From here is where I want my foreach loop to run: i.e. : foreach ($index in $segmentIndex), do {operation x y z}
But I'm having the hardest time finding an action step that knows how to iterate this correctly.
The iterator app only shows me the first result, not the other 4..
The array function only allows me to choose a specific index (tried doing 0, 1, 2 as index and it gives an error)
the data transformer / line itimizer shows a null response on the JSON from the text formatter
Any help would greatly be appreciated!
Thanks,
MDB
P.S. it's the "T to G" workflow
Last edited: