Actions46
- Company Actions
- Person Actions
- Opportunity Actions
- Task Actions
- Note Actions
- Calendar Event Actions
- Message Actions
- Attachment Actions
- Workflow Actions
- Custom Actions
Company → Delete
AI-generatedOverview
This node integrates with the Twenty CRM API to manage various CRM resources such as companies, people, opportunities, tasks, notes, and more. Specifically for the Company resource with the Delete operation, it deletes a company record identified by its ID from the Twenty CRM system.
Common scenarios where this node is useful include:
- Automating cleanup of outdated or incorrect company records.
- Integrating with other workflows that require removing company data after certain conditions are met (e.g., contract termination).
- Synchronizing deletions between Twenty CRM and other systems.
Example: Automatically delete a company record when it no longer meets qualification criteria in your sales pipeline.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the company record to delete. This is required to specify which company to remove. |
Output
The output of the node is a JSON array representing the response from the Twenty CRM API after attempting the deletion. Typically, for a delete operation, the response may be empty or contain confirmation details depending on the API behavior.
json: Contains the API response confirming the deletion or error information if the operation failed.- No binary data is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Twenty CRM API.
- The node uses the base API URL configured in the credentials.
- Network access to the Twenty CRM REST API endpoint is necessary.
Troubleshooting
- Invalid ID: If the provided company ID does not exist or is malformed, the API will return an error. Ensure the ID is correct and corresponds to an existing company.
- Authentication errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is correctly set up.
- API rate limits or downtime: If the API is unreachable or rate-limited, requests will fail. Check network connectivity and API status.
- Error messages: Errors thrown by the node include the message from the API. Use these messages to diagnose issues such as permission problems or invalid parameters.
- To continue processing multiple items even if some fail, enable "Continue On Fail" in the node settings.
Links and References
- Twenty CRM API Documentation (general reference for API endpoints and usage)
- n8n documentation on HTTP Request Authentication (for setting up API credentials)