Actions80
- Account Actions
- Clipart Actions
- Clipart Storage Actions
- Design Actions
- Font Actions
- Image Actions
- Product Actions
- Project Actions
- Project Folder Actions
- Side Actions
- Storage Actions
- Store Actions
- Template Actions
- Webhook Actions
Overview
This node integrates with the Printcart API to manage various resources related to print-on-demand products and designs. Specifically, for the Font resource with the Get List of Font operation, it retrieves a list of fonts available in the Printcart system.
Common scenarios where this node is beneficial include:
- Fetching available fonts to display in a design tool or product customization interface.
- Synchronizing font lists from Printcart into another system or database.
- Automating workflows that require up-to-date font information for product personalization.
For example, a user might use this node to get the top 10 fonts sorted by their ID in descending order to populate a dropdown menu in a custom app.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports only "API Token". |
| Limit | Maximum number of font results to return (minimum 10). |
| Sort | Sorting direction for the results: either "Asc" (ascending) or "Desc" (descending). |
| Sort By | The field by which to sort the font list; defaults to "id". |
Output
The node outputs a JSON array containing font objects retrieved from the Printcart API. Each object represents a font with properties such as name, alias, URL, type, subset, and other metadata provided by the API.
No binary data output is involved in this operation.
Example output structure (simplified):
[
{
"id": "123",
"name": "Open Sans",
"alias": "open_sans",
"url": "https://fonts.printcart.com/open_sans.ttf",
"type": "google",
"subset": "latin"
},
{
"id": "124",
"name": "Roboto",
"alias": "roboto",
"url": "https://fonts.printcart.com/roboto.ttf",
"type": "google",
"subset": "latin"
}
]
Dependencies
- Requires an API token credential for authenticating requests to the Printcart API.
- The node makes HTTP GET requests to the Printcart API endpoints over HTTPS.
- No additional external dependencies are required beyond the API token.
Troubleshooting
- Authentication errors: Ensure the API token is valid and has sufficient permissions.
- Empty results: Verify that the
Limitparameter is set correctly (minimum 10) and that the sorting parameters are valid. - Network issues: Confirm network connectivity to the Printcart API endpoint.
- Invalid parameter values: If sorting options or fields are incorrect, the API may return errors or unexpected results. Use default values if unsure.
- API rate limits: Excessive requests may be throttled by the Printcart API; consider adding delays or handling retries.
Links and References
- Printcart API Documentation (general reference for API endpoints)
- n8n documentation on HTTP Request Node for understanding how API calls are made within nodes