Package Information
Documentation
n8n-nodes-smartschool
This repository contains the SmartSchool community node for n8n. It lets you work with your SmartSchool tenant (accounts, helpdesk, messaging) directly from any workflow.
SmartSchool est la plateforme numérique utilisée par de nombreuses écoles francophones pour la communication, les cours et le suivi administratif. Ce paquet expose les API SmartSchool via SOAP dans n8n.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Installation
Follow the community node installation guide. The package name is n8n-nodes-smartschool.
After installation, restart n8n so it loads the new node from ~/.n8n/custom (or the directory you configured through N8N_CUSTOM_EXTENSIONS).
Operations
All functionality is exposed by a single node named SmartSchool. It currently supports five resource families:
| Resource | Operations | Description |
|---|---|---|
Group |
Get All Accounts, Get All Accounts (Extended), Get All Groups and Classes, Get Class List (CSV), Get Class List (JSON), Get Class Teachers, Change Group Visibility, Save Group, Save Class, Save User to Group, Remove User from Group, Delete Class, Save Class List (CSV), Save Class List (JSON), Get Schoolyear Data of Class, Save Schoolyear Data of Class, Get Skore Class Teacher Course Relation, Clear Group, Unregister Student |
Work with the group/class hierarchy, export class lists, and manage classes, groups, and memberships. |
Helpdesk |
List Helpdesk Items, Create Helpdesk Ticket |
Retrieve the helpdesk mini database (categories + item IDs) and create new tickets. |
Message |
Send Message, Save Signature |
Send SmartSchool messages (main account or co-account) with optional attachments and manage user signatures. |
Account |
Get User Details, Get User Details by Number, Get User Details by Username, Get User Details by Scannable Code, Get User Official Class, Save User, Delete User, Set Account Status, Change Username, Change Internal Number, Change Password at Next Login, Force Password Reset, Replace Internal Number, Save User Parameter, Remove Co-Account, Save Password, Deactivate Two-Factor Authentication |
Read and mutate account data, credentials, status, and user parameters. |
Parameter |
Get Reference Field |
Fetch the platform reference field configuration and documentation. |
Absence |
Get Absents, Get Absents with Alias, Get Absents by Date, Get Absents with Alias by Date, Get Absents with Internal Number by Date, Get Absents with Username by Date, Get Absents by Date and Group |
Pull absence data by student, date, or class/group with optional alias labels. |
Course |
Get Courses, Add Course, Add Course Students, Add Course Teacher |
List courses or manage course assignments for classes and teachers. |
System |
Start Skore Sync, Check Status, Get Student Career, Get Deliberation Lines |
Kick off Skore sync jobs, check their status, and read student career history. |
Portal |
Generate Session, Validate Session, Fetch Planner, Fetch Email Inbox, Fetch Email, Fetch Results, Get Gradebook Templates, Get Gradebook Config, Get Gradebook Pupil Tree, Get Gradebook Categories, Get Gradebook Category Grades (Pupil), Get Gradebook Category Grades (Group), Get Presence Config, Get Presence Class, Get Presence Day (All Classes) |
Uses Smartschool web endpoints via a session cookie to access planner, inbox/sent mail, results, gradebook data, and presences. |
Roadmap work (additional API coverage) is tracked in docs/SMARTSCHOOL-ROADMAP.md.
Credentials
Create a credential of type SmartSchool API and provide:
API Endpoint– e.g.https://myschool.smartschool.be/Webservices/V3(without?wsdl).Access Code– the SmartSchool API access code tied to your tenant.
The credential is reused by every SOAP resource/operation. If you rotate the access code, update the credential and all workflows keep working.
The SOAP API and the Portal endpoints are separate systems with separate credentials. Use the SOAP credential for SOAP resources, and the Portal credential for Portal operations.
For Portal operations, create a Smartschool Portal Login credential with:
Smartschool Domain– e.g.myschool.smartschool.be(nohttps://).Username,Password, andDate of Birthas required.TOTP Secret(optional) for 2FA (base32 seed, no spaces).
Presence operations require the portal user ID to fetch a session token, so you will need to provide a Presence User ID when calling the presence endpoints.
The legacy Playwright-based session flow was removed from the Portal node UI, but it is still documented in docs/portal-legacy-session.md.
These operations rely on Playwright. Install browser dependencies once with:
npx playwright install
To debug MFA flows, run n8n with a visible browser:
SMARTSCHOOL_HEADLESS=0 n8n start
Compatibility
- Node.js 20+ (matches n8n 1.40+ default runtime).
- Developed and tested against n8n
1.45.xbut should run on any release that supports community nodes.
Usage
- Fetch users from a class – Choose resource
Group, enter the class code (e.g.1F), and enable Include Subgroups if you need nested groups. Each member shows up as an item in the output data. - Prepare helpdesk automations – First run
List Helpdesk Itemsto capture theitemIdvalues for your mini database categories. Use those IDs in theCreate Helpdesk Ticketoperation (fieldsMini Database Item ID,Priority,User Identifier, etc.). - Send notifications – Select resource
Message, fill in the title/body, sender identifier (Nullfor anonymous), choose the account index, and optionally add base64 attachments via the collection input.
Every operation honours Continue On Fail, so you can branch on success/error or retry requests inside the workflow.
Resources
Version history
| Version | Notes |
|---|---|
0.1.0 |
Initial public release with accounts, helpdesk and messaging operations. |