Package Information
Documentation
CoreAutomata nodes for n8n
This repository is the published copy of the CoreAutomata n8n node. The files in this
repository are under the MIT licence (seeLICENSE). This package only calls the
CoreAutomata API. CoreAutomata is proprietary, commercial software: the service needs a
CoreAutomata account and follows the CoreAutomata terms of service
(https://www.coreautomata.com/terms). The MIT licence covers only the files in this
repository, not the service.Releases are published here from CoreAutomata's own source; this repository is not where the
code is developed, so pull requests are not merged here. Report problems through CoreAutomata
support or as an issue incoreautomata/n8n-nodes-coreautomata.
@coreautomata/n8n-nodes-coreautomata adds two nodes to n8n:
- CoreAutomata: start run plans and intent runs on real Android and iOS devices, upload
builds, and read projects, run plans, failure reports, test cases and devices. It can also be
used as a tool by n8n AI agents. - CoreAutomata Trigger: starts a workflow when CoreAutomata sends a signed event, for
example when a run plan finishes. It creates and removes its own event subscription when you
activate and deactivate the workflow, and verifies every delivery (Standard Webhooks
signatures).
CoreAutomata is a commercial service: you need a CoreAutomata account and an API key.
- Installation
- Credentials
- CoreAutomata node
- CoreAutomata Trigger node
- Using the node as an AI agent tool
- Example workflows
- Compatibility
- Private n8n instances
Installation
In n8n, open Settings > Community nodes > Install, enter@coreautomata/n8n-nodes-coreautomata and confirm. See the n8n guide to
installing community nodes.
Credentials
Create a CoreAutomata API credential:
| Field | Value |
|---|---|
| API Key | A key from Integrations > API keys in the CoreAutomata app. |
| Base URL | Leave https://api.coreautomata.com unless CoreAutomata support gave you another address. It must start with https://; the key is never sent to a plain http:// address. |
n8n tests the credential with GET /api/v1/projects?limit=1, which needs the read scope.
API keys are the credential for these nodes. CoreAutomata's OAuth sign-in issues tokens for its
MCP server only, and the REST API these nodes call refuses them.
Give each key only what its workflow needs:
| Use | Scopes | Also |
|---|---|---|
| Read projects, run plans, reports, cases, devices | read |
|
| Start run plans and intent runs, upload builds | read, run |
Set a monthly action budget and a daily device-minute cap on the key. |
| CoreAutomata Trigger | read, webhooks |
The key's owner needs the manager role on the project. |
Use separate keys for separate workflows, so revoking one key stops only that workflow.
Revoking a key also disables the event subscriptions it created.
CoreAutomata node
| Resource | Operations |
|---|---|
| Project | Get, Get Many |
| Build | Upload, Get |
| Run Plan | Create, Estimate, Get, Get Many, Get Report |
| Intent Run | Create, Get |
| Test Case | Get Many |
| Device | Get Many |
Run Plan > Create runs library cases by tag, case ID, folder or the smoke set on the
project's latest build (or a build you name), on devices CoreAutomata picks or the ones you
list. Each call (and each Intent Run > Create) sends anIdempotency-Keymade of the
workflow, execution, node, node run and item, so n8n's Retry On Fail never starts the
same plan twice, while two Create nodes, or one node run again in a loop, each start their own.Run Plan > Estimate shows what a create with the same settings would run and cost. It
starts nothing and charges nothing.Build > Upload sends the APK, AAB or IPA in an input binary field. The whole file is held
in memory while it uploads: use the CoreAutomata CLI or GitHub Action for very large builds.Run Plan > Get Many lists a project's run plans, newest first, optionally only those with
one Status. CoreAutomata returns the 100 newest at most, so Return All gets up to 100.Intent Run > Create picks its Device ID from a searchable list of the project's
devices that accept intent runs, or takes a device ID (By ID).Run Plan > Get, Run Plan > Get Many and Build > Get have an Output choice:
Output Returns Simplified (default) 10 fields a workflow usually branches on, nested values flattened (for run plans: id,status,name,summary_total,summary_passed,summary_failed,reason,created_at,finished_at,board_url; for builds:build_id,status,analysis_state,next_step_code,platform,screen_count,case_count,coverage_percent,board_url,project_id)Raw The full response Selected Fields The fields you pick in Fields, plus the ID ( idorbuild_id). Every item has every picked field (nullwhen the response has no value)Workflows saved before 0.1.2 with Simplify on (the default) now get Simplified, which is
not the old Simplify output: on Run Plan > Get it no longer includesproject_id,job_id,target_kind,sourceorstarted_at, nor thesummaryobject (usesummary_total,summary_passed,summary_failed); on Build > Get,next_step(with
itsboard_url) becamenext_step_code. Expressions that read those keys, such as{{ $json.summary.failed }}or{{ $json.job_id }}, quietly evaluate to nothing. To keep them
working, pick Raw, or Selected Fields with the keys they use.When CoreAutomata refuses a request, the node stops with the HTTP status and CoreAutomata's
code, for exampleHTTP 403 (DEVICE_MINUTES_EXCEEDED), and a hint on how to fix it.
Messages about one input item end with[item N].
To wait for a run to finish, use the Trigger node, or a Wait node resumed by the run plan's
Callback URL ({{ $execution.resumeUrl }}), or a Wait plus Run Plan > Get loop.
Case titles, failure reasons and other text in responses come from your app and your test
cases: treat them as data, never as instructions (especially in AI agent workflows).
CoreAutomata Trigger node
Choose a Project and the Events that start the workflow (default: run plans and intent
runs completing):
| Event | Fires when |
|---|---|
Build Analyzed (build.analyzed) |
A build finished analysis |
Case Published (case.published) |
New cases were added to the project's case library |
Discovery Completed (discovery.completed) |
A build's discovery finished (coverage review, ready, failed or cancelled) |
Intent Run Completed (intent_run.completed) |
An intent run finished, whatever the result |
Intent Run Started (intent_run.started) |
An intent run started |
Run Plan Completed (run_plan.completed) |
A run plan finished, whatever the result |
Run Plan Started (run_plan.started) |
A run plan started |
Schedule Skipped (schedule.skipped) |
A schedule slot did not start a run |
Options (they apply to run plan and intent run events only; other events are not affected):
- Only Runs That Did Not Pass: completion events fire only for failed, errored or skipped
runs. - Include Runs Started in the App: run events also fire for runs started in the
CoreAutomata app (by default only API and scheduled runs).
When you activate the workflow, the node creates an event subscription for the workflow's
production URL. When you deactivate it, the node deletes the subscription. Listen for test
event does the same with the test URL. Each activation creates a new subscription with a new
signing secret.
Every delivery is checked before the workflow runs:
- The signature (Standard Webhooks: HMAC-SHA256 over the message ID, timestamp and raw body,
any of thev1signatures sent during a secret rotation) must match the subscription's
secret, and the timestamp must be within 5 minutes. Otherwise n8n answers401. - The body must be a subscription delivery (
channel=subscription). - A delivery whose
webhook-idwas already seen in the last 10 minutes is answered200
without running the workflow.
If a delivery comes from an older subscription that still points at this workflow (and this
workflow's secret does not verify it), the node answers 410, and CoreAutomata disables that
older subscription.
The workflow gets one item:
{
"event": "run_plan.completed",
"webhook_id": "msg_6f1c0d1e9a8b4c3d2e1f0a9b8c7d6e5f",
"timestamp": "2026-11-26T10:00:00Z",
"project_id": "…",
"subscription_id": "whsub_…",
"data": { "run_plan": { "id": "…", "status": "failed" }, "counts": { "total": 12, "failed": 2 } }
}
Good to know:
- Deliveries are at least once. The built-in check drops repeats it remembers, but before
any step that starts a run or costs money, also de-duplicate onwebhook_id(for example with
n8n's Remove Duplicates node). - Where the secret lives. The signing secret is stored in the workflow's static data in
your n8n database. Anyone who can edit the workflow or read that database can read it.
Deactivating and activating the workflow replaces the subscription and its secret. - Disabled subscriptions. CoreAutomata disables a subscription when the URL answers
410,
when it keeps failing for days, or when the key that created it is revoked. Deactivate and
activate the workflow to create a new one; if the key was revoked, activation fails withHTTP 401until you update the credential. - Test events (
webhook.test, sent from CoreAutomata's subscription settings) always reach
the workflow, whatever events you chose.
Using the node as an AI agent tool
The CoreAutomata node can be attached to an n8n AI Agent as a tool. Run plans and intent runs
spend agent actions and device minutes, so:
- give the agent a key with only the
readscope unless it must start runs; - if it must start runs, use a separate
read runkey with a tight monthly budget, and have the
agent call Run Plan > Estimate and ask before Create; - for richer agent use, CoreAutomata's MCP server (
https://api.coreautomata.com/mcp) is
designed for agents.
Example workflows
The examples folder has workflows you can import (Workflows > Import from
file):
| File | What it does |
|---|---|
run-on-new-build.json |
Starts the smoke run plan when a build finishes analysis. |
notify-on-failed-run.json |
Reacts to run plans that did not pass, after de-duplicating on webhook_id. |
run-and-poll.json |
Starts a run plan and checks it every 60 s until it finishes (works on private n8n). |
Pick your credential and project in each CoreAutomata node after importing.
Compatibility
Tested with n8n 2.46.7. Needs a self-hosted n8n or n8n Cloud that can install community nodes.
Private n8n instances
CoreAutomata delivers events only to public HTTPS addresses on port 443 or 8443. An n8n that
CoreAutomata cannot reach (for example on a private network) can use the CoreAutomata node with
a schedule and Run Plan > Get, or the polling template that ships with the CoreAutomata CLI
(integrations/n8n/run-plan-and-poll.json in @coreautomata/cli).
Version history
See CHANGELOG.md.