340+ 个内置命令
浏览 AutoFlowRPA 附带的每个命令。将任意命令拖放到画布上——无需任何设置。
AI
6AI Chat (LLM)
Send a prompt to an LLM and store the reply.
AI Summarize
Summarize text with an LLM.
AI Extract (Structured)
Extract structured fields from text with an LLM and store them as a JSON object (use {{{var[field]}}} to read each one).
AI Classify
Classify text into exactly one of the categories you give, and store the chosen label (route the workflow with an If).
AI Translate
Translate text into a target language with an LLM, keeping the original formatting.
AI Agent (Tools)
Give the LLM a goal and let it reason step-by-step, calling safe built-in tools (calculator, current time, optional web fetch) until it produces an answer.
API & HTTP
4HTTP Request
Send a fully-configurable HTTP request: query, headers, auth, typed body, retries, typed response or download to file.
REST (JSON) Request
Send a JSON request and store the parsed JSON response.
API Request (Bearer Auth)
Send an authenticated JSON request with a Bearer token.
Query JSON Result
Extract a value from a JSON variable or text by path (a.b[0]).
Archive
2Conditions
2If
A single node that checks a condition and has two outputs — TRUE and FALSE. Wire each output to the commands for that branch (no separate Else / End If commands needed).
Switch
A single node that switches on a value and has one output per case (listed below) plus a Default output. Wire each output to the commands for that case (no separate Case / End Switch commands).
Convert
6Markdown → Word
Convert Markdown text or a .md file to a .docx Word document, with an optional Obsidian-style colour theme.
Markdown → HTML
Render Markdown (text, file, folder or wildcard) to HTML with an optional Obsidian-style theme and code highlighting.
CSV → DataTable
Parse CSV (text or file) into a DataTable.
DataTable → CSV
Serialize a DataTable to CSV text and/or a .csv file.
XML → Object
Parse XML (text or file) into a nested object/JSON variable.
Extract From HTML
Extract text or an attribute from HTML (text or file) using a CSS selector.
Data
16Log Message
Write a message to the local run log.
Substring
Extract part of a string by start index and length.
Split Text
Split text by a delimiter into a list.
Check Text
Check whether text contains / starts with / ends with a value.
Get Word Count
Count the words in a string.
Get Text Length
Get the number of characters in a string.
Extract Text
Extract text before, after, or between marker(s).
Regex Extract
Extract the first regex match (or a capture group) from text.
Get All Regex Matches
Return all regex matches in text as a list.
Regex Replace
Replace regex matches in text with a replacement (supports \1 groups).
Parse JSON
Extract a value from a JSON string by path (e.g. a.b[0].c).
Parse JSON Array
Parse a JSON array from text or a .json file into a list variable.
Parse JSON To Variables
Expand a JSON object's top-level keys into individual variables.
Date Calculation
Add or subtract time from a date and format the result.
Format Data
Format a date or number using a format string.
Extract PDF Text
Extract text from a PDF file (requires the 'pypdf' package).
DataTable
12Create DataTable
Create a DataTable with the given columns.
Load DataTable From CSV
Load a DataTable from CSV text or a .csv file (delimiter auto-detected, BOM-tolerant).
Save DataTable To File
Write a DataTable to a .csv or .json file.
Add Data Row
Append a row to a DataTable.
Get Data Row
Read a whole row (as a dictionary) into a variable.
Filter DataTable
Create a new DataTable with rows matching a column condition.
Get Data Row Count
Count the rows in a DataTable.
Get Data Row Value
Read a single cell into a variable.
Write Data Row Value
Set a single cell value.
Remove Data Row
Remove a row by index.
Sort DataTable
Sort rows by a column (numeric when possible, else text).
Parse Dataset Row
Expand a row's cells into individual variables named by column.
Database
3Dictionary
11Create Dictionary
Create a new dictionary, optionally pre-filled.
Add Dictionary Item
Add or update a key/value pair in a dictionary.
Set Dictionary Value
Set the value for an existing or new key.
Get Dictionary Value
Read the value for a key into a variable.
Check Dictionary Key Exists
Store whether a key exists ('True'/'False').
Get Dictionary Key From Value
Find the first key whose value matches.
Get Dictionary Keys
Store all keys as a list.
Remove Dictionary Item
Remove a key from a dictionary.
Load Dictionary From JSON
Parse a JSON object string into a dictionary variable.
Convert Dictionary To JSON
Serialize a dictionary to a JSON string and/or a .json file.
Convert Dictionary To List
Store the dictionary's values as a list.
Download
2Engine
5Set Engine Delay
Throttle the whole run: wait this many milliseconds before EVERY subsequent command (set once, applies until changed). For a single one-off pause, use Delay instead.
Set Engine Preference
Store a named engine preference value.
Show Engine Context
Log all current (non-internal) variables and their values.
Stopwatch
Start, stop or restart a timer; store elapsed milliseconds.
Set Error Handling
Choose whether the workflow stops or continues on a command error.
Error handling
2Excel
45Open Workbook
Open an existing .xlsx file as a named instance.
Create Excel Workbook
Create a new empty in-memory workbook as a named instance.
Save Workbook As
Save the workbook to a specific file path.
Save Workbook
Save the workbook to its current file path.
Get Range As DataTable
Read a range as a DataTable using the first row as headers.
Write Range
Write a list / list-of-lists / DataTable starting at a cell.
Get Cell
Read a cell value (by A1 or row/column) into a variable.
Set Cell
Write a cell value (by A1 or row/column).
Close Workbook
Close a workbook instance and discard it from memory.
Check Excel Instance Exists
Store whether a named Excel instance exists.
Get Excel Info
Get workbook info (path, sheet count, sheet names) as a dict.
Add Worksheet
Add a new worksheet to the workbook.
Create And Activate Worksheet
Add a new worksheet and make it the active sheet.
Activate Worksheet
Set the active worksheet by name.
Copy Worksheet
Copy a worksheet to a new sheet.
Delete Worksheet
Delete a worksheet by name.
Rename Worksheet
Rename a worksheet.
Check Worksheet Exists
Store whether a worksheet exists.
Get Current Worksheet
Store the name of the active worksheet.
Get Worksheet Info
Get a worksheet's dimensions (rows, columns) as a dict.
Get Worksheets
Store the list of worksheet names.
Delete Cell
Clear a cell's value (by A1 or row/column).
Check Cell Value Exists
Store whether a cell is non-empty.
Go To Cell
Record the active cell selection (A1) for the worksheet.
Get Active Cell Address
Get the recorded active cell address.
Set Cell Format
Apply number format / bold / fill to a cell.
Get Cell Format
Read a cell's number format string.
Get Range
Read a range into a list of rows (each row a list of cells).
Copy Range
Copy values from one range to a destination top-left cell.
Split Range By Column
Split a range into a list of per-column lists.
Get Last Row
Get the index of the last used row.
Get Last Column Index
Get the index of the last used column.
Get Last Column In Row
Get the last non-empty column index within a given row.
Append Row
Append a row of values after the last used row.
Write Row
Write values across a specific row starting at column 1.
Append Cell
Append a value to the next empty row in a column.
Delete Row
Delete a row by index.
Delete Column
Delete a column by index (shifts later columns left).
Insert Rows
Insert blank row(s) at a position, shifting existing rows down.
Insert Columns
Insert blank column(s) at a position, shifting columns right.
Create DataSet From Sheet
Read the used range into a DataTable (first row = headers).
Search Value
Find the first cell containing a value; store its address.
Filter Sheet
Filter rows (first row = headers) by a column condition into a DataTable.
Sort Sheet
Sort sheet rows by a 1-based column (optionally keep a header row).
Run Excel Macro
Run a VBA macro in an .xlsm file (Windows + Excel + COM).
File
11Read Text File
Read the contents of a text file into a variable.
Write Text File
Write text to a file, overwriting or appending.
Get Files
List files in a folder matching a pattern (optionally recursive).
Check File Exists
Store whether a file exists ('True'/'False').
Move File
Move (or copy) a file, or every file matching a wildcard, to a destination folder or path.
Delete File
Delete a file, or every file matching a wildcard.
Rename File
Rename a file within its current folder.
Get File Info
Read a file's metadata (name, size, modified time) into a dict.
Get Files In Folder
List the file names directly inside a folder (non-recursive).
Wait For File
Wait until a file appears, up to a timeout.
Compute File Hash
Compute a file's checksum (MD5/SHA1/SHA256) for verification.
Folder
7Create Folder
Create a folder (including parents) if it does not exist.
Check Folder Exists
Store whether a folder exists ('True'/'False').
Get Folders
List sub-folder paths inside a folder (optionally recursive, with a name pattern).
Move Folder
Move (or copy) a folder to a new location.
Delete Folder
Delete a folder and all of its contents.
Rename Folder
Rename a folder within its parent directory.
Get Folder Size
Total size and file/folder counts of a folder (recursive).
Gmail
13Authorize Gmail (OAuth2)
Authorize a Gmail/Google account with OAuth 2.0 (Desktop app) and open a connection for sending, reading, labelling and managing mail. Caches a refresh token for silent reconnects.
Gmail: Send Email
Send an email (To/Cc/Bcc, subject, plain-text or HTML body and optional file attachments). Stores the new message id.
Gmail: Reply to Email
Reply to an existing message (kept in the same thread, with 'Re:' subject and In-Reply-To headers). Pass a message id from 'Gmail: Search Messages'.
Gmail: Search Messages
Search the mailbox with Gmail's query syntax (e.g. 'is:unread from:boss@x.com newer_than:7d') and return matches as a DataTable (messageId, threadId, from, to, subject, date, snippet).
Gmail: Get Message
Fetch a single message's full content (from, to, subject, date, body and attachment names) into a dictionary variable. Optionally stores just the body text in a second variable.
Gmail: Create Draft
Create a draft email (not sent) in the Drafts folder. Stores the new draft id.
Gmail: Download Attachments
Save all attachments of a message to a folder. Stores the list of saved file paths.
Gmail: Mark Read / Unread
Mark a message as read or unread (toggles the UNREAD label).
Gmail: Add Labels
Add one or more labels to a message (by label name or id). Unknown names are created automatically.
Gmail: Remove Labels
Remove one or more labels from a message (by label name or id).
Gmail: Trash Message
Move a message to Trash (reversible — not a permanent delete).
Gmail: Create Label
Create a new label. If it already exists, returns the existing label id. Stores the label id.
Gmail: List Labels
List all labels (system and user) as a DataTable (labelId, name, type).
Google Drive
10Authorize Google Drive (OAuth2)
Authorize with OAuth 2.0 (Desktop app) and open a Drive connection. Caches a refresh token for silent reconnects.
Upload File
Upload a local file to Drive.
Download File
Download a Drive file to a local path.
List / Search Files
List files/folders as a DataTable. Filter by name, parent folder or type.
Get File Info
Read a file/folder's metadata into a dict.
Copy File
Copy a file (optionally rename / place in a folder).
Move File
Move a file/folder into a different folder.
Delete File / Folder
Permanently delete a file or folder.
Create Folder
Create a folder in Drive.
Share File / Folder
Grant access to a file/folder (a person, or anyone with the link). Returns the shareable link.
Google Sheets
11Authorize Google Sheets (OAuth2)
Authorize with OAuth 2.0 (Desktop app) and open a connection. Caches a refresh token so later runs reconnect silently.
Create Spreadsheet
Create a new spreadsheet (document).
Delete Spreadsheet
Delete an entire spreadsheet (document) via Google Drive.
Get Rows
Read rows. Header row supplies column names (DataTable). Optional lookup filters by a column value.
Append Rows
Append rows, mapping DataTable columns onto the sheet header (writes a header first if the sheet is empty).
Update Rows
Update existing rows matched by a column value (no append).
Append or Update Rows
Update rows matched by a column value; append the rest (upsert).
Clear
Clear values from a sheet or an A1 range.
Create Sheet
Add a new sheet/tab to a spreadsheet.
Delete Sheet
Delete a sheet/tab from a spreadsheet.
Delete Rows or Columns
Delete a range of rows or columns from a sheet/tab.
Image & OCR
12Take Screenshot
Capture the screen (or a region) to a PNG file.
Find Image On Screen
Locate a template image within a screenshot (or the live screen).
Extract Text From Image (OCR)
Read text from an image using Tesseract OCR.
Resize Image
Resize an image to a width/height, optionally keeping aspect ratio.
Crop Image
Crop a rectangular region from an image.
Rotate / Flip Image
Rotate an image by an angle and/or flip it horizontally or vertically.
Convert Image Format
Convert an image to another format (PNG, JPEG, WEBP, BMP, GIF, TIFF).
Compress Image
Re-save an image at a lower quality / optimized size to shrink the file.
Adjust Image
Adjust brightness, contrast, color saturation and sharpness (1.0 = unchanged).
Convert To Grayscale
Convert an image to black & white (grayscale).
Add Text / Watermark
Draw a text watermark/label onto an image at a chosen corner.
Get Image Info
Read an image's width, height, format and file size.
Keyboard & Mouse
8Send Keys (Type Text)
Type text using the keyboard into the focused window.
Send Hotkey
Press a key combination such as Ctrl+C.
Send Key Sequence
Press a sequence of individual keys, one after another.
Mouse Click
Click the mouse at screen coordinates.
Mouse Move
Move the mouse cursor to screen coordinates.
Prompt For Input
Show a modern dialog that asks the user to fill in one or more fields (text, dropdown, radio, etc.) and stores each answer in a variable.
Open File Dialog
Ask the user to pick a file; store its path.
Open Folder Dialog
Ask the user to pick a folder; store its path.
List
12Create List
Create a new list, optionally pre-filled with values.
Add List Item
Append an item to a list.
Get List Item
Read an item from a list by index into a variable.
Get List Count
Count the items in a list.
Set List Item
Replace an item in a list at a given index.
Remove List Item
Remove an item by index, or the first item equal to a value.
Copy List
Copy a list into a new list variable.
Concatenate Lists
Join two lists into a new list.
Reverse List
Reverse the order of a list in place.
Sort List
Sort a list ascending or descending, in place.
Convert List To JSON
Serialize a list to a JSON string and/or a .json file.
Set List Index
Store a current-index pointer for a list (as '<name>.Index').
Misc
10Note (Sticky)
A colourful sticky note for documenting/grouping the canvas. Purely visual — it never runs and never appears in the log.
Show Message
Display a message to the user (a dialog box in UI mode).
Delay
Pause once, here, for a number of milliseconds, then continue. (For a delay applied automatically before every command, use Set Engine Delay instead.)
Set Clipboard Text
Copy text to the system clipboard.
Get Clipboard Text
Read text from the system clipboard into a variable.
Clear Clipboard
Clear the system clipboard.
Encrypt / Decrypt Text
Encrypt or decrypt text with a password (AES via Fernet).
Send Email (SMTP)
Send an email (optionally with attachments) via SMTP.
Ping Host
Ping a host and store whether it is reachable ('True'/'False').
Write To Log File
Append a timestamped message to a local log file.
Outlook
6Send Email (Outlook)
Compose and send an email via Outlook.
Get Emails (Outlook)
Read recent inbox emails (subject/sender) into a DataTable.
Forward Email (Outlook)
Forward the most recent email matching a subject.
Reply To Email (Outlook)
Reply to the most recent email matching a subject.
Move Email (Outlook)
Move the most recent matching email to a named folder.
Delete Email (Outlook)
Delete the most recent email matching a subject.
Programs & Processes
7Start Process
Launch a program, optionally waiting for it to finish.
Stop Process
Terminate all processes with the given name.
Run Script
Run a script file (.bat/.sh/.py/...) and capture its output.
Run PowerShell
Run a PowerShell script (inline) or a .ps1 file and capture its output.
Run CMD / Batch
Run a cmd.exe command (inline) or a .bat/.cmd file and capture its output.
Run Java
Compile and run Java source code directly. Paste a class with a 'public static void main' method; it is compiled with javac and run with java, and its stdout is captured. (To run a .jar instead, use Run CMD: 'java -jar file.jar'.)
Run Custom Python Code
Execute a Python snippet. Variables are supported two ways: {{{name}}} markers are replaced before running, and the live 'variables' dict is also available to read/write. Set 'result' to store an output.
Social Media
13Authorize YouTube (OAuth2)
Authorize a YouTube/Google account with OAuth 2.0 (Desktop app) and open a connection for uploading, commenting and liking. Caches a refresh token for silent reconnects.
YouTube: Upload Video
Upload a video to YouTube with full metadata: title, description, tags, category, privacy, scheduled publish time, thumbnail and optional playlist. Stores the new video id/URL.
Connect Facebook
Open a Facebook connection from a Page or User access token. Validates the token against the Graph API. Get a Page token from the Graph API Explorer / your app with the right scopes.
Facebook: Upload Video
Upload a video to a Facebook Page (or profile) with a title and description. Stores the new video id.
Connect TikTok
Open a TikTok connection from an access token (TikTok for Developers, Content Posting API). Validates it against the user info endpoint.
TikTok: Upload Video
Upload a video to TikTok via the Content Posting API. 'Inbox (draft)' uploads to the creator's drafts (works for un-audited apps); 'Direct post' publishes with a caption + privacy. Chunked resumable upload.
YouTube: List Comments
List top-level comments on a video as a DataTable (commentId, author, text, likeCount, replyCount). Use the commentId with 'YouTube: Reply to Comment'.
YouTube: Post Comment
Post a new top-level comment on a video.
YouTube: Reply to Comment
Reply to an existing comment (use a commentId from 'YouTube: List Comments').
YouTube: Like Video
Rate a video as like / dislike, or remove your rating.
Facebook: List Comments
List comments on a post/video object as a DataTable (commentId, author, text, likeCount).
Facebook: Post Comment
Post a comment on a post/video, or reply to a comment by using that comment's id as the object id.
Facebook: Like Object
Like a post, video or comment.
System
3Task
4Load Task (Sub-workflow)
Pre-load a workflow .json file into a named slot so Run Task can call it repeatedly without re-reading the file.
Run Task (Sub-workflow)
Run another workflow as a sub-step. It shares the current variables, so values set inside flow back to the caller. Give either a pre-loaded slot name or a file path.
Stop Task
Signal a running sub-task to stop at its next step (cooperative — the sub-workflow decides when to check).
Unload Task
Free a slot previously filled by Load Task. Optional — slots are released automatically when the workflow ends.
Transform
7Filter
Keep only the items matching a condition.
Sort
Sort items ascending or descending.
Aggregate
Combine a field across items (sum, average, count, ...).
Remove Duplicates
Remove duplicate items (optionally by a field).
Limit
Keep only the first or last N items.
Merge
Append two lists into one.
Split Out Field
Extract one field from a list of objects (or DataTable) into a flat list of values.
Triggers
6Manual Trigger
Start point for a workflow run started by the user.
Schedule Trigger
Declare a schedule (cron or interval) for a runner to honour.
Webhook Trigger
Declare an HTTP webhook path/method for a runner to host.
Hotkey Trigger
Start the workflow on a global keyboard/mouse hotkey (e.g. Ctrl+Alt+R).
Local File Trigger
Start the workflow when files in a folder are created or changed.
On App Start
Start the workflow automatically when the app launches.
UI Automation
11UI Automation Action
Find a control and click it, set its text, or read its text.
UI Element Exists
Store whether a control exists in the window.
UI Get Element Status
Get a control's enabled/visible status as a dict.
UI Get Element Name
Read a control's name into a variable.
UI Get Element Text
Read a control's text into a variable.
UI Get Table Cell
Read a cell value from a grid/table control by row and column.
UI Set Element Text
Type text into an editable control.
UI Click
Click a control.
UI Left Click
Left-click a control.
UI Double Click
Double-click a control.
UI Right Click
Right-click a control.
Variables
6Set Variable
Create or update a variable with a value.
Modify Variable
Apply a string operation to a variable and store the result.
Math Calculation
Evaluate an arithmetic expression and store the result.
Add To Variable
Append a value to an existing variable (text or list).
Auto-Calculate Variable
Evaluate a variable's value as an expression and store it back.
Copy Variable
Copy one variable's value into another.
Video
16Trim / Cut Video
Cut a segment from a video by start time + end (or duration).
Concatenate Videos
Join multiple videos into one (re-encoded for safety).
Resize Video
Scale a video. Leave Height blank to keep the aspect ratio.
Crop Video
Crop a rectangle (width x height at x,y from top-left).
Rotate / Flip Video
Rotate 90/180/270° or flip horizontally/vertically.
Change Speed
Speed up or slow down (e.g. 2 = 2× faster, 0.5 = half speed).
Extract Audio
Extract the audio track to MP3 / AAC / WAV.
Replace / Add Audio
Replace the video's audio with an audio file (e.g. background music). Trims to the shorter stream.
Adjust Volume
Scale the audio volume (e.g. 1.5 = louder, 0.5 = quieter).
Mute Video
Remove the audio track.
Add Watermark / Logo
Overlay an image (logo/watermark) on the video.
Add Text Caption
Burn a text caption onto the video (drawtext).
Fade In / Out
Add a fade-in at the start and/or fade-out at the end (video + audio).
Convert Format
Re-encode to another container/format with optional quality.
Video → GIF
Make a high-quality GIF from a clip (palette-based).
Extract Frame / Thumbnail
Save a single frame at a time as an image.
Web Browser
26Create Browser
Launch a browser session as a named instance, with an optional stealth (anti-bot-detection) mode.
Navigate To URL
Navigate the browser to a URL.
Get Element Text
Read an element's text into a variable.
Set Element Text
Type text into an input element.
Element Action
Perform an action (click, hover, ...) on an element.
Wait For Element
Wait until an element appears.
Press Key
Press a keyboard key on an element, or on the page if no selector is given (e.g. Enter, Tab, Escape).
Upload File
Set the file(s) of a file <input> element.
Navigate Back
Go back to the previous page.
Navigate Forward
Go forward to the next page.
Refresh Page
Reload the current page.
Close Browser
Close the browser session and free resources.
Check Browser Exists
Store whether a named browser instance exists.
Get Browser Info
Get the current URL and page title as a dict.
Resize Browser
Set the viewport width and height.
Execute JavaScript
Run JavaScript and store the result.
Take Screenshot
Save a screenshot of the current page (full page optional).
Switch Window/Tab
Switch the active tab by 0-based index.
Switch Frame
Switch element scope into an iframe (blank selector = main).
Clear Element
Clear the value of an input element.
Get Element Attribute
Read an element's attribute into a variable.
Get Element Count
Count elements matching the selector.
Get Matched Elements Text
Store the text of every matching element as a list.
Get Select Options
Store the option values of a <select> element as a list.
Select Option
Select an option in a <select> element by value or label.
Mouse Action On Element
Click, double-click, right-click or hover an element.
Window
10Activate Window
Bring a window to the foreground.
Close Window
Close a window.
Move Window
Move a window to screen coordinates.
Resize Window
Resize a window.
Set Window State
Maximize, minimize or restore a window.
Get Window State
Get a window's state (maximized/minimized/normal).
Get Window Position
Get a window's position and size as a dict.
Get Window Titles
List the titles of all open windows.
Check Window Exists
Store whether a window with the title exists.
Wait For Window
Wait until a window with the title appears.
Word
14Create Word Document
Create a new empty document as a named instance.
Open Document
Open an existing .docx file as a named instance.
Append Text
Add a paragraph of text with an optional style and alignment.
Append Markdown
Render Markdown (text or .md file) and append it to the document — headings, lists, tables, code, bold/italic.
Save Document As
Save the document to a specific path.
Read Document
Read all paragraph text from the document into a variable.
Save Document
Save the document to its current path.
Close Document
Close a document instance and discard it from memory.
Check Word Instance Exists
Store whether a named Word instance exists.
Append Page Break
Insert a page break (start the following content on a new page).
Append Image
Insert an image into the document.
Append Table
Insert a DataTable variable as a Word table.
Replace Text
Replace all occurrences of text in the document.
Export To PDF
Export the saved document to PDF (requires Microsoft Word).