Actions14
Overview
This node integrates with Zoho Inventory to manage assemblies of composite items. Specifically, the Assembly - Create operation allows users to create a new assembly record by specifying which composite item to assemble, the quantity, and the date of assembly. Optionally, a reference number can be provided for tracking purposes.
Typical use cases include manufacturing or inventory management workflows where you need to track the assembly of products composed of multiple components (composite items). For example, if you manufacture electronic devices from various parts, this node helps automate recording the assembly event in Zoho Inventory, updating stock levels accordingly.
Properties
| Name | Meaning |
|---|---|
| Composite Item ID | The unique identifier of the composite item to assemble. |
| Quantity | The number of units of the composite item to assemble. |
| Date | The date and time when the assembly took place. |
| Reference Number | An optional reference number for the assembly, useful for tracking or documentation. |
Output
The output JSON contains the details of the created assembly as returned by the Zoho Inventory API. This typically includes fields such as assembly ID, composite item ID, quantity assembled, date, reference number, and other metadata related to the assembly record.
No binary data is output by this node.
Example output structure (simplified):
{
"assembly": {
"assembly_id": "123456789",
"composite_item_id": "987654321",
"quantity_to_assemble": 10,
"date": "2024-06-01T12:00:00Z",
"reference_number": "REF-001",
...
}
}
Dependencies
- Requires an OAuth2 credential configured for Zoho Inventory API access.
- The OAuth2 credential must include a valid Organization ID configured in its settings.
- Network access to Zoho Inventory API endpoints.
- n8n environment must have the Zoho Inventory OAuth2 credentials set up properly.
Troubleshooting
- Missing Credentials: If the OAuth2 credentials are not configured or invalid, the node will throw an error indicating that Zoho Inventory credentials were not found. Ensure the OAuth2 credential is created and linked correctly.
- Missing Organization ID: The Organization ID is mandatory for API calls. If missing, the node will prompt to configure it inside the OAuth2 credential settings.
- API Errors: If Zoho Inventory returns an error code, the node surfaces the message and code. Common issues include invalid composite item IDs or insufficient permissions.
- Invalid Input Data: Providing incorrect or missing required properties like
Composite Item ID,Quantity, orDatewill cause the API call to fail. Double-check input values before execution. - Rate Limits or Network Issues: Temporary network failures or API rate limits may cause errors. Retrying after some time or checking network connectivity can help.