AI Integration: Process Text with AI in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
AI Integration sends text from a variable or clipboard with a prompt to your configured AI provider, then stores the reply in a variable or clipboard. A provider must be enabled in Settings first.
Dialog & quick setup

- Open Settings › AI and configure your preferred AI provider (OpenAI, Gemini, Claude, or Custom Endpoint with API key + model).
- Add an AI › AI Integration command to the workflow.
- Choose the Input source: Variable or Clipboard. For a variable, enter its name.
- Write a Prompt describing the task (you can insert variables with
{name}syntax). - Choose the Output target: save to a variable (enter variable name) or the clipboard.
- (Optional) Set min/max words to bound the reply length. Save and test.
Options reference
Modes & when to use
Desktop Mode
Runs in both Desktop and Browser modes.
Browser Mode
Best for
- Summarize or rewrite a piece of collected text.
- Translate content to another language between steps.
- Classify or label data, then branch on the result.
- Generate short content within a min/max word limit.
Use an alternative when
- You do not want to send data to an external service.
- No AI provider can be configured.
- You need 100% deterministic output — AI replies can vary between runs.
Before you run
- At least one AI provider enabled in Settings (OpenAI, Gemini, Claude, or Custom Endpoint) with a valid API key and model.
- Internet access to call the API.
- Input text available in a variable or the clipboard.
Real Example: Summarize Clipboard Text with AI
Example: summarize clipboard content
- Copy a block of text (or use Copy Text to grab it into the clipboard).
- AI Integration: Source = Clipboard, Prompt = "Summarize the following briefly".
- Output target = variable
summary, Max words = 60. - Use
{summary}in later steps.
Expected result: RunMacro calls the AI provider and stores the returned text in the chosen variable or clipboard; it logs the number of characters received.
Tips & limitations
You must configure an AI provider (API key + model) in Settings before the command can run. If it is not ready, the command logs a reason and returns failure.
Prompt text and input data are sent to an external AI provider. Do not send sensitive data if your policy disallows it.
- Depends on an external service: needs a valid API key and stable network.
- A per-command model does not override the model configured in Settings.
- Results may differ between runs.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
