Hello, I have the following formula that works perfectly, but I want to modify it to work with a specific contact. the application is WhatsApp Business y $if(ni(pcount, com.whatsapp.w4b)>0, “WhatsApp: nuevos mensajes”,“”)$
If the contact name is part of the text you can probably filter by it too, so something like:
$if(tc(reg, ni(text, com.whatsapp.w4b), ".*(contact name).*", "$1"), "Message from contact", "")$
This will display “Message from contact” if “contact name” is found in the text, nothing otherwise.
Is this what you were trying to ro?