Description: Play the last voice audio recieved when Whatsapp is open and the phone is near to your ear.
Import:
1_ Copy the profile to Tasker/profiles
2_ Long press the 'Profile' tab and then 'import'
Notes:
Please be sure that the path to Whatsapp folder is correct, if not.. change it in this line:
<Str sr="arg0" ve="3">WhatsApp/Media/WhatsApp Voice Notes</Str>
Its required to enable accessibility permission for the trigger (detect whatsapp).
It may be slow the first time
Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=es_419