Actions21
Overview
This node integrates with the Financial Cents API to manage and retrieve data related to various resources, including templates. Specifically, for the Template - List operation, it fetches a paginated list of project templates available in the Financial Cents system. Users can filter templates by title, sort them by creation date or title, and control the order direction (ascending or descending). This is useful for workflows that need to display or process multiple templates, such as automating project creation based on predefined templates or synchronizing template data with other systems.
Practical examples:
- Automatically retrieving all available project templates to present options in a user interface.
- Filtering templates by title keyword to find specific templates programmatically.
- Sorting templates by creation date to get the newest templates first for review or processing.
Properties
| Name | Meaning |
|---|---|
| Debug: Include Raw Response | If enabled, each output item will include the full raw JSON response from the API under __raw. |
| Page | The page number of results to fetch (minimum 1). |
| Order By | Field to sort the templates by. Options: Created At, Title. |
| Order Direction | Sort direction. Options: Ascending, Descending. |
| Search Title | Filter templates by searching their title for this string. |
Output
The node outputs an array of items where each item's json property contains the data of a single template object retrieved from the Financial Cents API. Each template object includes fields as returned by the API, such as template ID, title, creation date, and other metadata.
If the "Debug: Include Raw Response" option is enabled, each item also contains a __raw field holding the entire raw API response JSON for that request, which can be useful for debugging or accessing additional data not explicitly mapped.
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 customized via credentials. - Uses HTTP GET requests to the
/templatesendpoint with query parameters for pagination, sorting, and filtering.
Troubleshooting
- Empty results: Ensure the page number and search title filters are set correctly. If filtering by title, verify the search string matches existing templates.
- API authentication errors: Confirm that the API key credential is valid and has sufficient permissions to access templates.
- Pagination issues: If expecting more results, check if "Page" is incremented properly or consider implementing auto-pagination outside this node.
- Unexpected API responses: Enable the debug option to inspect the raw API response under
__rawfor troubleshooting.
Links and References
- Financial Cents API Documentation (general reference for endpoints and parameters)
- n8n documentation on HTTP Request Node for understanding underlying HTTP calls (conceptual)