Scanned Data Wont Attach to Email or in Email Body

Hi I am trying to create a simple barcode scanning app where someone can scan a barcode out in the field, enter a quantity, hit save and it brings up the next scan. Once scanning is complete you close the batch and an email automatically sends out. I have completed all of these steps but I cannot get the information from the google sheet to email out. The emails will successfully send once the batch is closed in the app, but there arent any attachments on the email. I also tried to have the email provide the information in the body of the email but only the template formula comes through, and none of the scanned data.

Are there any other options or different set-ups to try?

I assume, based on your other comments, you have created a template intended to generate a file and want that file attached to the email?

Have you been able to confirm that file itself is getting generated properly?

Please show us the automation step intended to generate the file and attach to an email

AND also please show us the template you are using