Tap Automagic notification (not button) to execute an action

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Post Reply
Christofer
Posts: 31
Joined: 27 May 2017 11:19

Tap Automagic notification (not button) to execute an action

Post by Christofer » 09 Jan 2019 18:11

I'd like to put in a request for attaching an user defined action when an Automagic notification is tapped.

Current, as I understand, you can only make Automagic execute an action in a notification if you attach it to a text button. If the whole notification is tapped the Automagic script that created the notification will show up on screen.

User avatar
Desmanto
Posts: 2599
Joined: 21 Jul 2017 17:50

Re: Tap Automagic notification (not button) to execute an ac

Post by Desmanto » 09 Jan 2019 18:25

We have this already. Use trigger Notification on Statusbar Selected - trigger on notification from action, choose the ID of the notification you have created before.
The flow which has this trigger must be enabled, so it can react to the tap.

You can also choose create own notification, where the notification will be created when the flow is enabled. This is useful for flow that you need to enable for a short period and you want to use notification "tap to disable the flow".
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Christofer
Posts: 31
Joined: 27 May 2017 11:19

Re: Tap Automagic notification (not button) to execute an ac

Post by Christofer » 09 Jan 2019 19:23

Ooh! That completely solved my problems. Thanks!

vertigo
Posts: 110
Joined: 28 Oct 2018 00:28

Re: Tap Automagic notification (not button) to execute an action

Post by vertigo » 26 May 2020 11:28

Even though this can be done with a trigger, it would still be nice (simpler and cleaner) to be able to do it in the notification on status bar action. It would simply mean adding an option for action to perform when selecting the notification similar to the ability to add buttons to the notification. I guess it comes down to whether the added simplicity is worth the slightly extra complexity of having oneore option in the action. I obviously think so, and so this is my +1 for the option with acknowledgement of the existing ability to do it via the trigger method.

Post Reply