Difference between revisions of "Trigger: Call Missed"

 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">
This trigger will fire when a missed call occurs.</pre>
+
This trigger will fire when a missed call occurs. A missed call is defined as an incoming call that you did not answer.
* ''When this trigger is present, you can use more [...]'' ''[https://macrodroidforum.com/wiki/index.php/Magic_text#Call_.28Active.2C_Ended.2C_Incoming.2C_Missed.2C_Outgoing.29 magic text]''
+
</pre>
 +
 
 +
''' Options '''
 +
 
 +
* '''Select Contacts''' - Choose specific contacts from your contact list. You can select multiple contacts and optionally exclude them instead of matching.
 +
** '''Any Contact''' - Fires when a missed call comes from any number saved in your contacts
 +
** '''Non Contact''' - Fires when a missed call comes from a number not in your contacts
 +
** '''Unknown Caller''' - Fires when a missed call has an unknown or private number (caller ID blocked)
 +
 
 +
* '''Select Groups''' - Filter by contact groups (such as Favorites or Friends). The trigger activates only when missed calls come from members of the chosen groups.
 +
 
 +
* '''Select Number''' - Specify an exact or partial phone number to match. Supports wildcards and regular expressions.
 +
** '''Exclude''' - Option to trigger for all numbers EXCEPT the specified number
 +
** '''Enable Regex''' - Enable regular expression matching for advanced pattern matching
 +
 
 +
* '''Any Number''' - Fires regardless of the calling number
 +
 
 +
''' Magic Text '''
 +
 
 +
When this trigger fires, the following value are available via magic text for use in subsequent actions.
 +
 
 +
* {call_number}
 +
* {call_name}
 +
* {call_groups}
 +
 
 +
''' Examples '''
 +
 
 +
Example 1: Send notification when spouse calls and you miss it
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Call Missed [Select Contacts: Spouse]</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Notification: Missed call from {call_name}</pre>
 +
 
 +
Example 2: Log all missed calls from unknown numbers
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Call Missed [Unknown Caller]</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Set Variable: missed_call_log = {lv=missed_call_log}\n{call_number} at {hour}:{minute}:{second}</pre>
 +
 
 +
''' Notes '''
 +
 
 +
* This trigger monitors the call log for missed calls. It requires the READ_CALL_LOG permission.
 +
* When using contact-based options, the READ_CONTACTS permission is also required.
 +
 
 +
''' Permissions Required '''
 +
 
 +
* READ_PHONE_STATE
 +
* READ_CALL_LOG
 +
* READ_CONTACTS (when using contact or group-based filtering)
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger:_Call_Active|Call Active Trigger]]
 +
* [[Trigger:_Call_Ended|Call Ended Trigger]]
 +
* [[Trigger:_Call_Incoming|Call Incoming Trigger]]
 +
* [[Trigger:_Call_Outgoing|Call Outgoing Trigger]]

Latest revision as of 22:12, 5 January 2026

This trigger will fire when a missed call occurs. A missed call is defined as an incoming call that you did not answer.

Options

  • Select Contacts - Choose specific contacts from your contact list. You can select multiple contacts and optionally exclude them instead of matching.
    • Any Contact - Fires when a missed call comes from any number saved in your contacts
    • Non Contact - Fires when a missed call comes from a number not in your contacts
    • Unknown Caller - Fires when a missed call has an unknown or private number (caller ID blocked)
  • Select Groups - Filter by contact groups (such as Favorites or Friends). The trigger activates only when missed calls come from members of the chosen groups.
  • Select Number - Specify an exact or partial phone number to match. Supports wildcards and regular expressions.
    • Exclude - Option to trigger for all numbers EXCEPT the specified number
    • Enable Regex - Enable regular expression matching for advanced pattern matching
  • Any Number - Fires regardless of the calling number

Magic Text

When this trigger fires, the following value are available via magic text for use in subsequent actions.

  • {call_number}
  • {call_name}
  • {call_groups}

Examples

Example 1: Send notification when spouse calls and you miss it

Triggers

Call Missed [Select Contacts: Spouse]
Actions

Notification: Missed call from {call_name}

Example 2: Log all missed calls from unknown numbers

Triggers

Call Missed [Unknown Caller]
Actions

Set Variable: missed_call_log = {lv=missed_call_log}\n{call_number} at {hour}:{minute}:{second}

Notes

  • This trigger monitors the call log for missed calls. It requires the READ_CALL_LOG permission.
  • When using contact-based options, the READ_CONTACTS permission is also required.

Permissions Required

  • READ_PHONE_STATE
  • READ_CALL_LOG
  • READ_CONTACTS (when using contact or group-based filtering)

See Also