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, enabling users to manage various resources related to an online learning platform. Specifically, for the Blog resource and the Create Tag (Admin) operation, it allows administrators to create new blog tags by specifying a tag name.
Common scenarios where this node is beneficial include automating content management workflows, such as programmatically adding tags to blog posts for categorization or SEO purposes without manual intervention in the Lectful admin interface.
Practical example:
- Automatically creating new blog tags when importing or syncing blog content from another system.
- Adding tags based on external triggers or events to organize blog posts dynamically.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials - Manual Configuration |
| Credentials Note | Informational note shown when using Manual Configuration mode about credential usage |
| 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 |
| Tag Name | The name of the blog tag to create (required) |
Output
The node outputs a JSON object representing the response from the Lectful API after attempting to create the blog tag. This typically includes details of the newly created tag such as its ID, name, creation timestamp, and any other metadata returned by the API.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"id": 123,
"name": "New Tag",
"created_at": "2024-01-01T12:00:00Z",
// ... other tag metadata
}
Dependencies
- Requires access to the Lectful API.
- Authentication can be provided either via stored credentials configured in n8n or manually by supplying the base URL and API key.
- Proper API permissions are needed to perform administrative actions like creating blog tags.
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, an error is thrown.
- API errors: If the Lectful API returns an error (e.g., tag name already exists, invalid input), the node will return the error message in the output JSON. Check the API response for details.
- Network issues: Ensure that the base URL is reachable and the API key is valid.
- Input validation: The "Tag Name" property is required; leaving it empty will cause the node to fail.
Links and References
- Lectful API Documentation (general reference for API endpoints and authentication)
- n8n documentation on HTTP Request Node for understanding API calls (conceptual)
- Best practices for managing API credentials securely in n8n
This summary focuses exclusively on the Blog - Create Tag (Admin) operation as requested.