Help with Cypher using apoc on Bloom scene action

I would like to have a scene action to merge nodes. I am trying the following cypher, but it doesn't work on Bloom. I couldn't find an explanation from the documentation alone. Could any one help please?

MATCH (n)
WHERE id(n) in $nodes
WITH collect(n) as nodesList
CALL apoc.refactor.mergeNodes(nodesList, {properties:"combine", mergeRels: true})
YIELD node
RETURN node