TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a single note by specifying its unique identifier. It is useful in scenarios where you need to programmatically remove notes from a system, such as cleaning up outdated information, managing user-generated content, or automating note lifecycle management.

For example, if you have a list of notes and want to delete one based on its ID, this node can be used to perform that deletion automatically within an n8n workflow.

Properties

Name Meaning
Id The unique identifier of the note to delete. This is a required string value representing the object id of the note.

Output

The output will contain a JSON object reflecting the result of the delete operation. Typically, this might include confirmation of deletion or status information returned by the API. There is no indication that binary data is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the external service providing the notes functionality.
  • The node uses a base URL configured via credentials to connect to the appropriate API endpoint.
  • The node depends on the external Twenty API (or similar) to perform the delete operation.

Troubleshooting

  • Missing or invalid Id: If the "Id" property is not provided or incorrect, the node will fail to delete the note. Ensure the correct note ID is supplied.
  • Authentication errors: If the API key or credentials are missing or invalid, the node will return an authentication error. Verify that the API key credential is correctly set up.
  • Note not found: If the specified note ID does not exist, the API may return a "not found" error. Confirm the note ID is valid and exists.
  • Network issues: Connectivity problems with the API endpoint can cause failures. Check network access and API availability.

Links and References

  • Refer to the external API documentation for the notes service to understand the delete operation details and response structure.
  • n8n documentation on creating and using API key credentials for authentication.

Discussion