Actions14
Assembly → Get History
AI-generatedOverview
This node interacts with the Zoho Inventory API to manage assemblies related to composite items. Specifically, the Get History operation under the Assembly resource retrieves the assembly history for a given composite item. This is useful for tracking all past assembly records of a composite item, such as when and how many units were assembled over time.
Practical scenarios include:
- Auditing production or assembly activities for composite products.
- Monitoring inventory changes due to assembly operations.
- Generating reports on assembly frequency and quantities for manufacturing or stock management.
Properties
| Name | Meaning |
|---|---|
| Composite Item ID | The unique identifier of the composite item whose assembly history you want to retrieve. |
Output
The output is an array of JSON objects, each representing an individual assembly record associated with the specified composite item. Each object contains details about a single assembly event, such as quantity assembled, date, reference number, and other relevant metadata provided by Zoho Inventory.
Example structure of one assembly record (fields may vary):
{
"assembly_id": "string",
"composite_item_id": "string",
"quantity_assembled": number,
"date": "ISO8601 datetime string",
"reference_number": "string",
...
}
No binary data is output by this operation.
Dependencies
- Requires a valid OAuth2 API authentication token configured in n8n for Zoho Inventory.
- The Zoho Inventory organization ID must be set within the credentials.
- Internet access to Zoho Inventory API endpoints.
Troubleshooting
- Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Zoho Inventory OAuth2 credentials are properly configured in n8n.
- Organization ID Missing: An error indicating the organization ID is missing means it has not been set in the credential configuration. Set the organization ID found in Zoho Inventory under Settings → Organization Profile.
- API Errors: If the API returns errors, check the composite item ID is correct and exists in your Zoho Inventory account.
- Empty Results: If no assembly history is returned, verify that the composite item has assembly records in Zoho Inventory.