Planka icon

Planka

Interact with Planka API

Overview

The Update Comment operation for the 📝 CARD resource in this n8n node allows you to modify the text of an existing comment on a card within Planka, a project management platform. This is useful when you need to correct, clarify, or update information in a comment without deleting and recreating it.

Common scenarios:

  • Correcting typos or errors in a card comment.
  • Updating status or progress notes on a card.
  • Adding additional context to an ongoing discussion directly on the card.

Practical example:
A workflow could automatically update a comment on a card with new status information after a related task is completed elsewhere in your automation.


Properties

Name Type Meaning
Comment ID String The unique identifier of the comment to be updated.
Comment Text String The new text content that will replace the old one.

Output

The output will be a JSON object representing the updated comment as returned by the Planka API. While the exact structure depends on the API response, it typically includes fields such as:

{
  "id": "string",
  "cardId": "string",
  "text": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "userId": "string"
}
  • id: The comment's unique identifier.
  • cardId: The ID of the card the comment belongs to.
  • text: The updated comment text.
  • createdAt: Timestamp of when the comment was created.
  • updatedAt: Timestamp of the last update (should reflect the recent change).
  • userId: The user who made the comment.

Dependencies

  • Planka API: Requires access to a running Planka instance.
  • API Credentials: You must configure the plankaApi credentials in n8n for authentication.
  • n8n Configuration: No special environment variables are required beyond standard credential setup.

Troubleshooting

Common issues:

  • Invalid Comment ID: If the provided Comment ID does not exist, the API will likely return a "Not Found" error.
  • Insufficient Permissions: If the API credentials do not have permission to edit the comment, you may receive a "Forbidden" or "Unauthorized" error.
  • Empty Comment Text: Submitting an empty string for Comment Text may result in a validation error from the API.

Error messages and resolutions:

  • "Comment not found": Check that the Comment ID is correct and exists on the target card.
  • "Permission denied": Ensure your API credentials have sufficient rights to edit comments.
  • "Validation failed": Make sure all required fields are filled and meet any length/content requirements.

Links and References


Discussion