Actions21
Overview
This node integrates with the Financial Cents API to manage templates and related entities. Specifically, for the Template - Get operation, it retrieves detailed information about a single template by its ID. This is useful when you want to fetch metadata or configuration details of a specific template stored in Financial Cents.
Common scenarios include:
- Automating workflows that require fetching template details before creating projects.
- Synchronizing template data with other systems.
- Displaying template information in dashboards or reports.
Example: You have a project management workflow where you select a template to create a new project. Before creation, you retrieve the template details to validate or display them.
Properties
| Name | Meaning |
|---|---|
| Debug: Include Raw Response | If enabled, each output item will include the full raw JSON response from the API under the __raw property. Useful for debugging or accessing additional data not explicitly mapped. |
| Template ID | The unique identifier of the template to retrieve details for. |
Output
The node outputs an array of items, each containing a json object representing the template details fetched from the API.
- The
jsonobject includes all properties returned by the Financial Cents API for the specified template. - If "Debug: Include Raw Response" is enabled, the raw API response JSON is included under the
__rawkey inside each item. - No binary data is output by this operation.
Example output structure (simplified):
{
"json": {
"id": "template-id",
"title": "Template Title",
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-10T00:00:00Z",
// ... other template fields ...
"__raw": { /* full raw API response if debugRaw=true */ }
}
}
Dependencies
- Requires an API key credential for authenticating with the Financial Cents API.
- The node uses HTTP requests to the Financial Cents API base URL (
https://app.financial-cents.com/api/v1by default). - No additional environment variables are required beyond the API credential.
Troubleshooting
- Missing or invalid Template ID: Ensure the Template ID property is set and corresponds to an existing template in your Financial Cents account.
- Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions.
- API rate limits or connectivity issues: Check network connectivity and API usage limits; retry after some time if rate limited.
- Unexpected empty responses: Confirm the template exists and the ID is correct; also check if the API endpoint has changed.
If the node returns an error indicating the template was not found, double-check the Template ID value.
Links and References
- Financial Cents API Documentation (general reference for endpoints)
- n8n Documentation on Creating Custom Nodes