Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Set Automator to email an attachment once it is added to a folder.

Here's my workflow every week:


1. Create invoice in Numbers

2. Print as .pdf and save to *clientname.invoices" folder

3. Email .pdf as an attachment to client.


Here's what I want to happen:


1. Create invoice in Numbers

2. Print as .pdf and save to "clientname.invoices" folder

3. Automator recognizes a new file in the folder "clientname.invoices", and creates an email with the new file attached.

4. Automator populates the email address.

4. Automator send the email with stock text in the body of the email.


I would like to have multiple scripts for multiple clients, so that if a document is added to client A folder, it populates with client A email address.


Seems like it would be easy. I can't seem to figure it out.


Thanks!

MacBook Pro, Mac OS X (10.7.5)

Posted on May 1, 2014 9:53 AM

Reply
Question marked as Best reply

Posted on May 1, 2014 10:41 AM

I figured it out! I had my actions in the wrong order. Here's what I did to make it work:


1. Create Folder Action

2. Set "Folder Action receives files and folders added to" client.invoices folder

3. Add Launch Application Mail

4. Add New Mail Message and fill in To:, Subject:, and Message:.

5. Add Filter Finder Items and set to Date created is today

6. Add Add Attachment to Front Message

7. Add Send Outgoing Messages


Hope that helps someone!

1 reply
Question marked as Best reply

May 1, 2014 10:41 AM in response to underdub

I figured it out! I had my actions in the wrong order. Here's what I did to make it work:


1. Create Folder Action

2. Set "Folder Action receives files and folders added to" client.invoices folder

3. Add Launch Application Mail

4. Add New Mail Message and fill in To:, Subject:, and Message:.

5. Add Filter Finder Items and set to Date created is today

6. Add Add Attachment to Front Message

7. Add Send Outgoing Messages


Hope that helps someone!

Set Automator to email an attachment once it is added to a folder.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.