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 interacts with the Lectful API to manage articles and other resources within the Lectful platform. Specifically, for the Article - Delete operation, it allows users to delete an article by its ID. This is useful in scenarios where you want to automate content management workflows, such as removing outdated or irrelevant articles from your Lectful courses or knowledge base.
Practical examples:
- Automatically deleting articles that are no longer relevant based on certain triggers.
- Cleaning up test or draft articles after publishing final versions.
- Integrating with other systems to synchronize article deletions.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials (configured in n8n) - Manual Configuration (provide Base URL and API key manually) |
| Credentials Note | Notice shown when using Manual Configuration mode explaining credential usage |
| Base URL Override | Optional base URL to override the stored credential's base URL (without /api/v1) |
| API Key Override | Optional API key to override the stored credential's API key |
| Article ID | The unique identifier of the article to delete (required) |
Output
The output is a JSON object representing the response from the Lectful API after attempting to delete the specified article. Typically, this will include confirmation of deletion or any error messages returned by the API.
No binary data is output by this operation.
Example output structure (simplified):
{
"message": "Article deleted successfully"
}
or in case of failure:
{
"error": "Article not found"
}
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 sufficient permissions to delete articles.
- No additional external dependencies beyond standard HTTP requests.
Troubleshooting
Missing or invalid credentials:
Error message:"Valid credentials are required when using 'Use Stored Credentials' mode."
Solution: Configure valid Lectful API credentials in n8n or switch to Manual Configuration mode and provide correct Base URL and API key.Base URL or API key missing in Manual Configuration mode:
Error message:"Base URL Override is required when using Manual Configuration mode"or"API Key Override is required when using Manual Configuration mode"
Solution: Provide both Base URL Override and API Key Override parameters.Invalid Article ID or article does not exist:
The API may return an error indicating the article was not found.
Solution: Verify the Article ID is correct and the article exists before attempting deletion.Insufficient permissions:
If the API key lacks permission to delete articles, the request will fail.
Solution: Ensure the API key has appropriate rights.Network or connectivity issues:
Errors related to network failures or timeouts may occur.
Solution: Check network connectivity and API availability.
Links and References
- Lectful API Documentation (Assumed URL; replace with actual if known)
- n8n Documentation on HTTP Request Node (for understanding underlying request mechanics)
- Best practices for managing API credentials securely in n8n: Credentials Management
If you need details on other operations or resources, feel free to ask!