# Kroger Grocery Auto-Order from Google Doc

> Reads your Google Doc named grocery list, searches Kroger for each item to find the best-priced match, adds them to your Kroger cart, checks off completed items in the Google Doc, then sends you a notification that your order is ready.

Content type: workflow
Source URL: https://www.agentpmt.com/agent-workflow-skills/kroger-grocery-auto-order-from-google-doc
Markdown URL: https://www.agentpmt.com/api/agent/workflows/kroger-grocery-auto-order-from-google-doc?format=agent-md
Updated: 2026-02-23T02:15:24.258Z
Author: firef1ie

---

Estimated time saved: 25 minutes.

## Tools

- Google Docs Connector
- Grocery Shopping - Kroger
- AgentPMT Send Human Request

## Workflow Outline

1. Fetch Grocery List Doc: Search for the Google Doc named 'grocery list' and retrieve its full content. Extract all line items as a list of grocery items to shop for. Handle bullet points, numbered lists,...
2. Parse Grocery Items: Goal: Parse the raw Google Doc content into a clean structured list of grocery items | Inputs: Raw Google Doc text content from the previous step | Outputs: A JSON array of grocery item objects, each with: name (string)...
3. For Each Grocery Item: Repeat this section for each grocery_item. Iterate over each grocery item parsed from the list. For each item, search Kroger, select the best match, and add it to the cart. Track whe...
4. Search Kroger for Item: Search Kroger for the current grocery_item. Use the item name plus any brand/qualifier hints as the search query. Retrieve at least 5 product results. Include pricing and availabi...
5. Check Off Items in Google Doc: Update the grocery list Google Doc. For each item that was successfully added to the Kroger cart, check it off (add a checkmark or strikethrough next to the item). For any items t...
6. Select Best Priced Match: Goal: Select the best product from Kroger search results for the current grocery item | Inputs: The current grocery_item (name, quantity, unit, notes) and the list of Kroger search results with prices and availability |...
7. Send Completion Notification: Send the user a notification that their Kroger grocery order is ready in their cart. Include in the message: the total number of items added to cart, the estimated total cost, and...
8. Add Item to Kroger Cart: If the previous step found a suitable product (found=true), add it to the user's Kroger cart using the selected product ID and the quantity from the grocery list. If found=false,...

## Frequently Asked Questions

### How do I connect this workflow to my local agent like OpenClaw or Claude Code?

You can install the local MCP server by opening a terminal and running:

```
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

This will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.

Alternatively you can connect to the hosted version with this config block, no installation required:

```
{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}
```

[View MCP Connection Instructions](/docs/mcp-reference/connection) for more details.

### How do I trigger this workflow?

You can use it here in the browser by clicking the 'Try It' button.

If you 'star' the workflow it will save to your dashboard for quick access.

To use the workflow in an external agent, make sure you have followed the steps to connect it to the MCP server and then copy / paste this prompt, or just tell it to use the AgentPMT MCP server and use this workflow.

> Call the AgentPMT-Workflow-Skills tool with action 'get\_workflow\_skill' and skill\_id 699679ace6055740810375df ("Kroger Grocery Auto-Order from Google Doc").