Attio icon

Attio

Interact with Attio API

Overview

This node allows you to delete a specific comment from the Attio platform by providing the unique identifier of the comment. It is useful in scenarios where you want to automate the removal of outdated, irrelevant, or incorrect comments from your workspace or records.

For example, you might use this node to:

  • Automatically clean up comments that are no longer needed after a certain workflow step.
  • Remove comments flagged as inappropriate or resolved in a customer support process.
  • Manage and maintain data hygiene by deleting comments programmatically based on external triggers.

Properties

Name Meaning
Comment Id The ID of the comment to delete. This must be the unique identifier of the comment you want to remove.

Output

The output of this node is a JSON object representing the response from the Attio API after attempting to delete the comment. Typically, for a successful deletion, the response may be an empty object or contain metadata confirming the deletion.

If the operation fails, the output JSON will contain an error field with the error message explaining what went wrong.

No binary data is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Attio API.
  • The node makes HTTP DELETE requests to the Attio API endpoint corresponding to the comment resource.
  • Ensure the API key has sufficient permissions to delete comments.
  • Network access to https://api.attio.com is required.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Comment Id will result in an error from the API indicating the comment was not found.
    • Insufficient permissions on the API key can cause authorization errors.
    • Network connectivity problems can lead to request failures.
  • Error messages:

    • "Operation configuration not found for Delete Comment": Indicates a misconfiguration or unsupported operation; ensure the correct resource and operation are selected.
    • API errors returned in the JSON error field will provide details such as "Comment not found" or "Unauthorized".
  • Resolutions:

    • Verify the Comment Id is correct and exists in your Attio workspace.
    • Check that the API key used has delete permissions for comments.
    • Confirm network connectivity and that the API endpoint is reachable.
    • Use the node's "Continue On Fail" option if you want the workflow to proceed despite individual deletion errors.

Links and References

  • Attio API Documentation (for detailed API endpoints and authentication)
  • n8n Documentation on HTTP Request Node (conceptual similarity)
  • General best practices for managing comments and data hygiene in CRM/workspace tools

Discussion