TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific favorite folder by its unique identifier. It is useful in scenarios where you want to manage and organize your favorite folders dynamically, such as cleaning up unused or obsolete folders from your collection.

For example, if you have a list of favorite folders saved in an application and want to remove one that is no longer needed, this node can be used to perform that deletion automatically based on the folder's ID.

Properties

Name Meaning
Id The unique identifier (object id) of the favorite folder to delete

Output

The output will contain JSON data representing the result of the delete operation. Typically, this might include confirmation of successful deletion or details about the deleted folder. There is no indication that binary data is returned by this node.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured via credentials to connect to the Twenty API.
  • The node depends on the @devlikeapro/n8n-openapi-node package and a local OpenAPI specification file (twenty-v1.0.3-openapi.json) to build its properties and handle requests.

Troubleshooting

  • Missing or invalid Id: If the "Id" property is not provided or incorrect, the node will fail to find the folder to delete. Ensure the correct object id is supplied.
  • Authentication errors: If the API key or domain credentials are missing or invalid, the request will fail. Verify that the credentials are correctly set up in n8n.
  • Network or API errors: Issues connecting to the external API or server errors may cause failures. Check network connectivity and API status.
  • Permission issues: The authenticated user must have permission to delete favorite folders; otherwise, the API will reject the request.

Links and References

Discussion