Flow that emails a notification?

Post your questions and help other users.

Moderator: Martin

Post Reply
Shreyh13
Posts: 18
Joined: 09 Jun 2013 02:15

Flow that emails a notification?

Post by Shreyh13 » 14 May 2014 01:50

How would I be able to create a flow that emails me the text of a notification? Like for example I get a breaking news notification from CNN and I would like it to be emailed to me.

BoBo
Posts: 129
Joined: 05 May 2014 12:45

Re: Flow that emails a notification?

Post by BoBo » 14 May 2014 09:36

Wouldn't it make sense to take one of those billions of RSS readers instead??

CNN RSS Feeds

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Flow that emails a notification?

Post by Martin » 14 May 2014 18:21

Hi,

A flow like this should work:
-trigger Notification on Statusbar Displayed: com.whatsapp (or some other apps)
-action Mail with Gmail

Depending on Android version you have to enable the Automagic accessibility service or the notification detector to make the trigger work. There should be a blue label in the trigger that takes you to the appropriate setting screen when clicked.

The trigger makes available variables containing the title of the notification and the text (and the big text on Android 4.1+).
You could use the following text in the body-field of the mail action:

Code: Select all

{title}
{notification_text}
{notification_text_big}
Automagic will replace the variables with the real content of the notification when the action is executed.

Many notifications contain more or less the same text in variable notification_text and notification_text_big so you might get part of the text duplicated in the mail.
The help page of the trigger lists some more variables that might be interesting. You can open the help page by pressing the [?]-icon when editing the trigger.

Regards,
Martin

Shreyh13
Posts: 18
Joined: 09 Jun 2013 02:15

Re: Flow that emails a notification?

Post by Shreyh13 » 15 May 2014 05:26

Worked perfectly thanks!

Post Reply