Actions21
Overview
This node interacts with the Financial Cents API to manage clients and their related data. Specifically, the Client - Delete operation allows users to delete a client record from the Financial Cents system by specifying the client's ID.
Common scenarios where this node is beneficial include:
- Automating cleanup of client records that are no longer needed.
- Integrating client management workflows where clients are removed based on external triggers or conditions.
- Maintaining up-to-date client lists by programmatically deleting outdated or duplicate entries.
Example use case:
- A workflow that deletes a client after a project is completed and archived, ensuring the client list remains current.
Properties
| Name | Meaning |
|---|---|
| Debug: Include Raw Response | If enabled, the raw JSON response from the API will be included in each output item under __raw. Useful for debugging or logging. |
| Client | Select the client to delete by choosing from a loaded list of clients or by providing an expression that resolves to the client ID. |
Output
The node outputs an array of JSON objects representing the result of the delete operation. Each output item contains:
- The main JSON response from the API indicating success or failure.
- If "Debug: Include Raw Response" is enabled, the raw full API response is included under the
__rawproperty.
Typical output structure when deleting a client successfully:
{
"success": true
}
If debug mode is on, it will look like:
{
"success": true,
"__raw": { /* full API response object */ }
}
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Financial Cents API.
- The base URL defaults to
https://app.financial-cents.com/api/v1but can be configured via credentials. - Uses HTTP methods (DELETE) to interact with the Financial Cents REST API.
- No additional external dependencies beyond the API access and n8n's HTTP request helper.
Troubleshooting
- Missing Client ID: If the client ID is not provided or invalid, the API call will fail. Ensure the "Client" property is set correctly.
- API Authentication Errors: If the API key credential is missing or invalid, requests will be rejected. Verify the API key configuration.
- Network Issues: Connectivity problems may cause timeouts or failures. Check network access to the Financial Cents API endpoint.
- Permission Denied: The API user associated with the key must have permission to delete clients.
- Unexpected API Responses: Enabling the debug option helps capture raw responses for troubleshooting unexpected errors.
Links and References
- Financial Cents API Documentation (general reference for endpoints)
- n8n documentation on HTTP Request Node for understanding underlying request mechanics