# Store Machine ID in a table with Node RED API

**URL:** <https://community.tulip.co/t/store-machine-id-in-a-table-with-node-red-api/11860>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [June 27, 2024, 11:22am UTC](https://community.tulip.co/t/store-machine-id-in-a-table-with-node-red-api/11860 "2024-06-27T11:22:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.genoud](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@paul.genoud](https://community.tulip.co/u/paul.genoud)\
**Post date:** [June 27, 2024, 11:22am UTC](https://community.tulip.co/t/store-machine-id-in-a-table-with-node-red-api/11860/1 "2024-06-27T11:22:23Z")

</div>

Hi all,

I’m using an edge IO to collect data from production work orders thanks to a flashing camera.  
My camera is flashing barcode on my products.

In my table I would like to store the Machine but I don’t manage to send to TULIP the name of the machine via TULIP API in node Red.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/2/2bb3d36fbeb72eff1e368c2af181ba8ff376b3a2.png)  
If I configure the column Machine as a text, it works fine but I would like to keep the “machine” format for my column.

Do you know how to do it ?

Thanks !  
Paul

---

<div class="post-metadata">

**Author:** ![OlgaStroilova](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/olgastroilova/32/7199_2.png) [@OlgaStroilova](https://community.tulip.co/u/OlgaStroilova)\
**Post date:** [June 27, 2024, 4:39pm UTC](https://community.tulip.co/t/store-machine-id-in-a-table-with-node-red-api/11860/2 "2024-06-27T16:39:14Z")

</div>

Hi Paul,

Could I ask a clarifying question - have you already tried sending in Machine ID (instead of a Name)?

The Node Red API is expecting an ID as the parameter for Machine – not Name.

In case this is helpful, here’s how to figure out the Machine ID:

- To manually find the ID, open the machine page on the cloud and the id of the machine will be in the URL.
- To programmatically find the ID, you can use the Machines API: [List Tulip machine types and their corresponding machines. - Tulip Machines](https://support.tulip.co/apidocs/list-tulip-machine-types-and-their-corresponding-machines)

Does this help? Thank you!

- Olga

---

<div class="post-metadata">

**Author:** ![paul.genoud](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@paul.genoud](https://community.tulip.co/u/paul.genoud)\
**Post date:** [June 27, 2024, 7:36pm UTC](https://community.tulip.co/t/store-machine-id-in-a-table-with-node-red-api/11860/3 "2024-06-27T19:36:57Z")

</div>

Hi Olga,

Thanks a lot ! It works perfectly fine with the Machine ID !

Paul
