Description
n8n-nodes-trainar


n8n community node for TrainAR — the AR training platform.
Trigger n8n workflows when TrainAR events fire (task created, session completed, skill executed, etc.) and call TrainAR API actions (create tasks, invite users, execute skills) from any n8n workflow.
Install
Self-hosted n8n
1. In your n8n instance, go to Settings → Community Nodes → Install.
2. Paste n8n-nodes-trainar and click Install.
3. Reload n8n.
n8n Cloud
Verified community node install is rolling out per workspace by n8n. Once approved, install the package from the Nodes panel with one click.
Authenticate
1. In TrainAR Dashboard → API, generate a tenant API key (starts with tak_). Required scopes depend on what you need:
– manage:webhooks — for the TrainAR Trigger node (subscribe/unsubscribe)
– read:tasks, write:tasks, read:users, read:skills — for the various Find/Read operations of the TrainAR node
– manage:users — for the User → Invite action
– write:skills — for the Skill → Execute action
2. In n8n, create a new credential of type TrainAR API and paste the key.
Nodes
TrainAR Trigger (REST hook)
One trigger node, six event types:
| Event | When it fires |
|—|—|
| task.created | A new operational task is created in TrainAR |
| task.statuschanged | A task changes status (open / inprogress / completed / cancelled) |
| task.completed | A task is completed |
| session.started | A training session starts on an AR device |
| session.completed | A training session ends |
| skill.executed | A TrainAR skill is executed (success or failure) |
Select one or more events on the trigger node. The webhook payload is flattened — fields from the event’s data object are top-level, with event and timestamp carried alongside for routing logic.
TrainAR (actions + searches)
Three resources, six operations:
| Resource | Operation | What it does |
|—|—|—|
| Task | Create | Create a new operational task |
| Task | Update Status | Move a task between open / in_progress / completed / cancelled |
| Task | Find | List recent tasks (client-side title filter) |
| User | Invite | Send an invitation email to a new user |
| User | Find | List users in the tenant |
| Skill | Execute | Run a TrainAR skill server-to-server (auto-resolves session_context) |
Compatibility
- n8n: 1.0.0+
- Node.js: 20.x+
- n8n-workflow: 1.0.0+
POST /webhook-subscribe— REST-hook lifecycle (create)GET /webhook-subscribe?endpoint_id=…— REST-hook lifecycle (checkExists)DELETE /webhook-subscribe?endpointid=…&source=n8n— REST-hook lifecycle (delete, source-scoped)POST /api-tenant-tasks— Create taskPATCH /api-tenant-tasks?task_id=…— Update task statusGET /api-tenant-tasks— List tasksPOST /api-tenant-users— Invite userGET /api-tenant-users— List usersPOST /api-tenant-skills-execute— Execute skill
Endpoints
The node calls the TrainAR production API at https://xddgmkiguaohdewecmju.supabase.co/functions/v1:
Source
github.com/Train-AR/n8n-nodes-trainar
License
MIT