## Zoho Inventory Documentation Index

Access the complete documentation index at:
https://www.zoho.com/en-fr/inventory/llms.txt

Use this file to discover all available documentation pages before proceeding.

[Back](./)

# Can I get the sample script to create records in Zoho Creator from Zoho Inventory?

 ![](/inventory/images/ue-resources/llm-utility-menu/sparkle-ai.svg) Explore With AI ![](/inventory/images/ue-resources/llm-utility-menu/dd-arrow.svg) 

*   [Open in ChatGPT (opens in new tab)](https://chatgpt.com/?prompt=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fen-fr%2Finventory%2Fkb%2Fautomation%2Fsample-script-zoho-creator.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.)
*   [Open in Claude (opens in new tab)](https://claude.ai/new?q=Analyze+the+content+of+https%3A%2F%2Fwww.zoho.com%2Fen-fr%2Finventory%2Fkb%2Fautomation%2Fsample-script-zoho-creator.html+and+understand+it+thoroughly+so+I+can+ask+questions+about+it.)
*    ![Copy for LLM](/inventory/images/ue-resources/llm-utility-menu/copy.svg) Copy for LLM
*    [![View as Markdown](/inventory/images/ue-resources/llm-utility-menu/md.svg) View as Markdown (opens in new tab)](/en-fr/inventory/kb/automation/sample-script-zoho-creator.md)

Refer below given sample script:

```
customerID = customer.get("contact\_id");

organisationID = organisation.get("organisation\_id");

name = item.get("name");

appowner = "APPOWNER";

//replace APPOWNER with appowner name

appname = "APPNAME";

//replace APPNAME  with app name

formname = "FORMNAME";

//replace FORMNAME with form name

cmap = Map();

cmap.put("Customer\_Name",name);//Customer\_Name should be the field name of Zoho Creator

res = zoho.creator.createRecord( appowner, appname, reportName, cmap , <oauth\_connection>);

info "" + res;

info cmap;
```

* * *