Planka icon

Planka

Interact with Planka API

Overview

The 🗑️ Delete Comment operation for the 📝 CARD resource in this n8n node allows you to permanently delete a specific comment from a card in Planka, a project management tool. This is useful for workflows where you need to automate moderation, clean up outdated or incorrect comments, or enforce compliance by removing sensitive information from card discussions.

Practical examples:

  • Automatically remove inappropriate comments flagged by users.
  • Clean up old status update comments after a task is completed.
  • Integrate with external moderation tools to delete comments based on certain triggers.

Properties

Name Type Meaning
Comment ID string The unique identifier of the comment to be deleted. Required to specify which comment will be removed from the card.

Output

  • The output will be a JSON object reflecting the API response from Planka after attempting to delete the comment.
  • If successful, the response may be empty or contain confirmation details depending on the Planka API implementation.
  • If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.

Example (on error):

{
  "error": "Comment not found"
}

Dependencies

  • External Service: Requires access to a running Planka instance with its API enabled.
  • Authentication: Needs valid Planka API credentials configured in n8n under the credential type plankaApi.
  • n8n Configuration: No special environment variables are required beyond standard credential setup.

Troubleshooting

Common Issues:

  • Invalid or missing Comment ID: If the provided Comment ID does not exist or is empty, the API will likely return an error such as "Comment not found".
  • Insufficient permissions: The user associated with the API credentials must have permission to delete comments on the specified card.
  • Network/API errors: Connectivity issues or misconfigured API endpoints can cause failures.

Error Messages and Resolutions:

  • "Comment not found": Ensure the Comment ID is correct and that the comment exists.
  • "Unauthorized" or "Forbidden": Check your API credentials and user permissions in Planka.
  • "An unknown error occurred": This is a generic fallback; check the n8n logs and Planka server logs for more details.

Links and References


Discussion