I have a JSON from aggregate node like this which has array string
[{“usernames”: [“_ablehhehee”,“gudangcbr”,“toprent.vespa”,“rentalbike.id”,“toprent.motosports”,“transgomotor.rent”,“centermotors.id”,“centermotors.jakarta”,“toprentmotor”,“ittiba_salaf”,“motoxpert.id”,“_lelanginaja”,“rifato”,“garasimotor2022”,“layzmotor”,“andrelyanica”,“motorbekas.jakarta”,“tjmoge_id”,“jktinfo”,“riple.motorental”]}]
and then I want to pass those values to input JSON expression on the next node like this
{
“includeAboutSection”: false,
“usernames”: // I want the array string in here
}
I have tried like this
{
“includeAboutSection”: false,
“usernames”: {{$json.usernames}}
}
but I have error like this
Could not parse custom body: { “includeAboutSection”: false, “usernames”: _ablehhehee,gudangcbr,toprent.vespa,rentalbike.id,toprent.motosports,transgomotor.rent,centermotors.id,centermotors.jakarta,toprentmotor,ittiba_salaf,motoxpert.id,_lelanginaja,rifato,garasimotor2022,layzmotor,andrelyanica,motorbekas.jakarta,tjmoge_id,jktinfo,riple.motorental }
