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 posts and other resources. Specifically, for the Blog - Get Post (Public) operation, it retrieves a published blog post by its slug from the public Lectful blog endpoint.
This operation is useful when you want to fetch publicly available blog content dynamically within an n8n workflow, such as displaying blog post details on a website, aggregating blog content, or triggering actions based on specific blog posts.
Example use cases:
- Fetching a blog post by its URL-friendly slug to display in a custom dashboard.
- Automating content updates or notifications when a new blog post is published.
- Integrating blog content into newsletters or social media posts.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials - Manual Configuration (provide base URL and API key manually) |
| Base URL Override | Optional base URL to override the credential setting (without /api/v1). Used only if Manual Configuration mode is selected. |
| API Key Override | Optional API key to override the credential setting. Used only if Manual Configuration mode is selected. |
| Post Slug | The slug (URL-friendly identifier) of the blog post to retrieve. This is required for the "Get Post (Public)" operation. |
Output
The node outputs the JSON response from the Lectful API corresponding to the requested blog post. The structure typically includes all publicly available fields of the blog post such as title, content, excerpt, author info, categories, tags, publish date, and featured image metadata.
The output is provided as an array of JSON objects under the json property of each item. There is no binary data output for this operation.
Dependencies
- Requires access to the Lectful API.
- Requires either stored credentials configured in n8n or manual entry of the Lectful API base URL and API key.
- The API key must have permission to access public blog post endpoints.
- No additional external dependencies beyond standard HTTP requests.
Troubleshooting
- Missing or invalid credentials: If using stored credentials, ensure they are correctly configured with a valid base URL and API key. For manual mode, both Base URL Override and API Key Override must be provided.
- Invalid or missing Post Slug: The "Post Slug" parameter is required. Ensure it matches exactly the slug of an existing published blog post.
- API errors: Errors returned by the Lectful API will be surfaced in the node's output. Common issues include 404 Not Found if the slug does not exist or 401 Unauthorized if authentication fails.
- Network issues: Verify network connectivity to the Lectful API endpoint.
- Parsing errors: The node attempts to parse string responses as JSON; malformed responses may cause errors.
Links and References
- Lectful API Documentation (general reference for API endpoints)
- n8n Documentation (for configuring credentials and using HTTP request nodes)
This summary covers the logic and usage of the Lectful node's "Blog - Get Post (Public)" operation based on static code analysis and provided input properties.