Birthday Notification with Text, E-mail, Call - Calendar

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
geekeedee
Posts: 28
Joined: 24 Sep 2016 00:33

Birthday Notification with Text, E-mail, Call - Calendar

Post by geekeedee » 03 Jul 2017 14:14

UPDATE: The flow is updated to version 1.34+ of Automagic.
http://automagic4android.com/flow.php?i ... 7bfee274d3

Get BIRTHDAY notification of contacts on the status bar by using the CALENDAR app.
The notification is displayed:
- 7 days, 10 days, 2 weeks, 3 weeks or 1 month before (interval is set by you)
- then 1 day before
- and on the birthday date.

Features:
- Longest interval of notification is set by you from a menu (7 days, 10 days, 2 weeks, 3 weeks or 1 month)
- Notification has actions to TEXT, E-MAIL and CALL the contact.
- Actions have the phone number(s), e-mail address(es) and a greeting message already PRE-FILLED.
- Notification shows the PHOTO icon of contact.
- Notification shows the AGE and birthday of contact.
- Notifications are sorted by the earliest to latest dates.
- Free, no ads, no invasion of privacy. :)
BirthdayNotification0.png
BirthdayNotification0.png (20.14 KiB) Viewed 10706 times
BirthdayNotification3B.png
BirthdayNotification3B.png (40.34 KiB) Viewed 10829 times
BirthdayNotification6B.png
BirthdayNotification6B.png (37.49 KiB) Viewed 10852 times
Customization and Requirements:
- Required: Google Contacts, Google Calendar with the birthday option turned on.
- In the "Request Sync" action, change the Google account to YOUR account.
- Tap on the shortcut to launch the menu to set the longest interval for notification.
- Set your DEFAULT contact PHOTO in case the contact does not have a photo. In the script, where it says:

Code: Select all

myphoto=mydata["photo_uri"];
if (isEmpty(myphoto))
   {
     myphoto='storage/4B07-14FB/Pictures/Holidays/happybirthdayicon.jpg';
   }
change 'myphoto=' to your icon (Google and download your icon from Internet).

The Flow:

2nd edition: http://automagic4android.com/flow.php?i ... 7bfee274d3
Last edited by geekeedee on 20 Sep 2017 14:55, edited 9 times in total.

artpc
Posts: 12
Joined: 02 Jul 2013 11:59

Re: Birthday Notification with Text, E-mail, Call - Calendar

Post by artpc » 05 Jul 2017 12:55

Thx good work.

geekeedee
Posts: 28
Joined: 24 Sep 2016 00:33

Re: Birthday Notification with Text, E-mail, Call - Calendar

Post by geekeedee » 09 Jul 2017 19:24

There is now a 2nd edition of the flow. It adds a shortcut to launch a menu to select the longest interval for notification: 7 days, 10 days, 2 weeks, 3 weeks, 1 month.

2nd edition: http://automagic4android.com/flow.php?i ... a56453d76e
BirthdayNotification0.png
BirthdayNotification0.png (20.14 KiB) Viewed 10683 times

geekeedee
Posts: 28
Joined: 24 Sep 2016 00:33

Re: Birthday Notification with Text, E-mail, Call - Calendar

Post by geekeedee » 15 Sep 2017 15:00

Automagic v. 1.34+ fixes and improves the search of contact info to allow for exact display name.

The flow is updated accordingly :

http://automagic4android.com/flow.php?i ... 7bfee274d3

User avatar
Bluscre
Posts: 114
Joined: 31 Aug 2017 13:58
Location: Germany
Contact:

Re: Birthday Notification with Text, E-mail, Call - Calendar

Post by Bluscre » 16 Sep 2017 11:51

Ur mom looks like scarlett johansen? X'D
Unofficial AutoMagic Telegram Group: http://t.me/automagic4android
Check out my other flows here: https://github.com/Bluscream/AutoMagicFlows or here.
Sent from my Lenovo TAB 2 A10-70L running Android 6.0.

aar318
Posts: 4
Joined: 21 Nov 2016 13:07

Re: Birthday Notification with Text, E-mail, Call - Calendar

Post by aar318 » 13 May 2019 22:15

I keep getting an error when running this and I am at a loss.. I checked permissions and everything is logged in.. I think I got the email in the right place but not sure there on the action mentioned

This is what I get:
ch.gridvision.ppam.androidautomagic.simplelang.a.d: Error while calling function substring (Expression: substring(mybirthdate, 4, 10)[line 12], Cause: length=7; index=10)



Any help is appreciated... Thanks!

Post Reply