Difference between revisions of "Trigger: Call Missed"

m
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Example Usage'''<br/>
+
<pre class="header-style">
When you have a missed call it will send an sms to the number from which the call was received.
+
This trigger will fire when a missed call occurs. A missed call is defined as an incoming call that you did not answer.
<pre style="background-color: red; color: white; border-radius: 10px; padding: 10px;">
+
</pre>
Triggers
 
  
Call missed
+
''' Options '''
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
  
Send SMS [call_number] : I'm sorry I couldn't take your call, I'll call you back later.
+
* '''Select Contacts''' - Choose specific contacts from your contact list. You can select multiple contacts and optionally exclude them instead of matching.
</pre><br>
+
** '''Any Contact''' - Fires when a missed call comes from any number saved in your contacts
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
+
** '''Non Contact''' - Fires when a missed call comes from a number not in your contacts
Constrains
+
** '''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.
  
</pre><br>
+
* '''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