Overview
This node integrates with the Gyazo API to perform various image-related operations, including uploading images. The Image Upload operation allows users to upload binary image data directly to Gyazo, optionally associating metadata such as title, description, and collection ID.
Common scenarios for this node include:
- Automatically uploading screenshots or generated images from workflows to Gyazo for sharing or archival.
- Adding images to specific collections within Gyazo to organize content.
- Enriching uploaded images with descriptive metadata for easier searching and management.
For example, a user could automate capturing an image from a previous step in their workflow and upload it to Gyazo with a custom title and description, making it instantly available online.
Properties
| Name | Meaning |
|---|---|
| Image Binary | Name of the binary property containing the image data to upload (e.g., "data"). |
| Options | Additional optional fields to customize the upload: |
| - App Name | Application name associated with the upload (default is "n8n"). |
| - Collection ID | ID of the Gyazo collection to add the image to (optional). |
| - Description | Text description for the image (optional). |
| - Referer URL | URL of the referring site (optional). |
| - Title | Title for the image (optional). |
Output
The node outputs a JSON object representing the response from the Gyazo upload API. This typically includes details about the uploaded image such as its unique ID, URL, and any metadata set during upload.
If the node supports binary output, it would represent the uploaded image or related binary data; however, in this case, the output is purely JSON describing the uploaded image.
Dependencies
- Requires an API authentication token credential for Gyazo (an API key or OAuth token).
- The node makes HTTP requests to
https://upload.gyazo.com/api/upload. - No additional environment variables are required beyond the configured API credential.
Troubleshooting
- Invalid binary property name: If the specified binary property does not exist or contains no data, the node will throw an error. Ensure the binary property name matches exactly the input binary data field.
- Authentication errors: If the API token is missing or invalid, the upload request will fail. Verify that the API credential is correctly configured and has necessary permissions.
- Invalid Collection ID: If a collection ID is provided but does not exist or is malformed, the upload may fail or the image may not be added to the intended collection.
- Network issues: Connectivity problems can cause HTTP request failures. Check network access and retry if needed.