Upload / Connect to network server

I'm sure there's a simple solution to this. My Hazel workflow simply moves files landing in a local folder to one on a network AFP server. As long as the local Mac is connected, all works well. Occasionally, the remote server is rebooted or the network gets reset, and the connection is lost. Reconnecting is simple, but there doesn't seem to be a way to check for that in Hazel.
I have tried adding a step to run a workflow in Automator, which connects fine; but Hazel expects to pass the files from the folder to that first step of "Run Workflow" – not just "connect to server" then perform the rest of the steps in the Hazel workflow with those files – so there's an error.
If I create all the steps in Automator, it will pass the files through as results to the subsequent steps; but that bypasses Hazel altogether. (Hazel has better flow control, or I would just stick with Automator.)
Thanks for suggestions.
I have tried adding a step to run a workflow in Automator, which connects fine; but Hazel expects to pass the files from the folder to that first step of "Run Workflow" – not just "connect to server" then perform the rest of the steps in the Hazel workflow with those files – so there's an error.
If I create all the steps in Automator, it will pass the files through as results to the subsequent steps; but that bypasses Hazel altogether. (Hazel has better flow control, or I would just stick with Automator.)
Thanks for suggestions.