Help Needed!! - Automate Phone Interaction

umarnadeembutt

New member
I need assistance in creating a macro. Can someone guide me on how to create one? I have outlined the entire scenario and steps below. If anyone wishes to understand the details, they can comment. Please help me create a macro based on the steps provided.

Step 1: Whenever I make a call to any number (considered as a "Signal"),

Step 2: Upon receiving the "Signal," an automatic popup will appear with the message, "Have you checked your free minutes today?" In this popup, there will be three buttons:

  • Button 1: "Yes"
  • Button 2: "No"
  • Button 3: "Check Free Minutes"
Step 3: If the "Yes" button is clicked, the call from Step 1 will continue. If the "No" button is clicked, the call will be disconnected. Clicking the "Check Free Minutes" button will dial the string (*11788*2#).

Feel free to ask for any additional details or clarification!
 
Last edited:

Yogi

Member
Hi,

If you make a call, it can be triggered.
Trigger "Call Outgoing->any number"
Action "Set Variable" store the {call_number} into a variable for later use or use {call_number} directly
Action "Call reject" to interrupt the active call
Action "Selection Dialog" with the three options
Action If clause option equal 0 (yes)
Action Make call with {call_number}
Action else if option equal 2 (Check minutes)
Action Make call with *11788*2#
Edit:
Constraint "Macro Invoked->this Macro->1 Minute
hope it helps,
Regards
Fritz
 
Last edited:

Endercraft

Moderator (& bug finder :D)
Hi,

If you make a call, it can be triggered.
Trigger "Call Outgoing->any number"
Action "Set Variable" store the {call_number} into a variable for later use or use {call_number} directly
Action "Call reject" to interrupt the active call
Action "Selection Dialog" with the three options
Action If clause option equal 0 (yes)
Action Make call with {call_number}
Action else if option equal 2 (Check minutes)
Action Make call with *11788*2#

hope it helps,
Regards
Fritz
It could trigger multiple times so adding a constraint like macro not involved for 1 minute should solve this.
 

Vr6

New member
Óla, tenho pouco conhecimento e só sei o básico nas funções do Macrodroid, quero ajudar compartilhando o meu conhecimento com as suas sugestões das funções que você está tentando criar, vou criar uma ideia usando suas sugestões e publicar na loja de macro, talvez a sua ideia e a minha ideia possa ajudar mais pessoas ou também outras pessoas a nós ajudar
 

Endercraft

Moderator (& bug finder :D)
Óla, tenho pouco conhecimento e só sei o básico nas funções do Macrodroid, quero ajudar compartilhando o meu conhecimento com as suas sugestões das funções que você está tentando criar, vou criar uma ideia usando suas sugestões e publicar na loja de macro, talvez a sua ideia e a minha ideia possa ajudar mais pessoas ou também outras pessoas a nós ajudar
Please write in English next time.
 

Vr6

New member
I'm sorry, I'm Brazilian, I thought that the page translated to the language of each user, for me it was all in Portuguese, again excuse me
 

Yogi

Member
Please give few mins, and live chat with me. i can guide you better
If you really want help, give your details here with all information what you have tried already - best is with screenshot
so we can see what is the problem.
I'm not willing to support something behind the scenes and will not do a live chat at all.
 

umarnadeembutt

New member
I have attached two images. Image 1 shows that I am in the process of creating a macro. However, I am stuck at Image 2, as I am unsure where to add multiple options. If I click on 'Add Item,' it only allows me to add either text or a variable.

I want only the text to be displayed in the dialogue box, with a variable running behind the text

Image 1.jpgImage 2.jpg
 

Vr6

New member
Hi, I have little knowledge and I only know the basics of Macrodroid functions, I want to help by sharing my knowledge with your suggestions of the functions you are trying to create, I will create an idea using your suggestions and publish it in the macro store, maybe yours idea and my idea can help more people or other people can help us
 

Vr6

New member
published idea
Hope this helps
I have attached two images. Image 1 shows that I am in the process of creating a macro. However, I am stuck at Image 2, as I am unsure where to add multiple options. If I click on 'Add Item,' it only allows me to add either text or a variable.

I want only the text to be displayed in the dialogue box, with a variable running behind the text

View attachment 8074View attachment 8075
published idea
Hope this helps
 

Yogi

Member
I have attached two images. Image 1 shows that I am in the process of creating a macro. However, I am stuck at Image 2, as I am unsure where to add multiple options. If I click on 'Add Item,' it only allows me to add either text or a variable.

I want only the text to be displayed in the dialogue box, with a variable running behind the text

See on your first image
Action "Set Variable" should be a String Variable with a proper name and not "{call_number}"
{call_number} is the value the variable should get. You did a boolean variable!

The Action Selection Dialog should look like this, in this case a variable "option" is used for storing
which action has been taken as integer value, 0 is first, 1 is second, 2 is third option.
Dialog1.jpgScreenshot_20240105-073042_MacroDroid.png
So if you cllimbed this stage just use an action
Display Dialog for showing what already happens, in my case String Variable "no" for holding the phone number
Integer Variable "option" for holding the chosen Dialog selection:
ShowDialog.jpg
If you test your macro it should show the phone number you dialed and the option you have chosen.
Give us a response and show if you did the job. Then we can go on...

Regards
Fritz
 

umarnadeembutt

New member
T
See on your first image
Action "Set Variable" should be a String Variable with a proper name and not "{call_number}"
{call_number} is the value the variable should get. You did a boolean variable!

The Action Selection Dialog should look like this, in this case a variable "option" is used for storing
which action has been taken as integer value, 0 is first, 1 is second, 2 is third option.
View attachment 8086View attachment 8087
So if you cllimbed this stage just use an action
Display Dialog for showing what already happens, in my case String Variable "no" for holding the phone number
Integer Variable "option" for holding the chosen Dialog selection:
View attachment 8088
If you test your macro it should show the phone number you dialed and the option you have chosen.
Give us a response and show if you did the job. Then we can go on...

Regards
Fritz
Thanks for your help, but some of options are not visible to me. Can you please create a macro with exact my requirements and share it with me.
 

umarnadeembutt

New member
Brothers, I have created another thread with some additional steps and more clear context, please help to create the macro. Link is below kindly guide.

 
Top