Macro to unsilent phone from specific Whatsapp contact

Salamander

New member
My phone is always either on vibration or silent. But I would like to make a macro whenever a specific contact messages me on Whatsapp ,privately, my phone plays a notification sound.

However this contact is also member of a groupchat and I would like to exclude that groupchat from making a sound.
 

Endercraft

Moderator (& bug finder :D)
Try using the notification trigger, then use the play sound action. To make it trigger on this contact but not on the group I think you can use :
contains "contact" as option for trigger
compare values constraint on trigger :
  • String compare
  • Excludes option
  • Value 1 : magic text for notification (title or content)
  • Value 2 : "Group"
 

Salamander

New member
Thanks for your reply. I am not sure what you mean by Magic text for notification.

I added a screenshot of my macro. I am not sure if this is right.

Thanks again
 

Attachments

  • Screenshot_20230428_120038_MacroDroid.jpg
    Screenshot_20230428_120038_MacroDroid.jpg
    261.7 KB · Views: 16

Endercraft

Moderator (& bug finder :D)
Thanks for your reply. I am not sure what you mean by Magic text for notification.

I added a screenshot of my macro. I am not sure if this is right.

Thanks again
That looks right to me (however I'm not sure it will work because this specific situation may cause an order problem but I won't really go into this).
 

Dm114

Well-known member
Thanks for your reply. I am not sure what you mean by Magic text for notification.

I added a screenshot of my macro. I am not sure if this is right.

Thanks again
If notification syntax is not language dependent, to me the sender appears like that in Notification title:
- name_of_the_group : name_of_the_sender for a group
- name_of_the_sender for a private sender

If so, it's easy to verify whether the name of your authorized private sender is at the beginning of the Notification title or not {not_title}=authorized_name* (with or without the * character)

If you have several "authorized names", you could rename them preceding each name with a special sign (or emoji)...
 
Top