Actions56
- API Call Actions
- Bundle Actions
- Community Actions
- Course Actions
- Group Actions
- Hub Actions
- Member Actions
- Module Actions
- Popup Actions
- Webhook Actions
Overview
This node integrates with the LearningSuite API to retrieve lessons from a specified module within an optional course context. It is useful for automating workflows that require fetching educational content structured in courses and modules, such as syncing lesson data to other platforms, generating reports, or triggering actions based on lesson availability.
A practical example would be using this node to get all lessons of a particular module in a course to display them in a custom dashboard or to process lesson metadata for further automation.
Properties
| Name | Meaning |
|---|---|
| Course Name or ID | Optional filter to specify the course by name or ID. Limits the modules available for selection to those within the chosen course. |
| Module Name or ID | Required selection of the module by name or ID from which to retrieve lessons. Optionally filtered by the selected course. |
- Both properties support choosing from dynamically loaded options or specifying IDs via expressions.
- The "Course Name or ID" property is optional; if omitted, modules are not filtered by course.
- The "Module Name or ID" property is mandatory to identify the target module.
Output
The node outputs an array of JSON objects representing the lessons retrieved from the specified module. Each object corresponds to a lesson and contains its details as provided by the LearningSuite API.
- The exact structure of each lesson object depends on the API response but typically includes identifiers, titles, descriptions, and other lesson metadata.
- The node does not output binary data.
Dependencies
- Requires a valid API key credential for the LearningSuite API.
- The base URL for the API is configured via credentials.
- Dynamic option loading depends on additional API calls to fetch available courses and modules.
Troubleshooting
- No handler error: If you see an error like
No handler for resource "module" and operation "getLessons", ensure the node's resource and operation parameters are correctly set. - Invalid module or course ID: Selecting or specifying invalid IDs may result in empty results or API errors. Verify IDs via the dynamic dropdowns or API documentation.
- API authentication issues: Ensure the API key credential is correctly configured and has necessary permissions.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output.
Links and References
- LearningSuite API Documentation (general reference, replace with actual API docs if available)
- n8n Expressions Documentation – for using expressions in property fields