Actions7
- Shopping List Actions
- Authentication Actions
Authentication → Login
AI-generatedOverview
This node interacts with the EasyShopper API to manage shopping lists and handle user authentication. It supports operations such as adding items to a shopping list, scanning barcodes to add products, looking up product information via barcode, retrieving all shopping list items, removing items, clearing the list, and logging in to authenticate with the EasyShopper API. This node is useful for automating shopping list management and integrating product lookup functionalities in workflows.
Use Case Examples
- Automatically add items to a shopping list based on user input or external triggers.
- Scan product barcodes to add items to a shopping list during inventory or shopping processes.
- Lookup product details from the OpenFoodFacts database by barcode to enrich shopping data.
- Authenticate users to access their EasyShopper account and manage their shopping lists securely.
Properties
| Name | Meaning |
|---|---|
| Resource | The main category of operations to perform, either managing the shopping list or handling authentication. |
| Operation | The specific action to perform within the selected resource. |
| Barcode (GTIN/EAN) | The barcode number of the product, required for scanning or lookup operations. |
| Product Name | Name of the product to add to the shopping list. |
| Quantity | Quantity of the product to add. |
| Note | Optional note or description for the product. |
| Category | Category of the product, with an option for automatic AI-based detection. |
| Item GUID | Unique identifier of the item to remove from the shopping list. |
Output
JSON
success- Indicates if the operation was successful.productName- Name of the product involved in the operation (if applicable).quantity- Quantity of the product involved (if applicable).category- Category of the product involved (if applicable).note- Optional note or description for the product (if applicable).itemGuid- Unique identifier of the shopping list item (if applicable).response- Raw response data from the EasyShopper API or OpenFoodFacts API.barcodeType- Type of barcode scanned (for scanBarcode operation).barcode- Barcode number used in the operation.storeGuid- Identifier of the store associated with the shopping list.itemsCount- Number of items retrieved in the shopping list (for getItems operation).items- Array of shopping list items retrieved.removed- Indicates if an item was successfully removed.cleared- Indicates if the shopping list was successfully cleared.itemsDeleted- Number of items deleted when clearing the list.authenticated- Indicates if login authentication was successful.token- Authentication token received after login.deviceId- Device identifier used for login authentication.
Dependencies
- EasyShopper API
- OpenFoodFacts API
Troubleshooting
- Ensure valid API credentials are provided for EasyShopper API authentication.
- Barcode lookup may fail if the product is not found in the OpenFoodFacts database; handle errors accordingly.
- Network issues or incorrect API endpoints can cause request failures; verify connectivity and endpoint URLs.
- When adding items, ensure required fields like product name and quantity are correctly set.
- If the node throws authentication errors, verify the device ID and API token credentials.
Links
- OpenFoodFacts API Documentation - Documentation for the OpenFoodFacts product database API used for barcode lookups.