I am using what you need. In "Automation" I have action which transfer issued certicate by sftp to linux machine. And in linux machine I am using inotify which help me to restart nginx daemon...
https://www.linuxjournal.com/content/linux-filesystem-events-inotify
https://www.linuxjournal.com/content/linux-filesystem-events-inotify