Actions88
- Blog Actions
- Get All Posts (Admin)
- Get Post (Admin)
- Create Post (Admin)
- Update Post (Admin)
- Delete Post (Admin)
- Get Categories (Admin)
- Get Category (Admin)
- Create Category (Admin)
- Update Category (Admin)
- Delete Category (Admin)
- Get Tags (Admin)
- Get Tag (Admin)
- Create Tag (Admin)
- Update Tag (Admin)
- Delete Tag (Admin)
- Get Authors (Admin)
- Get All Posts (Public)
- Get Post (Public)
- Get Categories (Public)
- Get Tags (Public)
- Get Posts by Category (Public)
- Get Posts by Tag (Public)
- Section Actions
- AI Resource Actions
- Authentication Actions
- User Actions
- Course Actions
- Lecture Actions
- Enrollment Actions
- Learning Path Actions
- Assignment Actions
- Progress Actions
- Video Actions
- Article Actions
- Quiz Question Actions
- Quiz Choice Actions
- Quiz Submission Actions
- Image Actions
Overview
This node integrates with the Lectful API to manage and retrieve information about courses and related entities. Specifically, the "Get" operation for the "Course" resource fetches detailed information about a specific course by its ID. It optionally includes the curriculum details of the course.
Use cases include:
- Retrieving detailed course information for display or processing in workflows.
- Fetching curriculum data along with course metadata to understand course structure.
- Automating course data synchronization between Lectful and other systems.
Example: You want to get all details of a course including its curriculum to generate reports or trigger further automation based on course content.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials - Manual Configuration (provide base URL and API key manually) |
| Base URL Override | Optional base URL to override the credential setting (used only if Manual Configuration is selected). Should not include /api/v1. |
| API Key Override | Optional API key to override the credential setting (used only if Manual Configuration is selected). |
| With Curriculum | Boolean flag to include curriculum details in the course response. |
| Course ID | The unique identifier of the course to retrieve. This is required. |
Output
The node outputs an array of JSON objects representing the API response for each input item processed.
For the "Get" operation on the "Course" resource, the json output contains the course details as returned by the Lectful API. If the "With Curriculum" option is enabled, the response will also include the curriculum data nested within the course details.
The output structure typically includes fields such as:
- Course metadata (title, subtitle, description, etc.)
- Curriculum structure (if requested), which may contain sections, lectures, and other related entities.
No binary data is output by this operation.
Dependencies
- Requires access to the Lectful API.
- Requires either stored credentials configured in n8n or manual entry of the base URL and API key.
- The API key must have sufficient permissions to read course details.
Troubleshooting
- Missing or invalid credentials: If using stored credentials, ensure they are correctly configured with a valid base URL and API key. For manual mode, both base URL and API key must be provided.
- Invalid Course ID: Ensure the Course ID provided exists in Lectful; otherwise, the API will return an error.
- Network issues: Verify network connectivity to the Lectful API endpoint.
- API errors: The node logs detailed messages; check these for HTTP status codes and error messages from the API to diagnose issues.
Links and References
- Lectful API Documentation (Assumed official API docs)
- n8n documentation on HTTP Request Node for understanding API calls and authentication modes.