# Have UPC Scanner Trigger Folder Creation

**URL:** <https://discourse.kuvacode.com/t/have-upc-scanner-trigger-folder-creation/198>\
**Category:** API\
**Created:** [12 January 2022 12:11 UTC](https://discourse.kuvacode.com/t/have-upc-scanner-trigger-folder-creation/198 "2022-01-12T12:11:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Art](https://discourse.kuvacode.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@Art](https://discourse.kuvacode.com/u/Art)\
**Post date:** [12 January 2022 12:11 UTC](https://discourse.kuvacode.com/t/have-upc-scanner-trigger-folder-creation/198/1 "2022-01-12T12:11:40Z")

</div>

Hello,  
Is it possible to create an action which would create a folder that images will go to with a UPC scanner? In other words, if the scanner button was pressed, a new folder is created with the UPC# scanned. This folder would now be the destination for my Capturegrid Photos.  
Thank you,

Art

---

<div class="post-metadata">

**Author:** ![francis](https://discourse.kuvacode.com/user_avatar/discourse.kuvacode.com/francis/32/13_2.png) [@francis](https://discourse.kuvacode.com/u/francis)\
**Post date:** [17 January 2022 11:45 UTC](https://discourse.kuvacode.com/t/have-upc-scanner-trigger-folder-creation/198/2 "2022-01-17T11:45:02Z")

</div>

No, the app does not allow you to trigger this kind of action when a new barcode is scanned.

However, if you use the barcode in the directory/filename of a photo, then the app will automatically create that directory when it downloads and saves the photo.  
(ie. you have used the [Z] token in the Filename Expression option)
