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 an online print store platform. Specifically, the Create Store operation under the Store resource allows users to create a new store by providing necessary details such as the store name and API keys for Google Fonts and image services.
Typical use cases include:
- Automating the creation of new print stores within a workflow.
- Setting up stores with specific font and image service integrations automatically.
- Managing multiple stores programmatically without manual intervention.
For example, a user can automate onboarding new clients by creating their stores with predefined configurations for fonts and image sources like Unsplash, Pixabay, and Pexels.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication; currently supports "API Token" |
| Store Name | The name of the store you want to create |
| Google_font_api | The Google Fonts API key or identifier required for the store |
| Unsplash | API key or token for integrating Unsplash image service |
| Pixabay | API key or token for integrating Pixabay image service |
| Pexels | API key or token for integrating Pexels image service |
Output
The node outputs JSON data representing the response from the Printcart API after attempting to create the store. This typically includes details about the newly created store such as its ID, name, and configuration status.
No binary data output is involved in this operation.
Dependencies
- Requires an API token credential for authenticating requests to the Printcart API.
- The node makes HTTP POST requests to
https://api.printcart.com/v1/storesendpoint. - Proper API keys for Google Fonts, Unsplash, Pixabay, and Pexels must be provided as input properties.
- n8n environment must have network access to the Printcart API endpoints.
Troubleshooting
- Authentication errors: Ensure that the API token credential is valid and has sufficient permissions.
- Missing required fields: The
google_font_apiproperty is mandatory; omitting it will cause request failures. - Invalid API keys for image services: Incorrect or expired keys for Unsplash, Pixabay, or Pexels may result in partial or failed store setup.
- Network issues: Verify connectivity to
api.printcart.com. - Error messages from API: The node surfaces error messages returned by the Printcart API. Review these messages for clues on invalid parameters or quota limits.
If the node is set to continue on failure, errors for individual items will be included in the output JSON with an error field describing the issue.
Links and References
- Printcart API Documentation (assumed official docs URL)
- Google Fonts API
- Unsplash Developers
- Pixabay API
- Pexels API