Actions46
- 🏢 PROJECT Actions
- 📋 BOARD Actions
- 📝 CARD Actions
- ➕ Create Card
- 🔍 Get Card
- ✏️ Update Card
- 🗑️ Delete Card
- 🏷️ Add Label to Card
- 🚫 Remove Label from Card
- 👤 Add Member to Card
- 🚫 Remove Member from Card
- ✅ Create Task in Card
- 🔄 Update Task
- 🗑️ Delete Task
- 📎 Create Attachment in Card
- ✏️ Update Attachment
- 🗑️ Delete Attachment
- 📋 Get All Card Actions
- 💬 Create Comment on Card
- ✏️ Update Comment
- 🗑️ Delete Comment
- 👤 USER Actions
Overview
The 🗑️ Delete Task operation for the 📝 CARD resource in this n8n node allows you to permanently delete a specific task from a card in Planka, a project management tool. This is useful when you want to automate the cleanup or maintenance of tasks within cards, such as removing completed, obsolete, or erroneous tasks as part of your workflow.
Practical examples:
- Automatically remove tasks that are no longer relevant after a certain condition is met.
- Clean up tasks created by mistake or as part of a bulk update process.
- Integrate with other systems to synchronize task deletions across platforms.
Properties
| Name | Type | Meaning |
|---|---|---|
| Task ID | String | The unique identifier of the task to be deleted. This is required to specify which task should be removed from the card. |
Output
The output will be a JSON object reflecting the response from the Planka API after attempting to delete the specified task. Typically, for a successful deletion, the response may be empty or contain minimal confirmation data (such as a success message or status). If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.
Example output on error (with Continue On Fail):
{
"error": "Task 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 beyond standard credential setup.
Troubleshooting
Common issues:
- Invalid Task ID: If the provided Task ID does not exist, the API will return an error (e.g., "Task not found").
- Insufficient Permissions: The user associated with the API credentials must have permission to delete tasks; otherwise, a permission error will occur.
- Network/API Issues: Connectivity problems or incorrect API base URL can cause request failures.
Error messages and resolutions:
"Task not found": Ensure the Task ID is correct and exists in Planka."Unauthorized"or"Forbidden": Check that the API credentials are valid and have sufficient permissions."An unknown error occurred": Review the input parameters and check the Planka server logs for more details.
