Actions99
- Group Accounts Actions
- Group Account Codes Actions
- Accounts Actions
- Expenses Actions
- Purchase Orders Actions
- Get A List Of Purchase Orders
- Create A New Purchase Order
- Get A Purchase Order
- Update A Purchase Order
- Open A Purchase Order
- Get A List Of Purchase Orders Items For A Specific Purchase Order
- Create A Purchase Order Item
- Get A Purchase Order Item
- Update A Purchase Order Item
- Delete A Purchase Order Item
- Get A List Of Goods Received Notes For A Specific Purchase Order
- Create A Goods Received Note
- Attach A File To A Goods Received Note
- Delete A Goods Received Note
- Suppliers Actions
- Fund Accounts Actions
- Cards Actions
- Expense Categories Actions
- Tax Rates Actions
- Amortizations Actions
- Account Teams Actions
- Account Codes Actions
- External Teams Actions
- Custom Fields Actions
- Get Custom Fields
- Create A New Custom Field
- Get Custom Field
- Update Custom Field
- Delete A Custom Field And All Its Values
- Get Custom Field Values
- Create A Custom Field Value
- Delete Custom Field Values
- Get A Custom Field Value
- Update A Custom Field Value
- Delete A Custom Field Value
- Get Managers For A Specific Custom Field Value
- Adds Managers For A Specific Custom Field Value
- Replaces Managers For A Specific Custom Field Value
- Removes Managers For A Specific Custom Field Value
- Webhook Subscriptions Actions
- Group Teams Actions
Overview
This node operation deletes a specified custom field and all its associated values from an account. It is useful in scenarios where you want to clean up or remove obsolete or incorrect custom fields from your data management system, ensuring that no residual data remains linked to the deleted field.
For example, if you have a custom field used for tracking a temporary campaign and that campaign has ended, you can use this operation to completely remove the custom field and all stored values related to it, keeping your dataset tidy.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account from which the custom field will be deleted. |
| Custom Field Id | Identifier of the custom field that you want to delete along with all its stored values. |
Output
The output JSON typically contains confirmation details about the deletion operation. This may include status messages or identifiers confirming that the custom field and its values were successfully removed.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential for authenticating requests to the external service managing accounts and custom fields.
- The node depends on a REST API endpoint provided by the external service to perform the deletion.
- Proper configuration of the base URL and authentication credentials within n8n is necessary for successful execution.
Troubleshooting
Common Issues:
- Invalid or missing Account Id or Custom Field Id will cause the operation to fail.
- Insufficient permissions or invalid API credentials can result in authorization errors.
- Network connectivity issues may prevent the node from reaching the external API.
Error Messages:
- "Custom field not found": Verify that the Custom Field Id is correct and exists in the specified account.
- "Unauthorized" or "Authentication failed": Check that the API key credential is valid and properly configured.
- "Account not found": Confirm that the Account Id is accurate and accessible with the current credentials.
Resolving these errors usually involves verifying input parameters, checking API credentials, and ensuring network connectivity.
Links and References
- Refer to the external service’s API documentation for detailed information on deleting custom fields and required permissions.
- Consult n8n documentation on how to configure API credentials and handle HTTP request nodes for similar operations.