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 interacts with the Lectful API to manage and retrieve information related to courses, users, lectures, enrollments, and other educational resources. Specifically, the Course - Get Markdown operation fetches the content of a specified course in Markdown format.
This operation is useful when you want to:
- Export or display course content as Markdown for documentation, publishing, or further processing.
- Integrate course content into other systems that support Markdown.
- Automate workflows involving course content retrieval in a readable text format.
Example use case:
You have a course on your Lectful platform and want to generate a Markdown version of its content to publish on a website or include in a knowledge base automatically.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials (configured in n8n) - Manual Configuration (provide Base URL and API key manually) |
| Credentials Note | Notice shown only if Manual Configuration is selected, explaining that credentials can be left empty and overridden by manual inputs. |
| Base URL Override | Optional base URL to override the credential setting (without /api/v1). Used only in Manual Configuration mode. |
| API Key Override | Optional API key to override the credential setting. Used only in Manual Configuration mode. |
| Course ID | The unique identifier of the course whose Markdown content you want to retrieve. Required. |
Output
The output contains a JSON object representing the response from the Lectful API for the course Markdown content request.
- The
jsonfield will contain the Markdown content of the course as returned by the API. - The exact structure depends on the API response but typically includes the Markdown text representing the course curriculum or description.
- No binary data is output by this operation.
Dependencies
- Requires access to the Lectful API.
- Authentication is mandatory, either via stored credentials configured in n8n or manual entry of Base URL and API key.
- The node uses HTTP requests to communicate with the Lectful API endpoints.
Troubleshooting
Missing or invalid credentials:
If using stored credentials, ensure they are correctly configured with a valid Base URL and API key. If using manual mode, both Base URL Override and API Key Override must be provided. Errors like "Invalid or missing credentials" indicate authentication issues.Missing Course ID:
The Course ID parameter is required. Omitting it will cause an error.API errors:
The node logs detailed messages about the API request and response. Common HTTP errors (e.g., 404 Not Found if the course ID does not exist) will be returned by the API and surfaced in the node's output.Parsing errors:
If the API returns a non-JSON response unexpectedly, the node attempts to parse it; failure to parse will keep the raw string.
Links and References
- Lectful API Documentation (Assumed official API docs URL, replace with actual if known)
- Markdown format reference: https://www.markdownguide.org/basic-syntax/
This summary focuses on the Course - Get Markdown operation of the Lectful node based on the provided source code and input properties.