Extract number from sms received

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
frank
Posts: 5
Joined: 31 Dec 2015 20:05

Extract number from sms received

Post by frank » 31 Dec 2015 20:26

hi, I've been stuck 2 weeks now attempting to develop a flow which each time my cellphone receives an sms with the next pattern:

De:frank ########, ********°° descarga los mejores juegos en tu celular Haz click aqui wap.ideascñatp.com.ni

will send an sms with the word "ocupado" to a phone number included on the incoming sms, represented on the pattern with the # sign.

I'd appreciate if any of you guys can give me a hand and help me out get this done before I go crazy.

jesusMieres
Posts: 15
Joined: 28 Dec 2015 19:48

Re: Extract number from sms received

Post by jesusMieres » 02 Jan 2016 11:33

Hi,

Try this.

http://automagic4android.com/flow.php?i ... ee20fe7649

Saludos/ Best Regards

frank
Posts: 5
Joined: 31 Dec 2015 20:05

Re: Extract number from sms received

Post by frank » 02 Jan 2016 23:35

alright let me give it a shot... thanks Jesus :)

frank
Posts: 5
Joined: 31 Dec 2015 20:05

Re: Extract number from sms received

Post by frank » 03 Jan 2016 00:36

hi Jesus, look bro, I tried it out already and the flow sends the text message to the sender not to the first phone number INCLUDED on the body of the incoming sms, I guess it was my fault because I didn't explain myself properly in the first place, I apologise... May you please echarme una mano :)


frank
Posts: 5
Joined: 31 Dec 2015 20:05

Re: Extract number from sms received

Post by frank » 04 Jan 2016 01:20

Hi dude, it's me,again....
I have a question, is this even possible?

newvar= {sms_text};
anothervar= getElement(newvar, 1);

Because I guess this is kind of what I need. I put that on a scrip action, then added a send sms action and the "send sms to" was filled in with: anothervar

, but even though I fell all over myself to get it working it keeps giving me an error and again what I need is to extract the whatever phone number is included in the incoming sms to then send an sms to that number :)

jesusMieres
Posts: 15
Joined: 28 Dec 2015 19:48

Re: Extract number from sms received

Post by jesusMieres » 05 Jan 2016 22:31

Hi,

Pls flow...

frank
Posts: 5
Joined: 31 Dec 2015 20:05

Re: Extract number from sms received

Post by frank » 06 Jan 2016 17:01

You said what now?... do you want me to send you the flow I`ve created?

jesusMieres
Posts: 15
Joined: 28 Dec 2015 19:48

Re: Extract number from sms received

Post by jesusMieres » 08 Jan 2016 13:20

Hi
if your flow we can see where this error.

BR

Post Reply