Actions21
Overview
This node interacts with the Financial Cents API to manage client resources, specifically allowing users to delete a client resource associated with a client. The "Delete" operation under the "Client Resource" resource removes a specified resource (such as a label and URL entry) from a given client.
Typical use cases include:
- Cleaning up outdated or incorrect client resources.
- Automating the removal of client-related links or documents no longer needed.
- Integrating with workflows that maintain client data hygiene by deleting obsolete resources.
For example, if you have a client with several attached URLs or labels representing resources, this node can be used to programmatically delete one of those resources by specifying its ID.
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. |
| Client | The client to operate on. This is selected from a list of clients loaded dynamically. |
| Resource ID | The unique identifier of the client resource to delete. This specifies which resource will be removed. |
Output
The node outputs an array of items where each item contains a json object representing the result of the delete operation.
- The
jsonobject typically contains the API response data confirming the deletion. - If the API does not return specific data, the node outputs
{ success: true }to indicate successful deletion. - When debug mode is enabled, the raw full API response JSON is also included under the
__rawproperty within each item.
No binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the Financial Cents API.
- The node uses HTTP requests to the Financial Cents API endpoint, defaulting to
https://app.financial-cents.com/api/v1. - No additional external dependencies are required beyond the configured API credential.
Troubleshooting
- Missing Resource ID: If the "Resource ID" property is empty or invalid, the API call will fail. Ensure you provide a valid resource ID corresponding to a client resource.
- Invalid Client Selection: Selecting a client that does not exist or has no resources may cause errors or no effect. Verify the client exists and has resources before attempting deletion.
- API Authentication Errors: If the API key credential is missing or invalid, the node will throw authentication errors. Confirm the API key is correctly configured in n8n credentials.
- Network Issues: Connectivity problems to the Financial Cents API endpoint will cause request failures. Check network access and API availability.
- Error Messages: Common error messages returned by the API might include "Not Found" if the resource or client does not exist, or "Unauthorized" if credentials are invalid. Review the error details and adjust inputs or credentials accordingly.
Links and References
- Financial Cents API Documentation (for detailed API endpoints and parameters)
- n8n Documentation on Creating Custom Nodes