- Getting Started: Creating a Workflow Folder
- Preparing a Mail Rule Workflow
- Preparing a Mail Rule Script
- Configuring a Mail Rule
- Testing Your Mail Rule Workflow
- Conclusion
Preparing a Mail Rule Workflow
Next, you'll need a workflow to run. To get you started, we'll create a simple workflow that starts your currently chosen screen saver. Later, you can create more advanced workflows on your own, once you get things working.
- Launch Automator, and create a new custom (blank) Automator workflow.
- From the Utilities category of actions, drag the Start Screen Saver action to your workflow.
- Choose File > Save As.
- Name the workflow Start Screen Saver, select Workflow from the File Format pop-up, and save it into the ~/Library/Workflows/Mail Rules folder you created earlier (see Figure 3).
That's it. You're done! Your workflow should look like Figure 2.

Figure 2 The Start Screen Saver action.

Figure 3 Saving a Mail rule workflow.