n8n Browser Operations
Use your agent's built-in browser automation to interact with your n8n instance at https://your-n8n-instance.example.com for tasks the REST API cannot handle.
Portability note: The
browser_toolcommands below use one agent's browser CLI as a concrete example. If your AI assistant exposes browser automation under a different command or tool, map the same steps (open → navigate → snapshot → find → click/fill) onto whatever your tooling provides. If it has no browser capability, perform these steps manually in the n8n UI. Check your assistant's browser-tool documentation before your first call.
When to Use This Skill
Use /n8n-browser when the user needs to:
- Configure credential secrets (API can't set them reliably)
- Install or uninstall community nodes (no API endpoint)
- Complete OAuth authorization flows (requires browser redirects)
- Tag workflows (REST source can't send array bodies)
- Manage instance settings (SMTP, users, execution settings)
- Test-run a workflow with pin data from the canvas
- Visually inspect execution data flow between nodes
For everything else, prefer the API-based skills (/n8n-build, /n8n-list, /n8n-debug, /n8n-template).
Browser Lifecycle
- Open the browser at the start of the task
- Navigate to the relevant n8n page
- Perform the task using snapshot → find → click/fill patterns
- Release the browser when done so the user can continue in the UI, OR hide if more tasks may follow
browser_tool open
browser_tool navigate https://your-n8n-instance.example.com
Login Handling
n8n may require authentication. If the page shows a login form:
snapshotto find the email/password fields- Ask the user for credentials — NEVER guess or store login credentials
fillthe fields andclickthe sign-in buttonwait network-idle 5000after login
If already authenticated (cookie session active), the dashboard loads directly.
Task Procedures
1. Configure Credential Secrets
The API can create credential records but cannot reliably set secret values (API keys, tokens, passwords). Use the browser instead.
Navigate to credentials:
browser_tool navigate https://your-n8n-instance.example.com/credentials
To edit an existing credential:
snapshot→findthe credential name →clickitsnapshotthe credential form to see all fields- Ask the user for the secret values — never assume or fabricate them
filleach secret field with the provided valuesclickthe Save button- Confirm the save was successful (look for success toast or absence of errors)
To create a new credential:
snapshot→findthe "Add Credential" or "+" button →clickfindor search for the credential type (e.g., "Slack API", "OpenAI")clickthe correct typefillthe fields with values provided by the userclickSave
Safety: Never display credential secret values back to the user in your text output. Confirm only that they were entered and saved.
2. Install Community Nodes
Community nodes extend n8n with third-party integrations. There is no API for this.
browser_tool navigate https://your-n8n-instance.example.com/settings/community-nodes
To install a node:
snapshot→findthe "Install" or "Install a community node" button →clickfillthe npm package name field (e.g.,n8n-nodes-puppeteer)- Check the risk acknowledgment checkbox if present (
clickit) clickInstallwait network-idle 10000— installation can take a momentsnapshotto verify the node appears in the installed list
To uninstall a node:
snapshot→findthe node in the listclickthe uninstall/remove button next to it- Confirm the action if a dialog appears
wait network-idle 5000
3. Complete OAuth Authorization Flows
Some credentials (Google, Microsoft, Slack, etc.) require an OAuth consent flow in the browser.
browser_tool navigate https://your-n8n-instance.example.com/credentials
- Find and open the credential (or create a new one of the right type)
snapshot→findthe "Sign in with..." or "Connect" button →click- A new page or popup loads with the OAuth provider's consent screen
snapshotthe consent screen- If it asks the user to choose an account or grant permissions, guide them through each step
- After authorization completes, n8n redirects back and shows a success state
snapshotto confirm the credential is now connectedclickSave if needed
Important: OAuth flows may open in a new tab or redirect. Use snapshot after each step to stay oriented. If a popup appears, it should be in the same browser window.
4. Tag Workflows
The REST source cannot send the array body required by PUT /workflows/{id}/tags. Use the browser.
browser_tool navigate https://your-n8n-instance.example.com/workflow/{id}
snapshotthe workflow canvas pagefindthe tags area (usually near the workflow name at the top)clickthe tags area or "Add tag" buttonfillorfindthe desired tag nameclickto select/create the tag- Click outside or press Escape to close the tag dropdown
- The workflow auto-saves tags, but
snapshotto verify
To tag multiple workflows: Repeat for each workflow, or use the workflow list view if bulk-tagging is available.
5. Manage Instance Settings
n8n instance settings are not exposed via API.
browser_tool navigate https://your-n8n-instance.example.com/settings
Available settings sections (navigate via sidebar or sub-pages):
- General — Instance name, default timezone
- Users —
https://your-n8n-instance.example.com/settings/users - API —
https://your-n8n-instance.example.com/settings/api - External Secrets —
https://your-n8n-instance.example.com/settings/external-secrets - SMTP / Email —
https://your-n8n-instance.example.com/settings/smtp(if available in CE) - Community Nodes —
https://your-n8n-instance.example.com/settings/community-nodes - Log Streaming —
https://your-n8n-instance.example.com/settings/log-streaming
For each:
- Navigate to the specific settings page
snapshotto see current valuesfillorselectfields as requested by the userclickSavesnapshotto confirm changes took effect
6. Test-Run Workflows with Pin Data
Testing a workflow with specific input data from the canvas.
browser_tool navigate https://your-n8n-instance.example.com/workflow/{id}
snapshotthe workflow canvas- To pin data on a trigger node:
findthe trigger node →clickit - In the node panel, look for "Pin data" or the pin icon
clickit and enter the test JSON data usingfillorpastefindthe "Test workflow" or "Execute" button at the bottom of the canvas →clickwait network-idle 10000— execution may take timesnapshotto check execution results
7. Visual Execution Inspection
The n8n execution viewer shows data flowing through each node — much richer than the API's JSON dump.
From the executions list:
browser_tool navigate https://your-n8n-instance.example.com/executions
For a specific workflow's executions:
browser_tool navigate https://your-n8n-instance.example.com/workflow/{id}/executions
snapshotthe execution listclickthe execution you want to inspect- The execution viewer opens showing the workflow with data on each node
clickindividual nodes to see their input/output datascreenshotorscreenshot --annotatedto capture the visual state if the user needs a reference- Report findings back to the user in text
General Browser Patterns
Snapshot-first interaction
Always snapshot before interacting. Refs (@e1, @e2, ...) change after navigation or DOM updates. Re-snapshot after every click that causes navigation or significant UI change.
Waiting for n8n to load
n8n is a single-page app that can be slow to hydrate:
browser_tool wait network-idle 5000
browser_tool snapshot
Handling modals and dialogs
n8n uses modal dialogs for confirmations and forms. After triggering a modal:
snapshot— the modal elements will appear in the accessibility tree- Interact with modal fields using the new refs
clickthe confirm/save/cancel button
Error handling
If an operation fails (red toast, error message):
screenshotto capture the error visuallysnapshotto read the error text- Report the error to the user and suggest next steps
Safety Rules
- Never fabricate credentials or secrets. Always ask the user for values.
- Confirm before destructive actions — uninstalling nodes, deleting credentials, changing settings.
- Never display secret values in text output after entering them.
- Release the browser when done so the user can continue manually if needed.
- Prefer the API for anything it can handle. Only use the browser for true API gaps.