Documentation

n8n-nodes-learningsuite

n8n

Version

License

An n8n Community Node for the LearningSuite API, which allows you to seamlessly integrate your LearningSuite instance into n8n workflows.

What is n8n?

n8n is an easy-to-use tool that allows you to automate actions between different web apps, such as LearningSuite. Creating so-called "workflows" between apps automates many of the manual tasks. This can save you or your employees a tremendous amount of time.

āš–ļø Legal Notice

This community node uses the public LearningSuite API and is not affiliated with or sponsored by LearningSuite. All trademarks belong to their respective owners.

Note: This is a community-developed node for the LearningSuite API. For official support, please contact LearningSuite directly.

šŸš€ Features

  • 11 resources fully supported (Member, Course, Group, Bundle, Hub, Module, Community, Popup, Webhook, Role, API Call)
  • More than 62 operations for maximum flexibility
  • Instant trigger (webhook-based) with 12 event types for real-time automation
  • Polling trigger with 8 event types for scheduled polling
  • Flexible API call resource for custom endpoints

šŸ“‹ Supported Operations

šŸ‘¤ Member (15 operations)

  • Get by email, get by ID, get all, create, update, delete

  • Activate/deactivate, add/remove courses, add/remove bundles

  • Get courses, get course information, get packages, search, or create

šŸ“š Course (7 operations)

  • Publish, fetch Get modules, get modules for members

– Get members, get access requests, get submissions, create a lesson

šŸ‘„ Group (12 operations)

– Add packages to the group, add courses to the group, add members to groups, add members to groups (summary), create a group, delete a group, search for a group by name, search for or create a group, get group courses, get many, remove courses from the group, remove members from groups

šŸ“¦ Package (2 operations)

– Get all, get members

šŸ  Hub (6 operations)

– Get all, get templates, create, add access, remove access, get hub template variables

šŸ“– Module (3 operations)

– Get lessons, get sections, create unlock overrides

šŸ’¬ Community (5 operations)

– Assign badges to members, get community spaces, get community badges, get community forums Remove Members' Community Badges

šŸŽÆ Popup (4 operations)

– Get All, Get Popup, Member Trigger, Remove Member Trigger

šŸ”— Webhook (6 operations)

– Get/Create/Update/Delete Subscriptions, Get Sample Data

šŸ› ļø Role (1 operation)

– Get All

šŸ› ļø API Call (1 operation)

– Make a Request (for any API calls)

šŸŽ£ Webhook Trigger Events

The LearningSuite trigger supports the following events:

⚔ Immediate Trigger Events (Webhook)

  • āœ… Community Post Created
  • āœ… Community Post Moderated
  • āœ… Course Progress Changed Above Threshold
  • āœ… Custom Popup Interaction
  • āœ… Exam completed
  • āœ… Exam graded
  • āœ… Group user access changed
  • āœ… Lesson completed
  • āœ… New access request created
  • āœ… Feedback created
  • āœ… New login
  • āœ… Submission created

ā±ļø Query trigger events

  • āœ… Bundle created (polling variant)
  • āœ… Custom popup created (polling variant)
  • āœ… Group created (survey variant)
  • āœ… New community area
  • āœ… New community badge
  • āœ… New community forum
  • āœ… New member
  • āœ… Member not logged in for X days

šŸ’” Use case examples

Automated member management

Automatically create new members from a list like in Google Sheets, saving you the step of manually creating users in LearningSuite.

E-Commerce Integration

Connect other tools like Copecart via webhook using n8n and sell your LearningSuite courses in your own online store.

Lead Generation

Link forms from your website and give users who complete the form automated access to information products in LearningSuite.

Progress Monitoring

Automatically monitor your participants' progress and send personalized reminders or congratulations.

šŸ› ļø Installation

Option 1: n8n Community Nodes (Recommended)

  1. Open your n8n instance

  2. Go to Settings → Community Nodes

  3. Install: n8n-nodes-learningsuite or @rjsebening/n8n-nodes-learningsuite

  4. Restart n8n

Option 2: Manual Installation

A)

# In your n8n project directory
npm i @rjsebening/n8n-nodes-learningsuite

# Restart n8n
npm start

B) Unscoped (Default)


# In your n8n project directory
npm install n8n-nodes-learningsuite

# Restart n8n
npm start

Option 3: Docker


# With Docker Environment Variable

docker run -it --rm \

--name n8n \

-p 5678:5678 \

-e N8N_CUSTOM_EXTENSIONS="/data/custom" \

-v ~/.n8n:/data \

docker.n8n.io/n8nio/n8n

šŸ” Set up authentication

Generate API key

  1. Log in to your LearningSuite instance

  2. Go to Settings → Integrations

  3. Click "Generate API key"

  4. Copy the generated API key

Configure credentials in n8n

  1. Open n8n and Go to Credentials

  2. Click "New Credential"

  3. Search for "LearningSuite API"

  4. Fill in the following fields:

  • API Key: Your generated API key

  • Base URL: https://api.learningsuite.io/api/v1 (default)

  1. Test the connection and save

šŸ“– Usage

Basic Member Operation


1. Add a "LearningSuite" node

2. Select Resource: "Member"

3. Select Operation: "Get by Email"

4. Enter the email address

5. Execute the workflow

⚔ Instant Webhook Trigger Setup


1. Add a "LearningSuite Trigger" node

2. Select the desired event (e.g., "Lesson Completed")

3. Configure optional filters

4. Activate the workflow

5. The webhook is automatically registered with LearningSuite

ā±ļø Polling Trigger Setup


1. Add a "LearningSuite Polling Trigger" node

2. Select the desired event (e.g., "New Member")

3. Configure optional filters

4. Activate the workflow

5. The polling trigger is automatically registered with LearningSuite

šŸ”§ API Reference

The node is based on the LearningSuite API and supports all publicly available endpoints.

Base URL: https://api.learningsuite.io/api/v1

Authentication: API key via x-api-key header

Complete API documentation available at: LearningSuite API Docs

šŸ¤ Contributing

We welcome contributions! Please note the following guidelines:

Development Setup


# Clone Repository

git clone https://github.com/rjsebening/n8n-nodes-learningsuite.git

cd n8n-nodes-learningsuite

# Install Dependencies

npm install

# Compile TypeScript

npm run build

# Run Tests

npm test

Pull Request Guidelines

  1. Fork the repository

  2. Create a feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

Code Style

  • TypeScript for all new Features

  • Follow ESLint configuration

  • Add tests for new functionality

  • Update documentation

šŸ“ Changelog

Version 0.1.0 (2025-09-23)

šŸŽ‰ Initial Release

  • āœ… Full LearningSuite API integration

  • āœ… 11 resources with more than 62 operations

  • āœ… Webhook triggers with 12 event types for real-time automation

  • āœ… Polling triggers with 8 event types

  • āœ… "Find-or-Create" logic for members and groups

  • āœ… Flexible parameter configuration

  • āœ… API call resource for custom endpoints

šŸ› ļø Compatibility

  • n8n Version: 1.112.3+ (tested with latest)

  • Node Version: 20+

  • TypeScript: 5.0+

šŸ“„ License

This project is licensed under the [MIT License].

ā“ Support

Report Issues

For bugs or feature requests, please create a GitHub Issue.

FAQ

Q: Can I use multiple LearningSuite instances?

A: Yes, simply create multiple credentials with different API keys and base URLs.

Q: Are all API endpoints supported?

A: The node covers all public API endpoints. For specific endpoints, use the "API Call" resource.

Q: How do I find my LearningSuite API base URL?

A: The default URL is https://api.learningsuite.io/api/v1. For custom domains, contact your LearningSuite administrator.


⭐ Like this node? Give us a star on GitHub!

šŸ’” Feature request? Open an issue - we're always open to improvements!

šŸ“‹ Disclaimer

This unofficial community node is not affiliated with, endorsed by, or sponsored by LearningSuite. It exclusively uses the publicly available LearningSuite API in accordance with its Terms of Use.

Important Notes:

  • This node is developed and maintained by the community.

  • For issues with the LearningSuite API, contact official LearningSuite Support.

  • All LearningSuite trademarks and logos belong to LearningSuite.

  • This node merely provides an interface to the public API.

Discussion