Using $in operator with additionalScope

Hi all,
I'm having trouble creating a simple find query that takes an "$in" parameter using additionalScope parameters.
Here is my query:
{ id : {$in : {{ usersIds }} }}
The usersIds is an array of strings I'm passing from a different JS query using the additionalScope parameter.

It seems that this way I'm getting an error that indicates that "$in needs an array"
I tried to change it to { id : {$in : [ {{ usersIds }} ] }} and pass it string like this: ' "1","2" ' but this still doesn't work.
What am I missing and what are my options to create such a query dynamically?

Appreciate the help.

Hi, @lnetanel - happy to help! What type of resource is this query using?