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 online course content and related resources. Specifically, the "Lecture - Update" operation allows users to update details of an existing lecture within a course. This is useful for course administrators or content creators who need to modify lecture metadata such as title, section placement, duration, access restrictions, and availability windows.
Common scenarios include:
- Changing the lecture title to correct typos or update naming.
- Moving a lecture to a different section within the course.
- Adjusting the order of lectures in a section.
- Updating the lecture duration if content length changes.
- Setting whether a lecture is free or locked to control access.
- Scheduling when a lecture becomes available or unavailable.
Example: A course instructor wants to update the title of a lecture, move it to a new section, and set it as free content that opens on a specific date.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: either use stored credentials or manual input of base URL and API key. |
| Base URL Override | (Manual mode) Optional base URL to override the credential setting (without /api/v1). |
| API Key Override | (Manual mode) Optional API key to override the credential setting. |
| Course ID | The ID of the course containing the lecture to update. (Required) |
| Lecture ID | The ID of the lecture to update. (Required) |
| Title | New title for the lecture. |
| Section ID | The ID of the section where the lecture belongs; used to move the lecture to a different section. |
| Position | The position/order of the lecture within the section (numeric). |
| Duration (seconds) | Duration of the lecture in seconds. |
| Is Free | Boolean indicating if the lecture is free to access. |
| Is Locked | Boolean indicating if the lecture is locked (restricted access). |
| Opens At | Date/time when the lecture becomes available. |
| Closes At | Date/time when the lecture becomes unavailable. |
Output
The node outputs a JSON object representing the updated lecture resource as returned by the Lectful API. This typically includes all lecture properties such as ID, title, section, position, duration, access flags, and availability timestamps.
No binary data output is involved in this operation.
Dependencies
- Requires access to the Lectful API endpoint.
- Authentication via either stored credentials configured in n8n or manual entry of base URL and API key.
- Proper permissions on the Lectful API to update lectures.
Troubleshooting
- Missing Credentials: If using stored credentials mode without valid credentials configured, the node will throw an error. Solution: configure valid API credentials or switch to manual mode.
- Base URL/API Key Missing in Manual Mode: Both must be provided when manual authentication mode is selected.
- Invalid Course or Lecture ID: Providing incorrect IDs will result in API errors. Verify IDs before running.
- Permission Denied: Insufficient API permissions may cause update failures.
- Date Format Issues: Ensure
Opens AtandCloses Atare valid ISO 8601 datetime strings. - Network Errors: Check network connectivity and API availability.
Links and References
- Lectful API Documentation (Assumed official API docs)
- n8n documentation on HTTP Request Node for understanding API calls
- General best practices for API authentication and error handling