Actions27
- Account Actions
- Device Actions
- Estatísticas E Log Actions
- Item Actions
- Template Actions
Overview
This node integrates with the etiquetas.io platform, specifically focusing on managing items and their images. The "Enviar Imagem" (Send Image) operation under the "Item" resource allows users to upload or send an image related to a specific item in a store.
Typical use cases include:
- Uploading product images to associate them with inventory items.
- Managing visual content for items in retail or warehouse management systems.
- Automating image updates for items based on barcode or store identification.
For example, a user can specify a store by its ID or select it from a list, provide the barcode of the item, indicate which image number they want to update, and specify the field name where the image should be stored or referenced.
Properties
Name | Meaning |
---|---|
storeId | Identifies the store. Can be selected from a searchable list of stores or provided directly by its ID. |
barCode | The barcode string of the item to which the image will be associated. |
picNum | The image number/index to specify which picture is being sent or updated (required). |
fieldName | The name of the field where the image will be stored or linked (required). |
Output
The node outputs JSON data representing the result of the image sending operation. This typically includes confirmation details such as success status, any returned metadata about the uploaded image, or error messages if the operation failed.
If the node supports binary data output (e.g., the actual image file), it would be included in the binary property of the output, but this is not explicitly shown in the provided code snippet.
Dependencies
- Requires an API key credential for etiquetas.io to authenticate requests.
- Uses internal helper methods to fetch store lists (
getStores
) for the resource locator property. - Relies on the etiquetas.io platform's API endpoints to perform the image sending operation.
- No additional external services are indicated beyond etiquetas.io.
Troubleshooting
- Invalid Store ID: If the store ID does not match the expected numeric pattern, the node will reject it. Ensure the store ID contains only digits.
- Missing Required Fields:
picNum
andfieldName
are required; omitting them will cause errors. - Authentication Errors: If the API key credential is invalid or missing, the node will fail to connect to etiquetas.io.
- Barcode Not Found: Providing an incorrect or non-existent barcode may result in failure to associate the image.
- Network Issues: Connectivity problems with etiquetas.io API endpoints will cause execution failures.
To resolve these issues:
- Verify all input fields meet validation criteria.
- Confirm the API key credential is correctly configured.
- Check network connectivity and API endpoint availability.
- Use the store selection list to avoid manual ID entry errors.