Actions5
- Item Actions
Overview
The Digitaliso n8n node allows you to interact with the Digitaliso API, specifically for managing "Items". The Get Item operation retrieves a single item by its ID from the specified resource. This is useful in scenarios where you need to fetch detailed information about a specific item, such as looking up a record for further processing or validation within your workflow.
Practical examples:
- Fetching a product, user, or document by its unique identifier for reporting or enrichment.
- Retrieving an item's details before updating or deleting it in subsequent steps.
Properties
| Name | Type | Meaning |
|---|---|---|
| Items | String | The resource endpoint (e.g., "products", "users") to run the API on. |
| ID | Number | The unique identifier of the item to retrieve. |
| Query Parameters | Fixed Collection | Additional query parameters to include in the request. Each parameter has a Name and Value field. |
Output
- The output is a JSON object containing the details of the requested item.
- If the request is successful, the output will be the item data as returned by the Digitaliso API.
- In case of errors and if "Continue On Fail" is enabled, the output will contain an
errorfield with the error message.
Example output:
{
"id": 123,
"name": "Sample Item",
"description": "This is a sample item.",
// ...other fields as provided by the API
}
Dependencies
- External Service: Requires access to the Digitaliso API.
- API Credentials: You must provide valid
digitalisoApicredentials (API Key and Company) in n8n. - n8n Configuration: No special configuration beyond setting up the credentials.
Troubleshooting
Common Issues:
- Invalid Credentials: If the API key or company is incorrect, authentication will fail.
- Missing Required Fields: Not providing the "Items" or "ID" property will result in errors.
- Network Errors: Connectivity issues may prevent reaching the Digitaliso API.
Error Messages:
"401 Unauthorized": Check your API key and company credentials."404 Not Found": The specified item ID does not exist in the selected resource."400 Bad Request": One or more required parameters are missing or invalid."error": "<message>": If "Continue On Fail" is enabled, errors are returned in the output under theerrorfield.
How to resolve:
- Double-check your credentials in n8n.
- Ensure the "Items" value matches the correct API resource path.
- Verify the "ID" exists in the system.
- Review any additional query parameters for correctness.
