Newbie question: Detect keywords in notification

32 views
Skip to first unread message

Affe

unread,
Feb 3, 2026, 3:33:25 PM (7 days ago) Feb 3
to Automate for Android
Trying to make my first flow, to trigger an alarm on notification (to bypass silent mode). I'm using the 'Notification posted?' block and got it to send an alarm when the app post a notification. 
But I only want it to do that when certain keywords are used in the message. And I can't figure out how to do that. Any suggestions?

Henrik "The Developer" Lindqvist

unread,
Feb 4, 2026, 10:29:26 AM (6 days ago) Feb 4
to Automate for Android
Assign the message output variable then in a subsequent Expression true block check its for the keywords:
  1. Flow beginning
  2. Notification posted: Message=msg
  3. Expression true: contains(msg, "keyword") || contains(msg, "another")
  4. Sound play: Sound URI=<click to pick>
  5. (connect #4 OK and #3 NO to #2 IN)

Affe

unread,
Feb 4, 2026, 12:29:42 PM (6 days ago) Feb 4
to Automate for Android
Thank you. Works perfectly now
Reply all
Reply to author
Forward
0 new messages