Qonto icon

Qonto

Consume Qonto API

Actions46

Overview

This node integrates with the Qonto API to manage attachments related to financial transactions. Specifically, for the "Attachments in a Transaction" resource and the "Remove All Attachments From a Transaction" operation, it allows users to delete all attachments associated with a specified transaction.

This functionality is useful in scenarios where you need to clean up or reset the attachments linked to a transaction, such as removing outdated or incorrect documents before uploading new ones, or automating bookkeeping workflows that require attachment management.

Example use case:

  • Automatically remove all attachments from a transaction after processing or archiving it elsewhere.
  • Clear attachments before re-uploading updated files to ensure no duplicates remain.

Properties

Name Meaning
Authentication Method of authenticating with the Qonto API. Options: "Login and Secret-Key", "OAuth2".
ID The unique identifier of the transaction from which all attachments will be removed.

Output

The node outputs a JSON array containing the response from the Qonto API after attempting to remove all attachments from the specified transaction. The exact structure depends on the API's DELETE endpoint response but typically confirms success or failure of the removal operation.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Qonto API.
  • Requires either an API key credential (login and secret-key) or OAuth2 authentication configured in n8n.
  • Uses the Qonto API endpoint: DELETE /transactions/{transaction_id}/attachments.

Troubleshooting

  • Common issues:

    • Invalid or missing transaction ID: Ensure the "ID" property is correctly set to a valid transaction UUID.
    • Authentication errors: Verify that the selected authentication method is properly configured and credentials are valid.
    • Network or API errors: Check connectivity and Qonto API status.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Indicates invalid or expired credentials; reconfigure authentication.
    • "Transaction not found": The provided transaction ID does not exist; verify the ID.
    • "Failed to remove attachments": Could indicate permission issues or API limitations; check user permissions and API documentation.

Links and References

Discussion