Calling a python script from a webhook

I am trying to call a python script that is not on the same server as n8n when a user performs a certain action on my app.

After reading some posts on the board I understand this is possible when the script lives on the same server as n8n, but I was wondering if anyone can help me think on a solution when the script is on a different server since moving the script to the same server as n8n is not an option in my case.

Any ideas or suggestion will be super appreciated!
Thanks a lot for your time!

For that the SSH Node can be used. It allows to run commands on different servers

1 Like

thanks @jan that makes total sense, I was not aware there was a SSH node. THANKS!

You are welcome! Have fun!