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 courses and related resources. Specifically, the Course - Enroll operation allows a user to enroll in a specified course by its ID. This is useful for automating enrollment workflows, such as registering users into courses after payment or other triggers.
Typical scenarios include:
- Automatically enrolling users into a course after they complete a purchase.
- Bulk enrolling multiple users into a course via workflow automation.
- Integrating course enrollment with external systems like CRMs or membership platforms.
Example: A workflow that receives user data and course IDs, then uses this node to enroll each user into their respective courses without manual intervention.
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 when using Manual Configuration mode explaining credential overrides |
| Base URL Override | Optional base URL to override the stored credential's base URL (without /api/v1) |
| API Key Override | Optional API key to override the stored credential's API key |
| Course ID | The unique identifier of the course to enroll in (required) |
Output
The node outputs an array of JSON objects corresponding to each input item processed. For the Enroll operation on the Course resource, the output JSON contains the response from the Lectful API after attempting to enroll in the specified course.
The exact structure depends on the API response but typically includes enrollment confirmation details such as enrollment ID, status, user info, and course info.
No binary data output is produced by this operation.
Dependencies
- Requires access to the Lectful API.
- Authentication can be provided either via stored credentials configured in n8n or manually by specifying the Base URL and API key.
- The node expects the API to be reachable at the base URL ending with
/api/v1. - Proper API key permissions are required to perform enrollment actions.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual configuration parameters are properly set, the node will throw an error indicating missing authentication information.
- Base URL or API key missing in manual mode: When using manual configuration, both Base URL Override and API Key Override must be provided; otherwise, an error is thrown.
- Invalid Course ID: Providing an incorrect or non-existent course ID may result in API errors or failed enrollment.
- API connectivity issues: Network problems or incorrect base URLs will cause request failures.
- Error responses from API: The node returns the API error message in the output JSON if the API rejects the enrollment request.
To resolve these issues:
- Verify credentials and API keys.
- Confirm the course ID exists and is accessible.
- Check network connectivity and correct base URL.
- Review API permissions for the used API key.
Links and References
- Lectful API Documentation (Assumed official API docs)
- n8n Documentation on Credentials
- n8n HTTP Request Node for understanding API calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
This summary focuses exclusively on the Course - Enroll operation as requested.