Hi
New poster, looking for a bit of advice. I have set up a flow that activates when I am driving. When I receive an email or SMS, it auto-responds only to a specific set of email addresses, or to specific SMS senders. It works perfectly. However, I'd like to add the ability to autorespond to specific senders when I receive an MMS. I have used the "Content provider changed" trigger, with the Content URI set to mms, and it activates correctly (that is, it triggers following receipt of an mms, but not of an sms).
My problem is that I don't know how to extract the phone number of the person who sent that mms. If I change the Content URI from mms to mms-sms, and then receive an sms, the {sms_sender} variable is correctly populated with the sender's number. So, basically, I'd like to be able to identify the equivalent of {sms_sender} whenever I receive an mms. Can anyone point me in the right direction?
BTW, Martin, this program is terrific. It's completely replaced Llama + Zooper on my phone.
Extract MMS sender's phone number?
Moderator: Martin
Re: Extract MMS sender's phone number?
Hi,
You could check if the variable content_uri of the triggger is populated and then use an action Query Content Provider to read the values. Unfortunately I'm not experienced using the MMS provider but it looks that an URI like content://mms/{id}/addr could contain the values you are looking for (in the action set projection to address and result type to Single value).
Thanks! I'm glad you like Automagic
Regards,
Martin
You could check if the variable content_uri of the triggger is populated and then use an action Query Content Provider to read the values. Unfortunately I'm not experienced using the MMS provider but it looks that an URI like content://mms/{id}/addr could contain the values you are looking for (in the action set projection to address and result type to Single value).
Thanks! I'm glad you like Automagic

Regards,
Martin
Re: Extract MMS sender's phone number?
Thank you - I'll give that a try.Martin wrote:Hi,
You could check if the variable content_uri of the triggger is populated and then use an action Query Content Provider to read the values. Unfortunately I'm not experienced using the MMS provider but it looks that an URI like content://mms/{id}/addr could contain the values you are looking for (in the action set projection to address and result type to Single value).
Thanks! I'm glad you like Automagic![]()
Regards,
Martin