Difference between revisions of "Trigger: Dial Phone Number"

Line 58: Line 58:
  
 
* [[Trigger:_Call_Outgoing|Call Outgoing Trigger]]
 
* [[Trigger:_Call_Outgoing|Call Outgoing Trigger]]
* [[Action:_Call|Call Action]]
+
* [[Action:_Make_Call|Call Action]]

Revision as of 22:47, 5 January 2026

This trigger will fire when you dial the specified number in the standard phone dialer. By default the call will be stopped when the number is dialed, but you may configure the trigger to allow the call to continue.

Options

  • Phone Number - Enter the phone number that should trigger the macro when dialed.
  • Make Call - When enabled, allows the call to proceed after the trigger fires. When disabled (default), the call is blocked and only the macro actions are executed.

Examples

Example 1: Speed dial replacement

Triggers

Dial Phone Number [*123]
Actions

Call: +1-555-123-4567

Example 2: Log emergency calls

Triggers

Dial Phone Number [911] (Make Call: enabled)
Actions

Set Variable: emergency_call_time = {hour}:{minute}:{second}
Send Location via SMS to: Emergency Contact

Example 3: Secret code to toggle settings

Triggers

Dial Phone Number [*#*#7890#*#*]
Actions

Toggle WiFi
Toggle Bluetooth
Notification: Secret settings toggled

Notes

  • This trigger intercepts outgoing calls before they are placed by listening for ACTION_NEW_OUTGOING_CALL.
  • When "Make Call" is disabled, the number is effectively blocked from being dialed.
  • This can be used to create custom speed dial codes or secret codes.
  • On Android 10+, MacroDroid requests the ROLE_CALL_SCREENING permission to ensure reliable operation.
  • On Android 15+, the ANSWER_PHONE_CALLS permission is also required.

Permissions Required

  • PROCESS_OUTGOING_CALLS
  • ANSWER_PHONE_CALLS (Android 15+)
  • Call Screening role (Android 10+)

See Also