Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

This node integrates with the Lectful API to manage blog categories and other resources. Specifically, for the Blog - Get Category (Admin) operation, it retrieves detailed information about a specific blog category by its ID using admin-level access.

Typical use cases include:

  • Fetching metadata and details of a blog category for administrative purposes.
  • Automating content management workflows where blog categories need to be reviewed or processed.
  • Integrating blog category data into other systems or dashboards.

Example: An admin wants to retrieve the description and name of a blog category identified by a given ID to display or update it elsewhere.

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 in Manual Configuration mode.
API Key Override Optional API key to override the credential setting. Used only in Manual Configuration mode.
Category ID The unique identifier of the blog category to retrieve. This is required for the Get Category (Admin) operation.

Output

The node outputs a JSON object representing the blog category details as returned by the Lectful API. This typically includes fields such as:

  • id: The category's unique identifier.
  • name: The name of the blog category.
  • description: A textual description of the category.
  • Other metadata fields related to the category.

No binary data output is involved in this operation.

Dependencies

  • Requires access to the Lectful API.
  • Requires either stored credentials configured in n8n or manual entry of the base URL and API key.
  • The API key must have sufficient permissions to perform admin-level operations on blog categories.

Troubleshooting

  • Missing or invalid credentials: If neither stored credentials nor manual configuration parameters are provided correctly, the node will throw an error indicating missing or invalid credentials.
  • Missing Category ID: The Category ID property is required; omitting it will cause the node to fail.
  • API errors: Errors from the Lectful API (e.g., unauthorized access, category not found) will be propagated. Check that the API key has admin rights and the category ID exists.
  • Base URL Override issues: When using manual mode, ensure the base URL does not include /api/v1 as it is appended automatically.

Links and References

Discussion