Skip to main content

Build Your Pantry and Recipes with an AI Assistant

One page to give an AI assistant, with your files, so it turns product lists and recipes in any format into Gaia import files: pantry items, sizes, sub-recipes and recipes.

Written by Souha Alameddine

Give this page to an AI assistant along with your files, and it will turn what you have into files Gaia can import: your pantry items, the sizes your recipes need, and your recipes. It works whether you start from a product list, an export from another system, or only your recipes.

What to Give the Assistant

  • This page. Paste the link, or copy everything under "Instructions for the AI Assistant" into the chat. In Claude or ChatGPT you can save it once as a project or custom instruction and reuse it.

  • Your files, in whatever format they're in: Word documents, PDFs, spreadsheets, scans, plain text.

  • A blank Item Import template. Go to Pantry, click Add, then Import items, and click Download template. It carries your district's own categories and units.

  • A blank recipe import template, if you have recipes. Go to Pantry, click Add, then Import recipes, and click Download template.

  • A Pantry export, if you already have items in Gaia. It lets the assistant use the items you have instead of adding duplicates.

Always download fresh templates and review the files yourself before uploading. Every import shows a preview first, and nothing saves until you confirm.

Instructions for the AI Assistant

You are preparing import files for Gaia, the school nutrition software. I'm giving you my source files, blank Gaia import templates, and possibly a Pantry export of the items I already have in Gaia. Follow these rules exactly. Don't guess anywhere: when you aren't sure, leave the cell blank and list it at the end with the reason.

1. Work out what to produce

Look at what I gave you, tell me in a line which files you will produce, and go ahead without waiting for an answer. Stop and ask only where these instructions say to. Gaia loads them in this order, because each one builds on the one before:

  1. Pantry items (Item Import template): one row per ingredient or supply.

  2. Sizes (Item Import template): the cup and per-piece weights recipes need on items already in my pantry.

  3. Sub-recipes (recipe import template): recipes used inside other recipes, like a sauce, a dough or a spice mix.

  4. Recipes (recipe import template): everything else.

If I only gave you recipes, the recipes drive the pantry: pull every ingredient out of them, match each one to my Pantry export if I gave you one, and build the ones that are missing into the Pantry items file. An ingredient that is already in my pantry needs no row there. If I only gave you a product or ingredient list, produce the Pantry items file only.

A vendor's product and price list is a separate job with its own rules. If I gave you one, tell me to use Use AI to Get a Vendor's Product List Ready for Bulk Upload after the items are loaded. Never put vendor names, vendor item numbers or prices in the item files.

2. Rules for every file

  • Use the blank template exactly as it is: same columns, headers spelled exactly as they appear. Delete the example rows. Keep any hidden sheets.

  • Use only the columns the template has. If a column named here isn't in my template, skip it and tell me.

  • Type plain values into every cell, no formulas. Keep codes as text so they don't lose leading zeros or turn into scientific notation.

  • Where a column has a dropdown, use one of its values, spelled exactly.

  • Never invent a Gaia Code, UPC, manufacturer code, allergen or nutrition value. A blank cell is always better than a guess.

3. Pantry items

One row per real item. The same ingredient listed once per vendor, or once per case size, is a single row. Merge two source rows only when their name, manufacturer, manufacturer code and serving size all match. A 2 oz and a 3 oz egg roll are two items. Never merge or split rows based on a vendor's own item number.

Items I already have. If I gave you a Pantry export, check each item against it by name, manufacturer and manufacturer code. When it's already in Gaia, copy its Gaia Code onto the row and fill in only what the source changes; blank means "leave as is." When it's new, leave Gaia Code blank.

Matching to my pantry. Match on meaning, not spelling, so "yellow onion, diced" can match "Onion, Yellow, Fresh".

  • Match when my pantry item is the same food in the same form and only adds a brand or a pack size.

  • Build a new item when the source states something my pantry item lacks or contradicts: whole milk is not 1% milk, and liquid eggs are not shell eggs.

  • When my pantry item adds a claim the source doesn't state, like low sodium or no salt added, match it and list the match for me to confirm.

  • When several pantry items fit, pick the plain, unbranded one, then the one with the fewest extra words. List the others you could have used.

  • When the source says "A or B" (olive oil or salad oil), use the first one that is in my pantry, otherwise the first one named.

Name. Clean every name the same way:

  • Food group first, then the item, separated by commas, with a capital on the first word of each part: "Corn, Frz" becomes "Vegetables, Corn, Frozen".

  • Use these food groups: Baking, Beans, Beef, Beverages, Bread, Cheese, Condiments, Dressings, Eggs, Fruit, Grains, Herbs, Juice, Meat, Milk, Nuts and seeds, Oils, Pork, Poultry, Sauces, Seafood, Snacks, Spices, Vegetables, Yogurt. Use Meat when the kind of meat isn't stated.

  • Spell out abbreviations ("CHKN" is chicken). Keep words like frozen, canned and diced. Keep industry codes as written (WG, WGR, IW).

  • Take the brand, the size and meal credit tags like "(2M, 2G)" out of the name. The brand goes in Manufacturer and the size in the serving size columns. Keep words that tell two products apart, like reduced sodium, 1% or 85/15.

  • Keep my own word for a product, even an unfamiliar one. Don't correct it or translate it. If something looks like a typo, keep it as written and list it for me.

  • Never guess a meat type the source doesn't state. "Sausage patty" goes under Meat, not Pork.

  • If two different items end up with the same clean name, add what tells them apart (the piece size or the meal credit) back to the end of the name.

Other columns.

  • Manufacturer and Manufacturer Code: the brand that makes the product and its own product code. Not the distributor, and not the distributor's item number.

  • External Record ID: the ID the item has in my source system, if it has one. Check that it's unique after merging. For an ingredient you built from a recipe, make a short ID of your own (for example ING-001) so the recipe files can point to it.

  • Shortcode: blank, unless I use my own item codes.

  • Alias: blank. Don't put the original name here.

  • Item Type: Food by default. Supplies only for non-food like trays, gloves and napkins. If you go by words in the name, match whole words and their plurals, so "straw" doesn't catch "Strawberries".

  • Category: only the values in my template's dropdown; they're specific to my district. Build one mapping from the source's categories (or from the kind of food, when the source has none) to mine, and include it in your summary. If nothing in my dropdown fits, leave Category blank and list the item.

  • Allergens: only from data that is explicitly labeled as allergens. Never from a note or a comment.

  • Avg Price: if my template has this column, leave it blank.

  • Notes: discontinued flags, real compliance comments, meal credit tags you took out of the name, and how you got the serving size when it wasn't stated outright.

Serving size (Base Unit and Base Amount Quantity). This is the most important rule. These two columns are not how the item is bought. They are the amount every nutrition value on the row is measured against.

  • If the row has nutrition values, work out what amount they are for before filling these columns. Use the basis the source states. If it doesn't state one, check a few plain ingredients against known values (a raw tomato is about 18 calories per 100 grams). If you can't tell, stop and ask me.

  • Look for a stated size before anything else, in this order: a size column, the item name ("Egg Roll, Vegetarian, 2 oz" is 2 ounce), then the pack description ("48/5.58 oz" is 5.58 ounce). These are not sizes: meal credit tags, can sizes like #10, lengths like 6 in, fat percentages, and counts like 12 ct.

  • A bulk ingredient with no nutrition values and no piece size, like flour, cumin or oil pulled from a recipe, gets 100 gram, or 1 fluid ounce for something poured and measured by volume, like oil, milk, juice or vinegar.

  • Never give a food item a Base Unit of each. If a food is only described as a count ("1 burrito", "patty") and no weight is stated anywhere, leave both columns blank and list it.

  • Supplies are always Base Unit each and Base Amount Quantity 1, whatever the pack holds.

Nutrition. Copy the values the source gives into the matching columns. Treat "N/A" and "not found" as blank, not zero. Leave every other nutrition and meal component column blank unless the source states it. Items can be matched to the Gaia Catalog after loading to bring nutrition in.

Items served as they are. For an item that goes on a menu as purchased, like a milk carton, a whole apple or a cereal bowl, set the template's Item as Recipe column to Yes and put the portion in Recipe Serving Amount and Recipe Serving Unit (for example 8 and fluid ounce). Do this only for items my source shows being served that way. Leave the column blank for ingredients.

4. Sizes

Gaia converts between volume units on its own (teaspoon up to gallon), and between weight units on its own. It can't get from a volume or a piece to a weight without being told once per item. Without that, it can't cost or analyze the recipe line.

  • An item set up by weight that a recipe measures by volume needs one size, written per cup: "1 cup = 247 gram" is Conversion Unit cup, Conversion Amount 247, Conversion Amount Unit gram. That one size covers every volume unit.

  • An item set up by volume that a recipe measures by weight needs the same one size.

  • An item a recipe uses by the piece needs the weight of one piece: Conversion Unit each. Words like bunch, clove, large or can are not units Gaia knows; list those lines under "Sizes I still need" unless the source states the weight.

  • Spell units the way my template's Base Unit dropdown does.

  • For a new item, fill the three Conversion columns on its own row in the Pantry items file. For an item already in my pantry, add a row to a separate Sizes file with only Name (exactly as in my Pantry export), Gaia Code and the three Conversion columns filled.

  • One size per row and one row per item in a file. If an item needs both a cup size and an each size, put the second in another file, "2b - Sizes".

  • My Pantry export doesn't show which sizes an item already has. Add the ones the recipes need. Gaia skips a size the item already has and refuses one that disagrees with it, and the preview says which.

  • Use a weight the source states, or the household measure from USDA FoodData Central for that exact food. Say for each one whether you looked it up or are recalling it, so I know which to check. If you have no reliable figure, don't add the row; list it under "Sizes I still need."

5. Sub-recipes and recipes

Two files, sub-recipes first. A sub-recipe is anything used as an ingredient in another recipe in my files, including a seasoning mix or sauce written inside a bigger recipe when it is made as its own batch. Put every sub-recipe in the first file with Allow as Ingredient set to Yes. Put every other recipe in the second file with Allow as Ingredient set to No.

Rows. One row per ingredient line. Repeat the same Recipe Name on every row of a recipe, and fill the recipe's own columns on its first row only.

  • Recipe Name: the recipe's title, with file noise removed. Keep a district or school name that is part of the title. Every name must be unique, and a recipe whose name is already in Gaia is skipped on upload. If I gave you the same recipe at two batch sizes, load the larger one and list the other; Gaia scales recipes.

  • Serving Size Amount and Serving Size Unit: the portion per serving (1 and cup, or 4 and oz). For something counted, like a burrito, use 1 and each. For a sauce or a mix that states a batch amount but no portion ("makes about 13 cups"), use 1 of that unit as the serving and the batch amount as the Yield (1, cup, 13). If the recipe states neither, leave both blank and list it; it will come in as a draft.

  • Yield: the number of servings the recipe makes. If the recipe gives more than one figure, use the one it calls the yield and list the conflict.

  • Process Type: only No Cook, Same Day Service or Complex Food Preparation, spelled exactly. No Cook: nothing is cooked. Same Day Service: cooked and served the same day. Complex Food Preparation: cooked, cooled, and reheated or served on a later day, including when the recipe allows that. If it isn't clear, leave it blank and list it.

  • Public Name: the name families see. Blank unless the recipe gives one.

  • Instructions: the recipe's steps, word for word, all in one cell on the first row, one step per line. Keep the recipe's own numbering. Don't rewrite or shorten. Include preheating and notes that affect how it's cooked. Leave out serving ideas, variations, background text and contact details.

Ingredient lines. Each line points to exactly one thing:

  • Gaia Code, for an item from my Pantry export.

  • External Record ID, for an item from the Pantry items file you built in this run.

  • Sub-Recipe, with the exact Recipe Name from the sub-recipe file.

Match ingredients to my pantry by the rules in step 3. A line like "cheese of your choice" or "fresh fruit of your choice" points to nothing: leave the line off and list it.

Amounts and units. Ingredient Amount is a plain number; 1 1/2 becomes 1.5. Ingredient Unit is the unit the recipe uses (g, oz, lb, cup, tbsp, tsp, qt, gal, each). Don't convert between weight and volume yourself.

  • You can add amounts in the same kind of unit (1 gal + 1 qt is 1.25 gal) and multiply out a stated amount (1 cup per pan, 5 pans, is 5 cup). Say where you did.

  • "To taste", "as needed", a garnish or an optional ingredient with no amount: leave the line off and list it. Don't build an item for it.

  • A can, case, bag or bunch with no weight, a range, or "one recipe" of a sub-recipe: keep the line and what it points to, leave Ingredient Amount and Ingredient Unit blank, and list it. The recipe comes in as a draft for me to finish. If the recipe states the weight ("1 small can, 7 oz"), use the weight.

Leave these out and list them: a "choice of" recipe such as a salad bar or assorted fruit (those are set up by hand in Gaia as assorted recipes), variations described inside another recipe, and placeholders like "No school".

6. Check before you hand anything back

  • Every Item Type, Category and Base Unit is a value from the template's dropdowns.

  • No food item has a Base Unit of each. No serving size is a placeholder like 9999.

  • No two item rows share an External Record ID, or the same name, manufacturer, manufacturer code and serving size.

  • No code has lost its leading zeros or turned into scientific notation.

  • Every recipe has a Serving Size Amount and Unit, or is on your list of recipes missing one. Every Process Type is one of the three values, or blank and listed.

  • No ingredient line has more than one of Gaia Code, External Record ID and Sub-Recipe filled.

  • Every Sub-Recipe name in the recipes file matches a Recipe Name in the sub-recipes file exactly.

  • Every recipe line measured by volume or by the piece on an item set up by weight has a size, in the Pantry items file or a Sizes file, or is listed under "Sizes I still need."

7. What to hand back

Name the files in upload order: "1 - Pantry items", "2 - Sizes" (then "2b - Sizes" if needed), "3 - Sub-recipes", "4 - Recipes". Then give me a short summary:

  • How many rows are in each file, and how many items are new versus already in Gaia.

  • Your category mapping.

  • The names you changed, original next to cleaned.

  • Every size you added and where it came from, and the sizes you still need from me.

  • The pantry matches you want me to confirm, and the ingredients missing from my pantry with the recipes that use them.

  • Everything you left blank or left out, and why.

Then Upload

  1. Upload the Pantry items file, then each Sizes file, through Pantry, Add, Import items, in the order they are numbered. See Bulk Upload Items to Your Pantry.

  2. Upload the sub-recipes file, then the recipes file, through Pantry, Add, Import recipes. See Bulk Import Recipes.

  3. Read each preview before you confirm. Recipes with a line Gaia couldn't use come in as drafts; fix the item or the amount, then publish them.

  4. To bring in nutrition for new items, see Match Your Pantry Items to the Catalog in Bulk.

Related Articles

Did this answer your question?