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 blog categories in an administrative context. Specifically, the "Create Category (Admin)" operation allows users to create new blog categories by providing a category name and optionally a description. This is useful for organizing blog posts into meaningful groups, improving content discoverability and management within the Lectful platform.
Practical examples include:
- Automatically creating new blog categories based on external data sources or user input.
- Organizing blog content dynamically as part of a content management workflow.
- Integrating with other systems to maintain consistent blog taxonomy.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: either using stored credentials or manual configuration by providing base URL and API key. |
| Credentials Note | Informational note shown when using Manual Configuration mode about credential usage. |
| Base URL Override | Optional base URL to override the credential setting (without /api/v1), used in Manual Configuration mode. |
| API Key Override | Optional API key to override the credential setting, used in Manual Configuration mode. |
| Category Name | The name of the blog category to be created. (Required) |
| Category Description | A description of the blog category. (Optional) |
Output
The node outputs the JSON response from the Lectful API after creating the blog category. This typically includes details of the newly created category such as its ID, name, description, creation timestamps, and any other metadata returned by the API.
No binary data output is involved in this operation.
Dependencies
- Requires access to the Lectful API.
- Requires authentication via either stored credentials configured in n8n or manual entry of the base URL and API key.
- The node expects the API to be reachable at the specified base URL with valid authorization.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual overrides are properly set, the node will throw an error indicating that valid credentials are required.
- Base URL or API key missing in manual mode: When using manual configuration, both the base URL override and API key override must be provided; otherwise, the node will raise an error.
- API errors: Any errors returned by the Lectful API (e.g., invalid category name, permission issues) will be surfaced in the node's output. Users should verify the API response message for details.
- Network issues: Connectivity problems to the Lectful API endpoint will cause request failures; ensure network access and correct base URL.
Links and References
- Lectful API Documentation (Assumed official API docs, replace with actual if available)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for authentication and error handling.
This summary focuses exclusively on the "Blog" resource and the "Create Category (Admin)" operation as requested.