TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific view filter by its unique identifier. It is useful in scenarios where you manage views with filters and need to programmatically remove a filter that is no longer relevant or was created by mistake. For example, if you have a dashboard or report filtered by certain criteria and want to clean up unused filters automatically, this node can be integrated into your workflow.

Properties

Name Meaning
Id The unique identifier of the view filter object you want to delete. This is required to specify which filter to remove.

Output

The output JSON will typically contain the response from the API confirming the deletion of the specified view filter. This may include status information or details about the deleted filter. The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Twenty API.
  • The base URL for the API is configured dynamically from the provided credentials.
  • 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 empty or incorrect, the API call will fail. Ensure you provide a valid filter ID.
  • Authentication errors: If the API key or domain credentials are missing or incorrect, the request will be unauthorized. Verify your credentials configuration.
  • Network issues: Connectivity problems to the API endpoint will cause failures. Check your network and API availability.
  • API errors: The API might return errors if the filter does not exist or has already been deleted. Handle such cases gracefully in your workflow.

Links and References

Discussion