Hello
=>>This is what I would like to achieve: Loop over a list of handles to analyse each handle.
==>The list of handles is returned from a ChatCompletion Module in JSON. I told ChatGPT module to return this (and checked “parse JSON” in the settings:
{
“handles”: [
“@handle1”,
“@handle2”
]
}
==>This is the output bundle of the ChatCompletion Module:
{
“result”: {
“handles”: [
“@drsanjayparashar”,
“@plasticsurgeryoffer”
]
},
==>Now to loop over the array I chose the Iterator module. This is the input bundle:
[
{
“array”: [
{
“value”: “@drsanjayparashar”
},
{
“value”: “@plasticsurgeryoffer”
}
]
}
]
Input is the array:
It returns something that looks like it’s working.
==> Output bundle of the iterator module
[
{
“value”: “@drsanjayparashar”,
“IMTINDEX”: 1,
“IMTLENGTH”: 2
},
{
“value”: “@plasticsurgeryoffer”,
“IMTINDEX”: 2,
“IMTLENGTH”: 2
}
]
==> The “value” however is not accessible from the next module:
I know this question has been asked before, but I am unable to solve this on my own.
Thank you for helping.