12 Replies Latest reply: Jul 29, 2006 11:01 AM by Joseph Booth
mhpp Level 1 Level 1 (0 points)
I'm trying to setup an action where automator will search for any birthdays today, and if so, send me an email with the persons name, phone, and email address so i can call or send them a personal email, opposed to the automatic greeting card automator uses. the steps i've used are

1) find people with birthdays
2) get contact info (name, phone, email)
3) get selected mail book items
4) new mail sessage
5) send mail message

I get an email, but the contact info is missing, any ideas?

Power mac g5 Mac OS X (10.4.6)

Power mac g5, Mac OS X (10.4.6)
  • 1. Re: Automator - birthdays
    Michael Henley Level 4 Level 4 (1,895 points)
    What's the purpose of step 3? If you remove that, the info from step 2 will go into the message field of step 4.
  • 2. Re: Automator - birthdays
    mhpp Level 1 Level 1 (0 points)
    ok i just removed it, but i still am getting am email without the contact info. I have the get contact information exported as formatted text, is that a problem?
  • 3. Re: Automator - birthdays
    Michael Henley Level 4 Level 4 (1,895 points)
    Formatted text is the correct selection. At the point where the actions connect you see text > text. If that's not the case, try removing the new message action and then re-adding it.
  • 4. Re: Automator - birthdays
    mhpp Level 1 Level 1 (0 points)
    what do you mean text > Text> i removed then readded the new message action, and still goes blank. (btw, i do have a made up contact with a birthday and phone number, email etc, so I know its not actually blank)
  • 5. Re: Automator - birthdays
    Michael Henley Level 4 Level 4 (1,895 points)
  • 6. Re: Automator - birthdays
    mhpp Level 1 Level 1 (0 points)
    I just added, view results, and now its working. is it ok to leave that in the workflow?

    I now have that between get contact info and new mail message.
  • 7. Re: Automator - birthdays
    Michael Henley Level 4 Level 4 (1,895 points)
    It should work the same without it. Leaving it in doesn't harm anything though. If you remove it and the workflow fails, then you might start with a fresh workflow file and build it up from scratch.
  • 8. Re: Automator - birthdays
    mhpp Level 1 Level 1 (0 points)
    ok great, thanks for all teh great help, I had a feeling someone in the mac community would be able to field this one. One more question, do you know of a way to have this workflow run automatically, like every morning at 8 am so I woul dbe automatically notified if i forgot to run the workflow?

    Power mac g5 Mac OS X (10.4.6)
  • 9. Re: Automator - birthdays
    Michael Henley Level 4 Level 4 (1,895 points)
    Sure! From File > Save As Plug-In, select Plug-In for iCal. Type in a name. It will open iCal and set up an event with the workflow as its alarm. You can then set that to repeat every day.
  • 10. Re: Automator - birthdays
    mhpp Level 1 Level 1 (0 points)
    ok I think this should be my last question regarding this. I tested it for a day when no birthdays occur, i still get an emil. Any way for it to not send if a birthday doesnt occur on that day?
  • 11. Re: Automator - birthdays
    Slydude Level 2 Level 2 (215 points)
    I am working son something similar based on smart groups in Address Book. I was having this same problem. I want to send an email to the people with birthday and one to me confirming they have been sent. Things seem to work as long as I don't try to send both types of emails from the same workflow.

    Mine looks for birthdays today, two weeks from now, and two months from now. I am having enough trouble that I think I am starting from scratch.
  • 12. Re: Automator - birthdays
    Joseph Booth Level 1 Level 1 (5 points)
    Got this error when running automator:

    System Events got an error: Can't make name of current user into type reference. (-1700)


    Workflow Setup:

    1 - Find People with Birthdays
    2 - Send Birthday Greetings
    3 - Send Outgoing Messages


    Address Book is setup in different groups. I've even setup a smart group that sorts only those entries that have an e-mail address to send to and have a birthday in the next 30 days.

    Can't seem to figure out what is causing this error. Any ideas?