Magic Text Based on Trigger
The following magic text is only available when its corresponding trigger is used.
App Launched / Closed
App name{app_name}
Returns the name of the app that was opened or closed.
App package{app_package}
Returns the app package name.
Bluetooth (Device Connected / Disconnected)
Bluetooth device name{bluetooth_device_name}
Returns the Bluetooth device name.
Especially useful when using the “Any device” option.
Example: Sony WH-1000XM5
Calls (Call Active, Ended, Incoming, Missed, Outgoing)
Contact groups{call_groups}
Returns the groups the contact belongs to (comma-separated).
Example:Family
Call name{call_name}
Returns the contact name.
Example:John Smith
Call number{call_number}
Returns the phone number.
Example:+1 555 123 4567
Calendar event
Calendar title{calendar_title}
Returns the title of the calendar event.
Example:Team meeting
Calendar detail{calendar_detail}
Returns the description or details of the event.
Example:Quarterly results review and project updates
Calendar location{calendar_location}
Returns the location of the event.
Example:Meeting room A
Calendar start date{calendar_start_date}
Returns the event start date in local format.
Example:25/12/2000
Calendar start date (USA){calendar_start_date_us}
Returns the event start date in US format.
Example:12/25/2000
Calendar start time{calendar_start_time}
Returns the event start time.
Example:04:44
Calendar end date{calendar_end_date}
Returns the event end date.
Example:26/12/2000
Calendar end date (USA){calendar_end_date_us}
Returns the event end date in US format.
Example:12/26/2000
Calendar end time{calendar_end_time}
Returns the event end time.
Example:05:55
Email Received
From address{email_from}
Returns the sender's email address.
Example:john.doe@gmail.com
Email subject{email_subject}
Returns the subject of the email.
Example:Meeting reminder
Email body{email_body}
Returns the full content of the email.
Example:Don't forget our meeting at 3 PM today.
File changed
File path{file_path}
Returns the full path of the affected file.
Example:/storage/emulated/0/Pictures/Screenshots/
File name{file_name}
Returns the name of the affected file.
Example:Screenshot_2026-06-15-12-39-43-35_2e840d222d67ef3caca3a1c67d71d48f.jpg
File created{file_was_created}
Indicates whether the file was created.
Example:true
File deleted{file_was_deleted}
Indicates whether the file was deleted.
Example:false
File modified{file_was_modified}
Indicates whether the file was modified.
Example:false
HTTP request received
Query string{http_query_string}
Returns the query parameters sent in the HTTP request URL.
Example:action=login&user=john.doe@gmail.com
Caller IP{http_caller_ip}
Returns the IP address of the client making the request.
Example:192.168.68.59
Request headers{http_request_headers}
Returns all HTTP headers included in the request.
Example:{sec-gpc=1, remote-addr=192.168.68.59, accept-language=en-US,en;q=0.9, http-client-ip=192.168.68.59, host=192.168.68.59:8080, upgrade-insecure-requests=1, connection=keep-alive, cache-control=max-age=0, accept-encoding=gzip, deflate, user-agent=Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Mobile Safari/537.36, accept=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8}
Install / Uninstall / Update App
App name{app_name}
Returns the application name. Example: MacroDroid
App package{app_package}
Returns the package name. Example: com.arlosoft.macrodroid
Logcat
Logcat line{logcat_line}
Returns the full line configured in the trigger.
Media track change
Track name{track_name}
Returns the name of the current track.
Example:Blinding Lights
Artist{track_artist}
Returns the track artist.
Example:The Weeknd
Album{track_album}
Returns the album name.
Example:After Hours
Track duration{track_duration}
Returns the duration of the track.
Example:03:20
Track date{track_date}
Returns the date associated with the track.
Example:2019-11-29
Track year{track_year}
Returns the year of the track.
Example:2019
Track genre{track_genre}
Returns the genre of the track.
Example:Synth-pop
Track number{track_number}
Returns the track position within the album.
Example:9
Number of tracks{track_number_of_tracks}
Returns the total number of tracks in the album.
Example:14
Album artist{track_album_artist}
Returns the main artist of the album.
Example:The Weeknd
Note
Some values may not be available if the app or media file does not provide all metadata.
Notifications
Notification title{not_title}
Example:New message
Ticker text{not_ticker}
Example:Message received
Main text{notification}
Example:Hey, how are you?
Sub text{not_sub_text}
Example:2 new messages
Expanded text{not_text_lines}
Example:John: Hey | Anna: Are you coming?
Big text{not_text_big}
Example:This is a longer message shown when expanding the notification
Action names{not_action_names}
Example:Reply, Mark as read
Timestamp{not_timestamp}
Example:2026-06-15 11:46:37
App name{not_app_name}
Example:WhatsApp
App package{not_app_package}
Example:com.whatsapp
Notification channel{not_channel}
Example:Messages
SMS Received
Contact name{sms_name}
Sender name (only if saved in contacts).
Example:John Smith
SMS message{sms_message}
Full received message text.
Example:See you at 8
Sender number{sms_number}
Sender phone number.
Example:+1 555 123 4567
SIM ID{sms_sim_id}
ID of the SIM that received the SMS.
Example:1
SIM name{sms_sim_name}
Carrier name of the SIM.
Example:AT&T
SMS sent time{sms_sent_time}
Date and time the message was sent.
Example:2026-06-15 11:46:37
SMS received time{sms_received_time}
Date and time the message was received.
Example:2026-06-15 11:46:37
Spotify
Track ID{spotify_track_id}
Example:3n3Ppam7vgaVa1iaRUc9Lp
Artist{spotify_artist}
Example:Drake
Album name{spotify_album}
Example:Certified Lover Boy
Track name{spotify_track}
Example:Way 2 Sexy
Length (seconds){spotify_length_s}
Example:243
Is playing?{spotify_is_playing}
Returns true or false.
Example:true
System Settings
Category{system_setting_category}
Example:Global
Key{system_setting_key}
Example:airplane_mode_on
Value{system_setting_value}
Example:1
Shared text{shared_text}
Gets text shared from another app.
Example:Check this link: https://example.com
Shared text subject{shared_text_subject}
Gets the subject of shared text.
Example:Interesting article
UI Click
Click text{ui_click_text}
Text of the clicked element (very useful with regex).
Example:Accept
USB Device Connected
Product name{usb_product_name}
Example:USB Flash Drive
Manufacturer name{usb_manufacturer_name}
Example:SanDisk
Device hash{usb_device_hash}
Example:A1B2C3D4
Weather
Temperature (°C){weather_temperature_c}
Example:24
Temperature (°F){weather_temperature_farenheit}
Example:75
Wind speed (m/s){weather_wind_speed}
Example:3.5
Wind speed (mph){weather_wind_speed_mph}
Example:8
Wind speed (km/h){weather_wind_speed_kmh}
Example:13
Wind direction{weather_wind_direction}
Example:NE
Humidity{weather_humidity}
Example:60
Conditions{weather_conditions}
Example:Partly cloudy
Webhook
Webhook caller IP{webhook_caller_ip_address}
Returns the IP address of the caller.
Example:192.168.1.10
Webhook query parameters{webhook_query_params}
Example:user=john&id=123
