Skip to Content

Mac Automation: Birthday greetings

I am sure that everyone has forgotten other peoples birthday's from time-to-time (*raises hand*). Luckily, with Mac OS X's built-in Address Book and Automator, you can automate the remembering and sending of greeting cards by e-mail -- thus eliminating the awkwardness of forgetting. In this how-to I will show you how to create a birthday field in your Address Book contacts, and how to send an e-mail birthday greeting when the time is right.

To learn how to do this, read on.
Setting up Address Book

Before we start building the Automator workflow, let's make sure that your Address Book contacts are set up properly. By default, Mac OS X's Address Book doesn't include a field to fill in the birthdays; so let's set up the default template to automatically include this:
  1. Open Address Book
  2. Go to Preferences (Address Book > Preferences or use command + , )
  3. Click Template
  4. Then in the "Add Field" drop-down box, select "Birthday"
Once you have done that, all new cards created will show the Birthday field for you to add your contact's birth date. If you have not entered any birthdays in your contacts, then you can now go through and edit the cards and add the birthdays to the newly added field.


Setting up the Automator workflow

Now let's set up the Automator workflow that will make the "magic" happen. You will need the following Automator actions in the same order as they are listed:
  1. "Find People with Birthdays"
  2. "Send Birthday Greetings"
Let's tweak some settings so we can save this as a reusable application. Under the options of both of the actions, select the "Show this action when the workflow runs" check-box. This will allow you to reuse this workflow and change options each time it runs.

Saving the workflow
Now let's save this workflow as an application. Click File > Save. Specify a name, and chose "Application" from the "Format:" drop-down box. This will save your workflow as a Mac OS X application.



Running the workflow
Double-click on the application you just saved to run the workflow. The workflow will prompt you for a search interval. Use the drop-down box to specify how far ahead to search for the birthdays. I chose "This week" to search for birthdays occurring this week.



The workflow will then search for all birthdays that are occurring this week. If it finds more than one person, it will pass it through the workflow as well -- so you can have more than one birthday greeting when it is finished running. Once it has finish searching, another dialog will prompt you to chose a birthday greeting image, and write a short message. Notice that if you have more than one recipient, this message will be copied to all of the messages; so if you want to personalize the message, it's best to wait until the workflow sends it to Mail. Notice that you can also choose to send a random image to each recipient and have the computer randomly pick images.



Once you have completed the workflow, an already addressed mail message will be created in Mail; your picture and message will be automatically added to it.

If you encounter many birthdays each week, consider placing this application in your dock and setting it to run on startup -- then you will be sure to never miss a birthday!


Categories

Features How-tos

I am sure that everyone has forgotten other peoples birthday's from time-to-time (*raises hand*). Luckily, with Mac OS X's built-in Address...
 

Add a Comment

*0 / 3000 Character Maximum

21 Comments

Filter by:
jeylan

Very good advice the problem is manual adding of address and Birthday.
thank you.
Jeylan
http://www.todaymybirthday.com

April 23 2008 at 5:59 AM Report abuse rate up rate down Reply
Nils

@Ebika:

I was searching for the same and have found an applescript to insert into the workflow here: http://www.macuser.de/forum/archive/index.php/t-263128.html (you'll need to install growlnotify). It works for me but I am still tweaking it (my plan is to have one sticky notification for each person who has birthday with name and birthday as title and tel number + email as message)

March 14 2008 at 4:20 PM Report abuse rate up rate down Reply
Chris Theocharis

The problem I have with the Address Book/iCal birthday relationship is this: many of my contacts are a couple or a family (ie: Bob & Sue Jones) that only have and share one "home" e-mail address. How do I enter or use both their birthdays?
I have tried adding a field "dates" into the contact template, but these dates don't link up or show up in iCal.

Any suggestions out there?

Cheers,
Chris

February 24 2008 at 1:53 PM Report abuse rate up rate down Reply
michiel

Is there perhaps a way to have automator create a new calendar, collect all the birthdays from Adressbook and populte these into the new calendar? You can add an alarm at the same time.
After that, it should be possible to run automator when you add a contact or birthday details, to update the new calendar. You can then remove the Addressbook-calendar.

In doing something like this (if possible at all), it is as close as it gets to using the built-in Addressbook-calendar and have automatic warnings (instead of emails ready to send only when running the automator script....)
Anyone knows whether this is possible?

Cheers,
Michiel

February 16 2008 at 10:18 PM Report abuse rate up rate down Reply
Jo

I'm no luddite. I'm all for using technology to connect with people, but junk mail for my birthday? I am cutting you right off if you do that to me. You are not coming to my party!

Unless of course you show up with a bunch of the best red roses, a bottle of the best bordeaux, and an itsy-bitshy gift, hand-wrapped, with a card, in your own handwriting!

http://flourishing20.wordpress.com

February 15 2008 at 3:56 AM Report abuse rate up rate down Reply
Michael

Hey Cory,

Thanks for the tips with automater. I have never really used it before, and so am still getting familiar with it. I did have a question I wanted to ask. What would be the best way to have an automated process by which I assign a key that will automatically open system preferences, start-up disk, and then select my Vista partition, and get me to the restart option so that all I have to do is press enter? I tried with Automator record, and it never followed what I did. The arrow doesn't make it past selecting the apple icon. Can you give any suggestions? I basically would like to set up a script, and assign it to an F-key or something. Thanks.

February 14 2008 at 3:35 PM Report abuse rate up rate down Reply
1 reply to Michael's comment
Michael Rose

Michael --

You may want to try a different utility for selecting your Boot Camp startup; BootPicker, from bombich.com. Check it out.

February 15 2008 at 3:02 PM Report abuse rate up rate down Reply
zmitchell

Use Automator to get automatic email reminders of upcoming birthdays

http://discussions.apple.com/thread.jspa?messageID=6601677&#6601677

February 14 2008 at 3:01 PM Report abuse rate up rate down Reply
kc! Bradshaw

Thank you for this! Really cool and easy. And I had never even opened Automator before!

February 14 2008 at 11:59 AM Report abuse rate up rate down Reply
1 reply to kc! Bradshaw's comment
Christopher Payne

Me too! This was my first try at using Automator -- it looks really great! Where's the best place to go to find really cool scripts like this?

February 14 2008 at 5:19 PM Report abuse rate up rate down Reply
Ebika

I would love to use automator to find upcoming birthdays and pop up a growl notification. Sending an email isn't always my preferred action, so I would just like to be reminded of birthdays in a simple popup message. I know there are some full applications out there that sort of do this, but I'd like a simple automator configuration instead. Anyone know how to do this?

February 14 2008 at 1:04 AM Report abuse rate up rate down Reply
4 replies to Ebika's comment
XIV

hmmm,... I have an error message saying that it's impossible to obtain «class boxO» "mail message" of mising value (-1728)

February 13 2008 at 9:45 PM Report abuse rate up rate down Reply
2 replies to XIV's comment
schertz.david

this just happened to me too. There has to be a birthday for the automation to actually work. If there isn't a birthday during your selected search... it will error out

February 13 2008 at 10:46 PM Report abuse rate up rate down Reply
XIV

I've just put my birthday today to test it out. I got the error message again, but then it actually did open my mail and wrote everything ready to send.

February 14 2008 at 6:19 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.