Workflow using MongoDB deleteMany action

Hi, I have a few zombie records in my MongoDB collection that I would like to delete. I am trying to set up a workflow where I first query them and then get them in an array. In the last query block, I want to run the deletMany action, but I cannot figure out the syntax I need to provide to the Filter. Please see attached screenshot. Any suggestion? Thanks.

Hi @Zia_Syed!

Have you tried wrapping your reference to the previous query in double curlies? i.e.

{
  _id: {
    $in: {{ getIDArrays.data }}
  } 
}