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, a platform for managing online courses, lectures, enrollments, blogs, and related educational content. It supports a wide range of resources and operations, enabling users to automate interactions such as retrieving blog authors, managing blog posts, handling user authentication, enrolling users in courses, and more.
Specifically, the Blog - Get Authors (Admin) operation fetches all blog authors with administrative access. This is useful for workflows that need to list or manage blog authors programmatically, for example, syncing author data with other systems, generating reports, or automating content management tasks.
Practical Example
- Automatically retrieve all blog authors to update an external CRM or mailing list.
- Use the list of authors to assign blog posts dynamically in a content publishing workflow.
- Generate analytics on blog author activity by fetching author details regularly.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials - Manual Configuration |
| 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 |
These properties control how the node authenticates requests to the Lectful API. The user can either use credentials stored in n8n or manually specify the base URL and API key.
Output
The node outputs an array of JSON objects representing the API response for each input item processed.
For the Blog - Get Authors (Admin) operation, the output JSON contains the list of blog authors retrieved from the endpoint /admin/blog/authors. The exact structure depends on the Lectful API but typically includes author details such as:
- Author ID
- Name
- Profile information
- Other metadata related to blog authors
No binary data output is involved in this operation.
Dependencies
- Requires access to the Lectful API.
- Requires either:
- Stored credentials configured in n8n containing the Lectful API base URL and API key, or
- Manual configuration of the base URL and API key via node parameters.
- The node uses HTTP requests with Bearer token authorization to communicate with the Lectful API.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual overrides are provided correctly, the node will throw errors indicating missing base URL or API key.
- API request failures: Network issues, incorrect URLs, or invalid API keys may cause HTTP errors. Check the base URL and API key correctness.
- Parsing errors: If the API returns unexpected data formats, the node attempts to parse JSON but may fail if the response is malformed.
- Permission errors: Accessing admin endpoints like
/admin/blog/authorsrequires appropriate API permissions; insufficient rights will result in authorization errors.
To resolve these issues:
- Verify credentials and API key validity.
- Ensure the API user has admin privileges for blog author access.
- Confirm network connectivity to the Lectful API endpoint.
- Review error messages logged by the node for specific failure reasons.
Links and References
- Lectful API Documentation (Assumed official docs URL, replace with actual if known)
- n8n Documentation on HTTP Request Node for understanding underlying request mechanics
- General API Authentication Best Practices
This summary focuses on the Blog - Get Authors (Admin) operation within the Lectful node, describing its purpose, inputs, outputs, dependencies, and common troubleshooting tips based on static code analysis.