# Zap blueprint: quote request emails to draft replies with Claude

**This is a blueprint, not an import file, and we have not built or tested it in Zapier.** The n8n file is the tested version. Zapier has no public format for importing Zaps, so you rebuild these steps by hand in the Zap editor. App and step names are from memory of Zapier's app directory, so search the app in the editor if a step looks different.
Full recipe: https://recipeagents.usestarbase.com/recipes/quote-request-reply-claude

1. **Trigger:** Gmail, New Email Matching Search. Search: `in:inbox -category:promotions (quote OR quotation OR estimate OR pricing OR "how much")`
2. **Action:** Google Sheets, a lookup that returns the whole price list (columns item, unit_price, unit). If your Zapier version only returns one matching row, this recipe does not translate: Claude needs the full list of item names.
3. **Action:** Anthropic (Claude), Send Message, model Claude Haiku 5.5, max tokens 2000. Paste the prompt from the recipe page and map the item names, sender, subject and email text into it.
4. **Action:** Code by Zapier (JavaScript). Parse Claude's JSON, look every item name up in the list you fetched in step 2 (accept only names that exist exactly), multiply quantity by the sheet price yourself, and build the reply text. Do not let Claude calculate.
5. **Action:** Gmail, Create Draft, in the same thread if the step offers it. Never use a Send step here.
6. **Test each step** with a real quote request, read the draft, and only then turn the Zap on.
