This is an n8n community node that lets you use MobileRun in your n8n workflows to automate tasks on Android devices via the MobileRun Cloud API.
n8n is a fair code licensed workflow automation platform.
npm i @mobilerun/n8n-nodes-mobilerunFollow the n8n community nodes installation guide.
This node exposes the following resources and operations:
- List Apps: Retrieves a list of apps with filtering and search capabilities.
- Connect Proxy: Connect a proxy to the device.
- Delete Device: Delete a specific device.
- Disconnect Proxy: Disconnect the proxy from the device.
- Get Device: Get details of a specific device.
- Get Device Tasks: Get tasks for a specific device.
- List Devices: Retrieves a list of devices with filtering and search.
- Wait for Device: Wait for a device to be ready.
- Add New Field: Add a new field to an existing credential.
- Create Credential Field: Create a credential with fields for a package.
- Delete Specific Credential: Delete a credential and all its fields.
- Delete Specific Credential Field: Delete a field from a credential.
- Get Specific Credential: Get a specific credential with its fields.
- Initialize Package: Initialize a new package or app.
- List Credentials: List all credentials.
- List Package Credentials: List credentials for a specific package.
- Get Task: Get details of a task.
- Get Task Screenshot: Get a screenshot of a task.
- Get Task Screenshots: Get a list of screenshots of a task.
- Get Task Status: Get the status of a task.
- Get Task Trajectory: Get the trajectory of a task.
- Get Task UI State: Get a specific UI state of a task.
- Get Task UI States: Get UI states of a task.
- List Tasks: List all tasks you have created so far.
- Run Task: Run a task on a device.
- Supports LLM model selection (fetched from LiteLLM endpoint).
- Optional device selection (fetched from API or manual entry).
- Apps selection (fetched from API for dropdown).
- Structured output support via JSON schema.
- Optional file attachments.
- Run Task and Wait: Run a task and wait until it is completed, failed, or cancelled.
- Stop Task: Stops a running task.
This node requires a MobileRun API Token.
- Create a MobileRun account and obtain an API key from your dashboard.
- In n8n, create new credentials of type
MobileRun APIand paste your token. - The token will be sent as
Authorization: Bearer <token>to the MobileRun API.
Reference: https://docs.mobilerun.ai/api-reference/
- Built for the n8n Nodes API v1.
- Developed with Node.js >= 20.15.
- Add the
MobileRunnode to your workflow. - Select the
Resource(App Store, Device, Device Credential, Inspect Task, or Manage Task) and choose anOperation. - Provide required parameters (for example,
Task IDfor inspect operations orTaskand model settings forRun Task). - Execute the workflow.
- n8n community nodes docs:
https://docs.n8n.io/integrations/#community-nodes - MobileRun API reference:
https://docs.mobilerun.ai/api-reference/ - MobileRun website:
https://droidrun.ai/
- 1.0.3: Initial public release of the Tasks node
Use npm for this repository. package-lock.json is the authoritative lockfile,
matching the release workflow.
npm ci --ignore-scripts
npm run build
npm run lint
npm audit --audit-level=high
npm pack --dry-runPull requests run these checks before release. Regenerate and commit the npm lockfile when updating dependencies.
Security overrides retain the existing dependency major versions while selecting patched transitive packages. The n8n workflow development version matches the existing node API; consumers continue to provide their own peer dependency.