How to send only one SMS to the Missed Call number for each day?

NaIs0335

New member
Hi dear friends, I want to create a macro that will send an SMS to every missed call number once a day. That means if anybody gives a missed call to me he will get only one SMS for that day. And if another person gives another missed call on the same day, he will also get one SMS for that day and so on. After that, the next day same thing will repeat.

I don't know how to use variables, can you please help me by making that macro?
Thank you in advance... ❣️
 
Last edited:

Dm114

Well-known member
Hi dear friends, I want to create a macro that will send an SMS to every missed call number once a day. That means if anybody gives a missed call to me he will get only one SMS for that day. And if another person gives another missed call on the same day, he will also get one SMS for that day and so on. After that, the next day same thing will repeat.

I don't know how to use variables, can you please help me by making that macro?
Thank you in advance... ❣️

Here's a general structure for such a macro:
T1: SMS received from Any number and containg text such as "missed call"
T2: Date/Time on every working day at 7:00pm (19:00)
A: If T1 fired...
A: Extract the current phone number from the Received SMS
A: 2 possibilities:
- Append this number with a separator character to an existing String variable String_Var=String_Var/Current_Phone_Number with a constraint String_Var does not contain /Current_Phone_Number
OR
- Add this number to a Dictionary
A: Else (or ElseIf T2 fired...)
A: 2 possibilities:
- Loop until String_Var is empty...
Extract 1st /Phone number from String_Var
Send SMS to this number (without the / separator)
Remove /Phone number from String_Var
OR
- Iterate dictionary and send SMS to each iterated key. Then erase all dictionary entries
A: EndIf

To use Text manipulation you must use basic Regex syntax. You can G**gle it.
 

Snurre

Well-known member
Here's a general structure for such a macro:
T1: SMS received from Any number and containg text such as "missed call"
T2: Date/Time on every working day at 7:00pm (19:00)
A: If T1 fired...
A: Extract the current phone number from the Received SMS
A: 2 possibilities:
- Append this number with a separator character to an existing String variable String_Var=String_Var/Current_Phone_Number with a constraint String_Var does not contain /Current_Phone_Number
OR
- Add this number to a Dictionary
A: Else (or ElseIf T2 fired...)
A: 2 possibilities:
- Loop until String_Var is empty...
Extract 1st /Phone number from String_Var
Send SMS to this number (without the / separator)
Remove /Phone number from String_Var
OR
- Iterate dictionary and send SMS to each iterated key. Then erase all dictionary entries
A: EndIf

To use Text manipulation you must use basic Regex syntax. You can G**gle it.
I think there is a misunderstanding here
As I read the OP, I think it's a missed call he wants to SMS to, not a received SMS 🤔
 

Dm114

Well-known member
I think there is a misunderstanding here
As I read the OP, I think it's a missed call he wants to SMS to, not a received SMS 🤔
I'm confused: you're 100% right! I believe I was thinking about something else when I wrote that. Thanks for correcting.

Of course the 1st trigger has to be "NOTIFICATION received..." and not "SMS received"

Have a nice day "old biker fellow" 😉👊
 

Dm114

Well-known member
I remember why I made this confusion: when I miss a call I receive a SMS but I don't remember whether I also receive a Notification. So it will depend on the way it works in each country...
 

NaIs0335

New member
I added a dic
I remember why I made this confusion: when I miss a call I receive a SMS but I don't remember whether I also receive a Notification. So it will depend on the way it works in each country...
I added a dictionary for new numbers and added a comparing constraint with sending SMS action. Now it's working fine.. 😊
 
Top