Lectful icon

Lectful

Interact with the VIPay Lectful API

Overview

This node integrates with the Lectful API to manage quiz questions within an educational platform. Specifically, the Delete operation for the Quiz Question resource allows users to remove a quiz question by its unique identifier.

Typical use cases include:

  • Automating cleanup of outdated or incorrect quiz questions.
  • Managing quiz content dynamically as courses evolve.
  • Integrating quiz management into broader workflows that maintain course quality.

For example, an educator might use this node to delete a quiz question that is no longer relevant after updating a course curriculum.

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)
Credentials Note Informational note shown when using Manual Configuration mode about credential usage.
Base URL Override Optional base URL to override the stored credential's base URL (exclude /api/v1).
API Key Override Optional API key to override the stored credential's API key.
Question ID The unique identifier of the quiz question to delete (required).

Output

The node outputs a JSON object representing the API response from the delete request. Typically, this will be either:

  • A confirmation of successful deletion (often an empty object or a status message).
  • An error message if the deletion failed.

No binary data output is produced by this operation.

Example output JSON might look like:

{}

or in case of error:

{
  "error": "Question not found"
}

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 delete quiz questions.

Troubleshooting

  • Missing or invalid credentials:
    Error: "Valid credentials are required..."
    Solution: Ensure you have configured valid API credentials or provide correct manual configuration parameters.

  • Missing Question ID:
    The operation requires a Question ID. Omitting it will cause an error.

  • API errors such as "Question not found":
    This indicates the provided Question ID does not exist or has already been deleted. Verify the ID is correct.

  • Network or connectivity issues:
    Check your network connection and ensure the Lectful API endpoint is reachable.

Links and References


If you need details on other operations or resources, feel free to ask!

Discussion