Skip to content

n8n

The official Scoold community node for n8n lets you trigger workflows from Scoold events and search Scoold content - all without writing any code.

The package provides two nodes:

  • Scoold Trigger - starts a workflow when a Scoold event fires (new question, answer, comment, report, etc.)
  • Scoold - searches Scoold for questions, answers, users, and other content types
  1. In n8n, go to Settings → Community Nodes
  2. Click Install and enter:
    n8n-nodes-scoold
  3. Confirm the installation and restart n8n if prompted
  1. In your Scoold Admin panel, go to the API section and generate a new JWT API key. Copy it.
  2. In n8n, go to Credentials → New → Scoold API and fill in:
    • Base URL - the root URL of your Scoold instance, e.g. https://community.example.com (no trailing slash)
    • API Key - the JWT key you just copied
  3. Click Test credential. n8n calls /api/stats to verify the key is valid.

The Scoold Trigger node automatically registers a webhook in Scoold when the workflow is activated, and removes it when the workflow is deactivated. No manual webhook setup is required.

Configuration

ParameterDescription
Event Names or IDsOne or more Scoold events to subscribe to. Loaded from your Scoold instance at /api/events.
Property Filter (optional)Narrow events by object property, e.g. space:general or tags:bug|security

Supported events (partial list):

EventFires when…
question.createA question is posted
answer.createAn answer is posted
comment.createA comment is posted
answer.acceptAn answer is accepted as the solution
answer.approveAn answer is approved by a moderator
report.createA report is submitted
question.closeA question is closed
user.signupA new user registers

Each trigger execution emits one n8n item per object in the event payload. Every item includes a _scoold metadata field with the event name, timestamp, app ID, and webhook ID.

Use the Scoold node to search for content in your community from anywhere in a workflow.

Resource: Search - Operation: Query

ParameterDescription
TypeObject type to search: question, answer, user, profile, comment, report, revision, badge, feedback
QueryFull-text search string (supports Lucene syntax)
Return AllAutomatically page through all results using cursor pagination
LimitMax results per page (default 50, used when Return All is off)
PagePage number to fetch (used when Return All is off)
Sort ByField to sort by, e.g. timestamp or votes
DescendingSort order (default: newest first)
Split Out ItemsOn (default): emit one item per result. Off: emit one item with the raw { items, page, totalHits } envelope

Example: find all unanswered questions tagged “bug”

Set Type to question, Query to tags:bug AND answercount:0, enable Return All, and leave Split Out Items on. Each question becomes a separate n8n item ready for further processing.