Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

This node integrates with the Lectful API to manage blog posts in an administrative context. Specifically, the "Create Post (Admin)" operation allows users to create new blog posts by providing details such as title, content, author, status, categories, tags, and SEO metadata. This is useful for automating content publishing workflows, managing blogs programmatically, or integrating blog creation into larger automation pipelines.

Practical examples include:

  • Automatically creating blog posts from external content sources.
  • Scheduling blog posts with specific publish dates.
  • Associating posts with categories, tags, and authors dynamically.
  • Managing SEO metadata for better search engine visibility.

Properties

Name Meaning
Authentication Mode Choose how to authenticate with the Lectful API: either using stored credentials configured in n8n or manual configuration by providing base URL and API key manually.
Base URL Override Optional base URL to override the credential setting when using Manual Configuration mode (without /api/v1).
API Key Override Optional API key to override the credential setting when using Manual Configuration mode.
Title The title of the blog post to be created.
Content The main content/body of the blog post.
Excerpt A short excerpt or summary of the blog post.
Meta Title Meta title used for SEO purposes.
Meta Description Meta description used for SEO purposes.
Status The publication status of the blog post. Options are: Draft or Published.
Category IDs Comma-separated list of category IDs to associate with the blog post.
Tag IDs Comma-separated list of tag IDs to associate with the blog post.
Published At Date and time when the blog post should be published.
Author ID The ID of the author user who wrote the blog post.
Image ID The ID of the featured image associated with the blog post.

Output

The node outputs a JSON object representing the response from the Lectful API after creating the blog post. This typically includes details of the newly created blog post such as its ID, title, content, status, author, categories, tags, publish date, and any other metadata returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the Lectful API.
  • Requires either stored API credentials configured in n8n or manual input of the base URL and API key.
  • Proper permissions on the Lectful API to create blog posts with admin privileges.

Troubleshooting

  • Missing Credentials: If using stored credentials mode without valid credentials configured, the node will throw an error. Solution: configure valid API credentials or switch to manual mode.
  • Base URL/API Key Missing in Manual Mode: When using manual authentication mode, both base URL override and API key override must be provided; otherwise, an error is thrown.
  • Invalid Category or Tag IDs: Providing invalid or non-numeric category/tag IDs may cause API errors. Ensure IDs are correct and comma-separated.
  • Required Fields Missing: Title, Content, Status, and Author ID are required. Omitting these will result in errors.
  • API Errors: Any API-level errors (e.g., permission denied, invalid data) will be returned in the node's output JSON under an error message.

Links and References

Discussion