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 interact with blog-related data, specifically allowing users to retrieve published blog posts filtered by a specific tag slug. The "Get Posts by Tag (Public)" operation fetches blog posts that are publicly available and associated with a given tag.
This operation is useful in scenarios where you want to dynamically pull blog content related to a particular topic or tag for display, analysis, or further processing within an automation workflow. For example, you could use this node to:
- Aggregate blog posts tagged with "JavaScript" to create a newsletter.
- Fetch recent posts tagged with "Product Updates" to share on social media.
- Filter blog content by tags for content curation or reporting.
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 explaining credential usage. |
| Base URL Override | Optional base URL to override the stored credential's base URL (excluding /api/v1). |
| API Key Override | Optional API key to override the stored credential's API key. |
| Tag Slug | The slug identifier of the blog tag used to filter posts. This is required. |
| Per Page | Number of posts to return per page. Defaults to 12 for posts but can be set up to 20. |
Output
The output is a JSON array containing the list of blog posts filtered by the specified tag slug. Each item in the array represents a blog post object as returned by the Lectful API's public blog posts endpoint filtered by tag.
The structure typically includes fields such as post title, content excerpt, author information, publication date, categories, tags, and other metadata relevant to each blog post.
No binary data output is produced by this operation.
Dependencies
- Requires access to the Lectful API.
- Authentication can be provided via:
- Stored credentials configured in n8n (an API key and base URL).
- Manual entry of base URL and API key directly in the node parameters.
- The node uses HTTP requests to communicate with the Lectful API endpoints.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual overrides are properly set, the node will throw an error indicating missing authentication details. Ensure that either valid credentials are configured in n8n or manual base URL and API key are provided.
- Invalid tag slug: Providing an incorrect or non-existent tag slug may result in empty results or API errors. Verify the tag slug exists in your Lectful blog system.
- API rate limits or connectivity issues: Network problems or API rate limiting may cause request failures. Check network connectivity and Lectful API status.
- Incorrect Per Page value: Setting an excessively high number for "Per Page" might lead to unexpected behavior or performance issues. Use reasonable values (default is 12).
Links and References
- Lectful API Documentation (Assumed official API docs; replace with actual if available)
- n8n Documentation on HTTP Request Node for understanding underlying request mechanics.
- General best practices for API authentication and pagination handling.
This summary focuses exclusively on the "Blog" resource and the "Get Posts by Tag (Public)" operation as requested.