Actions
Every action node available in DSL v1. Actions form the body of a workflow.
- Tap at coordinates
action.tapAtCoords - Dispatch a synthetic tap at an exact pixel coordinate.
- Tap by text
action.tapByText - Walk the accessibility tree, find the first node whose text matches, tap its nearest clickable ancestor.
- Swipe
action.swipe - Dispatch a swipe gesture from one point to another over a duration.
- Type text
action.typeText - Set the text of the currently focused input element.
- Wait
action.wait - Pause the workflow for a fixed duration in milliseconds.
- Open app
action.openApp - Launch an app by its package name.
- Screenshot to Spaces
action.screenshotToSpaces - Capture the current screen and upload it to your private object-storage prefix.
- HTTP call
action.httpCall - Make an outbound HTTP request.
- Set clipboard
action.setClipboard - Replace the clipboard contents.
- Show toast
action.showToast - Show a short toast notification on screen.
- Play sound
action.playSound - Play a sound file from a URI.
- Vibrate
action.vibrate - Vibrate the device for a fixed duration.
- Log to Google Sheet
action.logToSheet - Append a row to a Google Sheet.
- Send SMS
action.sendSms - Send a text message via the device's default SMS app.
- Set brightness
action.setBrightness - Set screen brightness on a 0..255 scale.
- Toggle Wi-Fi
action.toggleWifi - Toggle Wi-Fi on or off.
- Toggle Bluetooth
action.toggleBluetooth - Toggle Bluetooth on or off.
- Start music
action.startMusic - Start music playback. If a packageName is given, launch that music app. Otherwise dispatch a media-play key event to whatever is the current media session.
- Stop automation
action.stopAutomation - Halt the run. Downstream nodes are not executed.
- Branch (if/then)
action.branch - Evaluate a condition on a stored variable and follow the true or false edge.
- Loop
action.loop - Execute the downstream subgraph N times.