# \#auto-command

**URL:** https://community.neo4j.com/tag/auto-command/487.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Run auto command using drivers or plugin](https://community.neo4j.com/t/run-auto-command-using-drivers-or-plugin/58711)

<div class="topic-metadata">

**Author:** [@rezaahnadi99887](https://community.neo4j.com/u/rezaahnadi99887)\
**Replies:** 2\
**Last updated:** [December 12, 2022, 8:19am UTC](https://community.neo4j.com/t/run-auto-command-using-drivers-or-plugin/58711 "2022-12-12T08:19:56Z")

</div>

Hi guys, I run this cypher with a browser and its works fine. :auto MATCH (s:Person)-\[r:Friend\]-\>(t:Person) with s,t,collect(r) as rs where size(rs) \> 1 call{ with rs CALL apoc.refactor.mergeRelationships(rs,{properti…
