Gluten-Free Dinner Recipes to Kroger Cart
Generates 5 gluten-free dinner recipes, saves all recipes with full instructions to a Google Doc, extracts and deduplicates the combined ingredient list, then searches Kroger for all ingredients in a single batch using the gluten-free allergen filter and adds everything to your cart. Notifies you when complete with a link to the Google Doc and confirmation that your cart is ready.
Search For 5 Highly Rated Gluten-Free Dinner Recipes
Search For 5 Highly Rated distinct, complete gluten-free dinner recipes. For each recipe, provide: the recipe name, a full ingredient list with exact quantities, and complete step-by-step cooking instructions. Choose a variety of cuisines and protein sources (e.g., chicken, beef, fish, vegetarian). Every recipe must be naturally gluten-free — do not rely on specialty gluten-free substitute products for the main dish (though gluten-free pantry items like GF soy sauce or GF pasta are fine). Make sure all 5 recipes are genuinely gluten-free with no hidden gluten sources.
Compile and Format Recipes
Goal: Organize the 5 gluten-free dinner recipes into a clean, well-formatted document structure and prepare a pipe-delimited ingredient search string | Inputs: The 5 gluten-free dinner recipes generated in the previous step, including recipe names, ingredient lists, and cooking instructions | Outputs: 1) A formatted document body with: a title 'Gluten-Free Dinner Recipes', each recipe as a section with its name as a heading, a numbered ingredient list, and step-by-step instructions. 2) A deduplicated master ingredient list that merges ingredients across all 5 recipes, combining quantities where the same ingredient appears in multiple recipes. 3) A pipe-delimited search string of short grocery search terms derived from the master list, like: chicken thighs | olive oil | garlic | spinach | rice (one term per ingredient, max 25 items). Skip basic pantry staples the user likely has (salt, pepper, water, cooking spray). | Constraints: Ensure every ingredient is captured. When deduplicating, use the most common unit and round sensibly. Group the master ingredient list by category (produce, proteins, pantry staples, dairy/dairy alternatives, etc.). Flag any ingredient that might contain hidden gluten and note a gluten-free alternative. The search terms must use simple grocery product names, not recipe descriptions (e.g., 'garlic' not '4 cloves of garlic, minced'). Separate all search terms with | (pipe character). | Success criteria: All 5 recipes are fully captured. The deduplicated master ingredient list is accurate. The pipe-delimited search string contains one short, specific term per purchasable ingredient.
Save Recipes to Google Doc
Create a new Google Doc titled 'Gluten-Free Dinner Recipes' and write the full formatted recipe content from the previous step into it. Include all 5 recipes with their ingredients and instructions, followed by the deduplicated master ingredient list at the end. Use headings for each recipe name and the master list section. IMPORTANT: Save the Google Doc URL — you will need it for the final notification.

Workflow preview
What the agent will follow (tools, prompts, and workflow steps).
1. Apply the following prompt: Search For 5 Highly Rated distinct, complete gluten-free dinner recipes. For each recipe, provide: the recipe name, a full ingredient list with exact quantities, and complete step-by-step cooking instructions. Choose a variety of cuisines and protein sources (e.g., chicken, beef, fish, vegetarian). Every recipe must be naturally gluten-free — do not rely on specialty gluten-free substitute products for the main dish (though gluten-free pantry items like GF soy sauce or GF pasta are fine). Make sure all 5 recipes are genuinely gluten-free with no hidden gluten sources.
2. Apply the following prompt: Goal:
Organize the 5 gluten-free dinner recipes into a clean, well-formatted document structure and prepare a pipe-delimited ingredient search string
Inputs:
The 5 gluten-free dinner recipes generated in the previous step, including recipe names, ingredient lists, and cooking instructions
Outputs:
1) A formatted document body with: a title 'Gluten-Free Dinner Recipes', each recipe as a section with its name as a heading, a numbered ingredient list, and step-by-step instructions. 2) A deduplicated master ingredient list that merges ingredients across all 5 recipes, combining quantities where the same ingredient appears in multiple recipes. 3) A pipe-delimited search string of short grocery search terms derived from the master list, like: chicken thighs | olive oil | garlic | spinach | rice (one term per ingredient, max 25 items). Skip basic pantry staples the user likely has (salt, pepper, water, cooking spray).
Constraints:
Ensure every ingredient is captured. When deduplicating, use the most common unit and round sensibly. Group the master ingredient list by category (produce, proteins, pantry staples, dairy/dairy alternatives, etc.). Flag any ingredient that might contain hidden gluten and note a gluten-free alternative. The search terms must use simple grocery product names, not recipe descriptions (e.g., 'garlic' not '4 cloves of garlic, minced'). Separate all search terms with | (pipe character).
Success criteria:
All 5 recipes are fully captured. The deduplicated master ingredient list is accurate. The pipe-delimited search string contains one short, specific term per purchasable ingredient.
3. Call tool: Google Docs Connector (Save Recipes to Google Doc).
Instructions:
Create a new Google Doc titled 'Gluten-Free Dinner Recipes' and write the full formatted recipe content from the previous step into it. Include all 5 recipes with their ingredients and instructions, followed by the deduplicated master ingredient list at the end. Use headings for each recipe name and the master list section. IMPORTANT: Save the Google Doc URL — you will need it for the final notification.
Parameters:
{"action": "create_document", "title": "Gluten-Free Dinner Recipes"}
4. Call tool: Grocery Shopping - Kroger (Find Nearest Kroger Store).
Instructions:
Find the nearest Kroger family store using the user's zip code. We need the location_id to search for products with local pricing and availability. Save the location_id for the batch product search.
Parameters:
{"action": "find_stores", "limit": 1}
5. Call tool: Grocery Shopping - Kroger (Batch Search All Ingredients).
Instructions:
Search Kroger for ALL ingredients in a single batch call. Set 'query' to the pipe-delimited search string from the compile step (e.g., "chicken thighs | olive oil | garlic | spinach | rice"). Set 'location_id' to the store from the find-store step. The tool splits on | and searches all items concurrently, returning results grouped by ingredient.
Parameters:
{"action": "search_products", "allergen_free": ["gluten"], "limit": 3}
6. Apply the following prompt: Goal:
Review all Kroger batch search results and select the best product for each ingredient, then build the final cart items list. Ensure ALL ingredients end up in the cart — no items should be left for the user to shop for on their own.
Inputs:
The batch search results (grouped by ingredient query), the original ingredient list with quantities needed
Outputs:
A final list of cart items, each with: UPC code, quantity to purchase, product name, and price. Also a summary of any ingredients that could not be found at all (not in any search).
Constraints:
Choose the most appropriate size/quantity for each ingredient based on what the recipes need. Prefer regular-sized packages over bulk unless multiple recipes use the same ingredient in large quantities. CRITICAL RULE: Many whole foods like fresh produce, vegetables, fruits, plain meats, rice, potatoes, eggs, butter, olive oil, etc. are inherently and definitively gluten-free by nature. If the gluten-free allergen filter did not return results for these items, you MUST still select them from the general search results or re-search without the allergen filter. These items are naturally gluten-free and safe — the absence of a gluten-free label on a whole food does not mean it contains gluten. Only flag an item as truly unavailable if it cannot be found on Kroger at all. Do NOT create a list of items for the user to source or shop for separately — every ingredient must be added to the cart. Build the items array in the format needed for add_to_cart: [{upc, quantity}].
Success criteria:
Every ingredient has a selected product with correct UPC and quantity added to the cart. The only items reported as unavailable are those that genuinely cannot be found on Kroger at all. No items are left for the user to shop for on their own. Total estimated cost is calculated.
7. Call tool: Grocery Shopping - Kroger (Add All Items to Kroger Cart).
Instructions:
Add all selected items to the user's Kroger cart using the UPC codes and quantities from the selected products list. Use the add_to_cart action with the items array containing each product's UPC and quantity. This must include ALL ingredients — both those found via gluten-free search and naturally gluten-free whole foods.
Parameters:
{"action": "add_to_cart"}
8. Apply the following prompt: Goal:
Compose the final notification message for the user
Inputs:
The Google Doc URL, the list of 5 recipes, the cart contents with pricing, and any items that were unavailable
Outputs:
A concise notification message that includes: the Google Doc link with all recipes, number of items added to cart, estimated total cost, any items that were completely unavailable on Kroger, and a reminder to review the cart on Kroger's website or app before placing the order.
Constraints:
Keep it brief and actionable. Do not list items for the user to go shop for separately — all available items should already be in the cart.
Success criteria:
User has a clear picture of what was done and what they need to do next.
9. Notify my human (other) (Notify User - Cart Ready (No Response Needed)).
Your gluten-free meal plan is ready! The recipes have been saved to a Google Doc and all available ingredients have been added to your Kroger cart. Check the summary for your Google Doc link, cart details, and any items that could not be found on Kroger. No response needed — this is a notification only. The workflow is now complete.Agent Reviews
Related Documentation

AI Grocery Shopping is HERE -- Gluten-Free Recipes to Kroger Cart in Minutes
Watch an AI agent generate 5 gluten-free dinner recipes, save them to Google Docs, search Kroger for all ingredients, and add 41 items to a Kroger cart -- all autonomously using AgentPMT workflow skills.

Claude Transcript - Allergen Friendly Grocery Shopping With AI
Full Claude Code transcript showing an AI agent executing the Gluten-Free Dinner Recipes to Kroger Cart workflow -- generating recipes, saving to Google Docs, searching Kroger, and adding 41 items to the cart.