Every block
Triggers start an automation, conditions decide if it continues, actions do the work.
Triggers
Starts an automation.
Manual
- ManualOnly when you tap Run now.
- Write textTap play and a window opens to write. What you write goes to the next blocks as {{trigger.text}}, for example a question for an AI.
- Button in the quick panelAdds a Taskman button to the panel you open by swiping down from the top of the screen, next to Wi-Fi and the flashlight. Tapping it runs this automation.
- Shared to TaskmanRuns when you share text, a link, an image or a file (PDF, EPUB, Word…) from any app and pick "Run in Taskman". {{trigger.text}} has what you shared, {{trigger.url}} the first link, {{trigger.image}} the image and {{trigger.file}} the file.
- Floating buttonProShows a round button on top of every app. Tap it to run this automation; drag it to move it. It needs "Display over other apps".
Time
- At a timeAt a set time on the days you choose.
- Every few minutesRepeats every few minutes. Under 5 minutes needs Pro.
- Advanced schedule (cron)ProFive fields: minute hour day-of-month month day-of-week. Example: 0 9 * * 1-5 is 09:00 on weekdays.
- Calendar eventRuns when an event in your calendars starts or ends, or some minutes before or after. All-day events are skipped. {{trigger.title}}, {{trigger.location}} and {{trigger.start}} have the event data.
- Sunrise or sunsetCalculated on the phone from the coordinates you enter. No location permission needed.
- Once, on a dateRuns once, on the chosen date and time.
- Countdown finishedRuns when a countdown started with the "Countdown" action ends.
Device
- Phone startsAfter the phone restarts.
- ChargerStarts when you plug in the charger, unplug it, or both. It tells you whether it was USB, the wall or wireless.
- Battery reaches a levelStarts when the battery drops below or rises above the percentage you choose.
- ScreenStarts when the screen turns on, turns off, or when you unlock the phone.
- Wrong unlock attemptRuns when someone enters a wrong PIN, pattern or password on the lock screen. Needs Taskman as device administrator with permission to watch unlock attempts.
- Wired headphonesStarts when wired headphones are plugged in, unplugged, or both.
- Phone gestureRuns when you shake the phone or put it face down or face up. It only listens while the screen is on, unless you turn on Motion with the screen off in Settings.
Connectivity
- Bluetooth deviceStarts when a Bluetooth device connects or disconnects: any device, or one you name, like your car or earbuds.
- Bluetooth on or offRuns when Bluetooth is turned on or off, even if no device connects.
- NetworkStarts when the phone connects to or loses a network: any network, mobile data, or Wi-Fi with a specific name.
Notifications
Apps
- App opened or closedNeeds usage access. Taskman checks the foreground app every second and a half while the screen is on.
- Event receivedProRuns when an event with this name arrives: from another of your automations (action "Send event") or from another app, which sends the broadcast com.natalab.taskman.action.EVENT with the extra "name". The other text extras are available as {{trigger.extra}}.
Communication
- SMS receivedRuns when a text message arrives. Taskman reads it from your messaging app's notification, so it needs notification access and no SMS permission. {{trigger.from}} is the sender and {{trigger.text}} the message. It does not fire while that chat is open or muted, and since Android 15 one-time codes are hidden.
- Phone callRuns when a call rings, is answered, ends, is missed or when you call. {{trigger.caller}} has the contact name or number when Taskman can read the call notification (notification access). "Missed" also includes calls you declined.
- Email receivedRuns when a new email arrives in your inbox. Taskman checks every few minutes with an app password, without a server. Filter by sender or subject; {{trigger.from}}, {{trigger.subject}} and {{trigger.text}} have the email. It only reads: it doesn't mark emails as read or delete them.
Web and integrations
- Telegram messageRuns when your Telegram bot receives a message. Taskman checks the bot every few minutes, without a server. Use "Text contains" for commands like /lights and keep the chat set so only you can trigger it. Messages arrive with up to that many minutes of delay, and each bot should be used by one phone only.
- Watch a web valueChecks a web address and fires when the value changes or crosses a limit. Useful for prices.
- Local webhookAnother device on your network calls the phone.
Tags and codes
Location
Files
Databases
- Supabase change (real time)ProFires in real time when rows change in a Supabase table. The table must be in the supabase_realtime publication and its RLS must allow reading.
- Firebase Realtime Database changeProFires in real time when data changes at a path of Firebase Realtime Database.
- New or changed Firestore documentProChecks a collection every few minutes for documents with a newer date or counter. Each check uses at least 1 read of your Firestore quota (50,000 free per day).
- PostgreSQL notification (LISTEN)ProFires in real time when your database runs NOTIFY on a channel. On the Neon Free plan the database sleeps after 5 minutes and listening stops: use a paid plan with scale to zero off, or the SQL action on a schedule.
- Local database changedProFires when another automation writes to a table of a local database.
Logic
- An automation failedRuns when an action of another automation fails, so you can get an alert. Failures of automations that use this trigger are not reported, to avoid loops.
- Permission lost or service stoppedRuns when Taskman loses a permission or one of its services stops, so you can find out before your automations stop working.
Boards & radio
- Message from board (USB)LabsRuns when an Arduino, ESP32 or ESP8266 plugged into the phone by USB sends a line of text (Serial.println). Filter by text; {{trigger.text}} has the whole line, and for lines like TEMP=23.5, {{trigger.key}} is TEMP and {{trigger.value}} is 23.5. Experimental.
- LoRa message receivedProLabsRuns when a message arrives through a DX-LR32 LoRa module plugged into the phone by USB. With the Taskman format, messages are encrypted with your password and confirmed to the sender; plain text is for microcontrollers. {{trigger.text}} has the message. Experimental.
Conditions
Decides whether the automation continues.
Time
- Day or nightContinues only during the day or only at night, using sunrise and sunset for your coordinates. Works offline.
- Time betweenContinues only between two times of day. The range can cross midnight, like 22:00 to 07:00.
- Day of the weekContinues only on the days of the week you tick, for example weekdays only.
- Between datesContinues only between two calendar dates, for a holiday, a season or a trip.
- MonthContinues only in the months you tick, for seasonal routines.
Device
- Battery levelContinues only if the battery is below or above the percentage you set.
- ChargingContinues only if the phone is charging or not, and optionally by USB, from the wall or wirelessly.
- Screen stateContinues only if the screen is on, off, locked or unlocked.
- HeadphonesContinues only if wired headphones are plugged in, or only if they are not.
- Device stateChecks whether the flashlight, Wi‑Fi, Bluetooth, auto-rotate, airplane mode, dark mode, battery saver, location, auto-sync or audio is on.
Connectivity
Sound
Apps
Logic
- Compare a valueCompares any value, such as {{trigger.text}} or a variable: equals, contains, matches a pattern, empty, above or below.
- Times runProCounts finished runs of this automation, not counting the current one.
- Started byChecks which trigger started this run. Put it in an If to do one thing on enter and another on exit.
Actions
One step an automation does.
Time
- Set an alarmCreates an alarm in the phone’s clock app at the time you choose, with an optional label.
- Start a timerStarts a timer in the phone’s clock app, from one second up to 24 hours.
- CountdownStarts or cancels a named countdown. When it ends, automations with the "Countdown finished" trigger run. It keeps working if the phone restarts.
Connectivity
- Auto-syncTurns account auto-sync on, off, or toggles it.
- Wi-Fi"System panel" asks you to confirm in a system window. "Direct" (Pro) needs Shizuku or root.
- Bluetooth on or off"System panel" asks you to confirm in a system window. "Direct" (Pro) needs Shizuku or root.
- Mobile dataProNeeds Shizuku or root. Android does not let normal apps do this.
- Airplane modeProNeeds Shizuku or root. Android does not let normal apps do this.
- Location on or offProNeeds Shizuku or root. Android does not let normal apps do this.
Notifications
- Show notificationShows a notification with your title and text, its importance, sound and vibration, and up to two buttons that run other automations.
- Short messageShows a short message at the bottom of the screen for a moment.
- Show textShows a text in a window, like an AI answer. If the automation started with Write text, it appears in the same window, like a chat.
- Ask Yes or NoProShows a notification with two buttons and waits for your answer. {{var.answer}} is yes, no or timeout. Closing the notification counts as No.
Sound
- VolumeSets the media, ring, notification, alarm or call volume. It can remember the previous level and restore it later.
- Ringer modeSwitches the phone to sound, vibrate or silent.
- Do Not DisturbTurns Do Not Disturb off, or on with priority only, alarms only or total silence.
- VibrateVibrates with a short, long or double pattern.
- Play a soundPlays the phone’s notification, ringtone or alarm sound.
- Speak textReads any text out loud with the phone’s voice, in the device language or one of 17 others. Text can include variables.
- Media controlSends play, pause, next, previous or stop to the music or video that is playing.
- Record audioStarts or stops a microphone recording and saves it in Recordings/Taskman (Music/Taskman on Android 10 and 11). It stops by itself after the maximum minutes. Needs the "Display over other apps" permission to start in the background.
Display
- FlashlightTurns the flashlight on, off or toggles it, or blinks it a set number of times.
- BrightnessSets the screen brightness to a percentage, or turns on automatic brightness.
- Screen timeoutChanges how long the screen stays on before it turns off, from 15 seconds to 30 minutes.
- Auto-rotateTurns auto-rotate on, off, or toggles it.
- Keep screen onKeeps the screen on for the minutes you choose. 0 means until another "Keep screen on" turns it off.
- Turn screen onTurns the screen on, for example to show what just happened.
- Lock screenTurns the screen off and locks the phone. Choose how: device administrator (easy) or Shizuku (keeps fingerprint unlock).
- Battery saverProNeeds Shizuku or root. Android does not let normal apps do this.
- WallpaperSets the wallpaper from an image link, on the home screen, the lock screen or both.
- Dark modeProNeeds Shizuku or root. Android does not let normal apps do this.
Apps
- Send eventStarts your automations that use "Event received" with this name, or sends a broadcast to another app. For another app, set its package: most apps ignore broadcasts without it.
- Take a photoOpens the camera for a moment, takes a photo without showing anything and saves it in Pictures/Taskman. Needs the "Display over other apps" permission to work in the background. With Shutter set to Me, it shows the camera so you can frame the photo and take it.
- Read text from an imageLabsExperimental. Reads the text of an image on the phone, for example a photo you share with Taskman, and saves it in a variable. Works with Latin-alphabet languages. The first time, Google Play may need a moment to download the reader.
- Open appOpening apps from the background needs "Display over other apps"; otherwise Taskman shows a notification to tap.
- Open web pageOpens a web page or any link. The address can include variables.
- Open a settings screenOpens a system settings screen: Wi-Fi, Bluetooth, location, display, sound, battery, notifications, NFC, hotspot and more.
- Copy to clipboardCopies text to the clipboard, for example a code read from a notification.
- Force stop an appProNeeds Shizuku or root. Android does not let normal apps do this.
- Shell commandProNeeds Shizuku or root. Android does not let normal apps do this.
Communication
- Write an emailOpens your email app with the recipient, subject and body filled in. You tap send.
- Write an SMSOpens your messages app with the number and text filled in. You tap send.
- Send emailSends an email on its own from your account (Gmail, iCloud, Yahoo, Fastmail or another provider) with an app password. Subject and text can include values like {{var.name}}. Attaching a photo or a file is Pro.
- Send to KindleProSends a PDF, EPUB, Word, text, web page or image to your Kindle by email. Give it a file (for example {{trigger.file}} from "Shared to Taskman", or a file in the Taskman folder) or a link: Taskman downloads it and web pages arrive as articles. With your email app you tap Send; with SMTP it goes out on its own. Amazon only accepts files from approved addresses. Up to 25 MB with the email app and 20 MB with SMTP.
- Send Telegram messageYour Telegram bot sends a message to you, a group or a channel. Needs internet, a bot token from @BotFather and the chat ID.
Web and integrations
- Send Google FormLabsExperimental. Fills in a Google Form with your values and sends it, or opens it filled in so you only tap Submit. Paste the form link and tap Read fields. Forms that require signing in can only be opened, from a pre-filled link.
- Read web pageDownloads a web page and saves the part you choose with a CSS selector, like h1, .price or #stock. Empty selector: all the page text. It reads the HTML the site sends; pages that load their content with JavaScript can come back empty.
- Web request (HTTP)Calls any web service. Keep keys in Secrets and use {{secret.name}}.
- LG air conditionerProLabsTurns your LG ThinQ air conditioner on or off and sets the mode, temperature and fan. Needs internet and a token from your LG account.
- Wake-on-LANSends a Wake-on-LAN magic packet to turn on a computer on your network from its MAC address.
- SSH commandRuns a command on your computer, server or Raspberry Pi over SSH and saves what it prints. Sign in with this phone's key (add it to the server once) or with a password kept in Secrets. The first connection remembers the server's fingerprint; if it changes later, the step fails so nobody can pose as your server.
Files
Databases
- SupabaseProRead, insert, update or delete rows of a Supabase table, or call a function. The result is saved as JSON.
- Firebase Realtime DatabaseProRead or write data at a path of Firebase Realtime Database with a service account key.
- Cloud FirestoreProRead, list, search or write Firestore documents with a service account key.
- PostgreSQL / NeonProRun SQL on your PostgreSQL server or on Neon. Put ? for each value, so values never break the query.
- Local database (SQLite)ProRun SQL on a database that lives only on this phone. Good for history, counters and lists.
- TursoProRun SQL on a Turso database over HTTPS.
AI
- Ask an AI modelProSend a text to the AI provider you choose (OpenAI, Claude, Gemini, DeepSeek, Qwen, Mistral and more) with your own API key, and save the answer. The provider receives the text and charges your account; Taskman doesn't.
- Ask the AI on this phoneProLabsRuns a small AI model on the phone, with no internet and no account. Good for short tasks: classify, extract, summarize or rewrite. It doesn't reason and it's slow, more so on low-end phones. With an image, Gemma 4 looks at it; the other models only get the text read from it.
Logic
- Turn an automation on or offTurns another automation on, off, or toggles it.
- Run another automationRuns another automation as a step, so you can reuse the same actions in many places.
- WaitWaits longer than 10 minutes keep going even if the phone restarts. Inside loops or in automations called by another one, waits are limited to 10 minutes.
- Write to historyWrites your own line in the run history, with any variables you need to check later.
- Set variableSaves a value in a variable for the next steps. It can also remember the value between runs.
- Extract a valueTakes a number, an amount, a link or a piece of text out of a notification or any other text, and saves it in a variable. If nothing is found, the variable is left empty.
- Stop automationEnds the run here. Useful inside a branch, when there is nothing more to do.
Boards & radio
- Send to board (USB)LabsSends a line of text to an Arduino, ESP32 or ESP8266 plugged into the phone by USB. The sketch reads it with Serial. Experimental.
- Ask the board (USB)LabsSends a line to the board plugged in by USB and waits for its reply. The reply is saved in a variable; for replies like VALUE=512, {{var.reply_value}} has 512. Experimental.
- Send by LoRaProLabsSends a message through a DX-LR32 LoRa module plugged in by USB, up to several km away with no mobile network or Wi-Fi. The Taskman format encrypts it and waits until the other phone confirms; plain text is for microcontrollers. Experimental.
- LoRa pingProLabsChecks that another phone with Taskman and a LoRa module answers, and saves the round trip in milliseconds. The other phone needs an automation with a LoRa message received trigger turned on. Experimental.
No block matches that word.