If your workflow doesn’t work in Automator on Mac
When you run a workflow in Automator, events are displayed in the Log area at the bottom of the workflow window.
You can use the log to analyze these events and diagnose problems after the workflow runs. Warnings and error messages appear in the Log area.
You can also use the View Results action to help troubleshoot your workflow. This action shows the result information passed from the previous action. You can temporarily place this action after any action in the workflow to see the information flowing through the workflow at that point.