This is an interesting questions. I have no experience with this.
So you can search for a command line solution (System Adapter) or a Java library solution (Java Adapter).
Another possibility is to look for a Node.js based solution which you can easily managed by the E2E BRIDGE.
I’m interested to hear how you solved the problem.