Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Asset → Create
AI-generatedOverview
This node operation creates a new asset in the Hudu system. It is useful for scenarios where you need to programmatically add assets with specific layouts and fields to your asset management system. For example, you can create an asset for a new piece of equipment or resource in your company, specifying its layout and detailed fields as per your asset management requirements.
Use Case Examples
- Creating a new asset for a company with a predefined asset layout and mapping custom fields to it.
- Automating asset creation during onboarding of new hardware or resources.
Properties
| Name | Meaning |
|---|---|
| Company Name or ID | Specifies the company to which the asset belongs. You can select from a list or provide an ID via expression. |
| Asset Layout Name or ID | Defines the layout template for the asset, determining which fields are available. Select from a list or specify an ID via expression. |
| Asset Fields | Allows mapping of all asset fields including name, standard properties, custom fields, and asset link fields for the new asset. This enables setting any combination of layout-specific fields during creation. |
Output
JSON
id- The unique identifier of the created asset.name- The name of the created asset.company_id- The ID of the company the asset belongs to.asset_layout_id- The ID of the asset layout used for the asset.mappedFields- The fields mapped and set on the asset during creation, including custom and standard fields.
Dependencies
- Requires an API key credential for Hudu REST API authentication.
Troubleshooting
- Common issues include providing invalid company or asset layout IDs, which will cause the operation to fail. Ensure IDs are correct and exist in the Hudu system.
- If required fields are missing, the node will throw an error indicating which parameter is missing.
- Network or authentication errors may occur if the API key credential is invalid or network connectivity is lost. Verify credentials and network status.
Links
- n8n Expressions Documentation - Documentation on how to use expressions to specify dynamic values for properties like company ID or asset layout ID.