Skip to content

n8n

The official Scoold community node for n8n lets you trigger workflows from Scoold events and manage 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 - create, read, update, and delete posts, comments, tags, and reports; search Scoold content
  1. In n8n, go to Settings → Community Nodes
  2. Click Install and enter the package name:
    @erudika/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 → Create → Scoold API and fill in:
    • Base URL - the public URL of your Scoold instance, e.g. https://qna.cloud.scoold.com (without the 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

You can subscribe to any Scoold event, e.g. question.create, answer.create etc. 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.

The Scoold node lets you manage content and search your community from anywhere in a workflow. Select a Resource and an Operation to configure what the node does.

OperationDescription
CreateCreate a question, answer (reply), or sticky post
GetFetch a post by ID, including its children and similar posts
UpdateEdit the title, body, tags, or other fields of a post
DeleteDelete a post permanently
ListList questions on the front page with optional filters
Get AnswersFetch the answers for a given question
Get CommentsFetch the comments on a post
Get RevisionsFetch the edit history of a post

Post: Create — key parameters:

ParameterDescription
Post Typequestion, reply (answer), or sticky
TitleTitle of the post
BodyPost body; supports GitHub-flavored Markdown
TagsComma-separated tags, e.g. java, spring
Parent Post IDRequired when Post Type is reply — the ID of the parent question
Additional Fieldscreatorid, space, wiki, location, disable notifications
OperationDescription
CreateAdd a comment to a post
GetFetch a comment by ID
DeleteDelete a comment
ListList comments for a given post (paginated)
OperationDescription
CreateCreate a new tag
GetFetch a tag by ID
UpdateRename a tag or update its description
DeleteDelete a tag
ListList all tags (paginated)
OperationDescription
CreateSubmit a report for a piece of content
GetFetch a report by ID
DeleteDelete a report
ListList all reports (paginated)
CloseClose a report with an optional resolution note

Report: Create — key parameters:

ParameterDescription
LinkURL of the content being reported
Report TypeSPAM, OFFENSIVE, DUPLICATE, INCORRECT, or OTHER
ParameterDescription
TypeObject type: 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 Resource to Search, 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.