Use results from a previous action in Automator on Mac
In Automator, an action may require information from a previous action in the workflow to perform its task. The input required by the action and the output the action passes on are listed in the action’s description.
In the Automator app on your Mac, do any of the following:
Find out what input is required by the action: Click the action in the Library.
A description of the selected action appears in the bottom-left corner of the Automator window. The type of input required is listed in the description.
If the description doesn’t appear, click the Show Description View button in the bottom-left corner of the window.
Choose whether to use input from the previous action: In the action, click Options, then click “Ignore this action’s input.”