Tạo Mới
AI-generatedOverview
This node manages branches in the KiotViet system, specifically allowing the creation of new branches. It is useful for automating the addition of branch information such as name, address, and optional details like phone number, branch code, and description. For example, a business can use this node to programmatically add new branch locations to their KiotViet account as they expand.
Use Case Examples
- Create a new branch with mandatory fields: name and address.
- Add a new branch including optional phone number and description for better branch identification.
Properties
| Name | Meaning |
|---|---|
| Tên Chi Nhánh | The name of the branch to be created. |
| ĐịA Chỉ | The address of the branch to be created. |
| Trường Bổ Sung | Additional optional fields for the branch such as phone number, branch code, and description. |
Output
JSON
id- The unique identifier of the created branch.name- The name of the created branch.address- The address of the created branch.phoneNumber- The phone number of the created branch, if provided.code- The identifier code of the created branch, if provided.description- Additional notes about the created branch, if provided.
Dependencies
- KiotViet API with authentication credentials
Troubleshooting
- Common issues include missing required fields such as 'Tên Chi Nhánh' or 'ĐịA Chỉ', which will cause the node to fail.
- Errors from the KiotViet API such as invalid credentials or network issues may occur; ensure API credentials are correct and the network connection is stable.
- If the node is set to continue on fail, errors will be returned in the output as error messages for each failed item.