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 interacts 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 integrating LearningSuite with a CRM system to update contact records when new lessons are added to a module or extracting lesson details for content management purposes.
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 belonging to this course. Options are loaded dynamically from available courses. You can also specify an ID using an expression. |
| Module Name or ID | Required selection of the module by name or ID from which to get lessons. The list can be filtered by the selected course. You can also specify an ID using an expression. |
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.
If the node supports binary data output (not indicated explicitly here), it would typically represent media or attachments related to lessons, but this node primarily outputs JSON data describing lessons.
Dependencies
- Requires a valid API authentication token credential for the LearningSuite API.
- The base URL for the API must be configured in the node credentials.
- Dynamic loading of options depends on 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 that the resource and operation names are correctly set and supported by the node version. - Invalid module or course ID: Providing an incorrect or non-existent course or module ID will result in no lessons being returned or an API error. Verify IDs via the dynamic dropdown or API directly.
- API authentication errors: Ensure the API key or token credential is valid and has sufficient permissions to access course and module data.
- Empty results: If no lessons are returned, confirm that the specified module actually contains lessons and that any course filter applied matches the module's course.
Links and References
- LearningSuite API Documentation (example link, replace with actual)
- n8n Expressions Documentation - for using expressions in property fields