Actions83
- 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 design resources within a print-on-demand or custom product platform. Specifically, the Create Design operation allows users to create a new design associated with a particular side of a product, including preview and design images, notes, status, and viewport dimensions.
Typical use cases include:
- Automating the creation of product designs in a print-on-demand workflow.
- Integrating design management into e-commerce platforms or custom product configurators.
- Streamlining design uploads and metadata assignment for products with multiple sides or views.
For example, a user can create a design by specifying the side of a product it belongs to, uploading preview and design images, adding descriptive notes, setting the design's status (e.g., processing or accepted), and defining viewport dimensions for display purposes.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports "API Token" |
| Side ID | The identifier of the product side where the design will be created |
| Preview Image ID | Identifier of the image used as a preview for the design |
| Design Image ID | Identifier of the main design image |
| Note | A textual note or description associated with the design |
| Uploader | Boolean flag indicating if the current user is the uploader of the design |
| Status | Status of the design; options include: Processing, Accepted, Trashed, Declined |
| Viewport Width | Numeric value representing the width of the viewport for displaying the design (precision 1) |
| Viewport Height | Numeric value representing the height of the viewport for displaying the design (precision 1) |
Output
The node outputs an array of JSON objects corresponding to the response from the Printcart API after creating the design. The JSON structure typically includes details about the newly created design such as its unique ID, associated side ID, image IDs, note, uploader status, status type, and viewport dimensions.
No binary data output is indicated for this operation.
Dependencies
- Requires an API token credential for authenticating requests to the Printcart API.
- The node makes HTTP POST requests to the endpoint
https://api.printcart.com/v1/designsusing the provided credentials. - Proper configuration of the API token credential in n8n is necessary for successful execution.
Troubleshooting
- Authentication errors: Ensure that the API token credential is correctly configured and has sufficient permissions to create designs.
- Missing required fields: The operation requires all mandatory properties (Side ID, Preview Image ID, Design Image ID, Note, Status, Viewport Width, Viewport Height). Omitting any may cause request failures.
- Invalid IDs: Providing incorrect or non-existent Side ID or image IDs will result in API errors. Verify these IDs before execution.
- API rate limits or downtime: If the Printcart API is unreachable or rate-limited, requests may fail. Check API status and retry later.
- Error messages: Errors returned by the API are propagated; review the error message for specific issues such as validation errors or permission denials.
Links and References
- Printcart API Documentation (Assumed URL for reference; replace with actual if available)
- n8n documentation on HTTP Request Node for understanding API integrations
- General guidance on API Authentication in n8n