Extract Receipt Data to Google Sheets Automatically
Turn receipt emails into a searchable Google Sheets ledger with Make and OpenAI. Learn the setup, prompt, testing steps, and safeguards for reliable results.

Turn Receipt Emails Into a Google Sheets Spending Ledger
Manual expense tracking usually fails for a simple reason: receipts come in all kinds of formats, and typing merchant names, dates, and totals feels too minor to justify a "system." Then the month ends, your inbox is crowded, and your records are suddenly incomplete.
You can automate the basics with Gmail, Make, OpenAI, and Google Sheets. Make watches for receipt emails, sends the receipt text (or extracted content) to OpenAI to pull out the key fields, and then writes those values into a new Google Sheets row. The end result is a practical spending ledger for everyday personal use or small teams - not a full accounting workflow, and definitely not a replacement for reviewing important financial records.
This guide covers the scenario setup, the extraction prompt, field mapping, testing, and the safeguards that keep the ledger dependable. One key limitation matters up front: AI can misread a receipt. So the workflow should make mistakes visible instead of quietly treating every result as correct.
Why automate receipt tracking?
A spreadsheet is only useful if you actually get data into it. The friction usually isn't the spreadsheet - it's the stop-and-go routine of opening an email, finding the receipt, reading the total, and typing it into the right columns. Skip that step often enough, and you end up "reconstructing" spending after the fact instead of keeping a real record.
A Make scenario reduces the manual steps. When a receipt arrives, the workflow can pass its text to OpenAI, ask for a small set of fields, and add the results to a Google Sheet. For routine purchases, that can turn your inbox into a running expense log without you building an app.
What this workflow is good for
This setup works best for lightweight tracking: personal spending, a freelancer's receipts, or an informal log for a small team. A good starter sheet has four columns:
- Date - the transaction date printed on the receipt.
- Merchant - the shop, service, or business name.
- Category - a label like food, travel, or software.
- Total - the amount charged.
For example, a coffee receipt might become a row for Demo Coffee, dated November 12, 2026, categorized as food, with a total of 4.50. A taxi receipt for 12.00 could be categorized as travel. Those examples are easy to sanity-check, which is exactly what you want while you're building trust in the automation.
What it does not replace
This isn't invoice processing, bookkeeping, or anything tax-compliance related. Receipts can include tax, tips, subtotals, and totals in different ways depending on the country and merchant. A model can pick the wrong number, misread a date, or assign a category you didn't expect.
If the extracted numbers matter for accounting, reimbursements, or taxes, keep the original receipts and add a review step before treating extracted values as "approved."
The real goal here is simple: remove repetitive typing while keeping a clear path to correction. If a wrong entry is expensive, build in review - not blind automation.
What you need before building the scenario
Set things up first, before you connect modules. It makes the scenario easier to test and saves you from chasing multiple issues at once.
You'll need a Make account, a Gmail inbox where receipts arrive, an OpenAI API key, and a Google Sheet with the four columns described above. You'll also want two sample receipts: one simple example (like a coffee) and one from a different category (like a taxi). Use test receipts that are safe to process and that have clear totals.
Decide how Gmail will identify receipts
Your trigger should watch a predictable set of messages. If every email in your inbox enters the scenario, order confirmations, newsletters, and personal mail may get sent to extraction too.
A Gmail label like "Receipts" gives you control. Apply the label manually at first, or use an existing filter if your receipts already have consistent senders or subject lines.
Label-based setups are usually easier to debug than trying to automatically recognize every receipt across the whole inbox. The trade-off is that you may have to apply the label when a receipt doesn't match your filter.
Set up the sheet for clean data
Create a header row with Date, Merchant, Category, and Total. Keep the column names stable because Make maps fields to those names.
Format the date column as a date and the total column as currency. If you deal with multiple currencies, add a currency column instead of assuming everything uses the same one.
Decide on your category list before writing the prompt. A short, consistent set - food, travel, software, and other - is usually better than a long list of overlapping categories. If you leave category selection totally open, you'll get inconsistent labels for similar purchases, and your summaries will stop being reliable.
Finally, create or retrieve your OpenAI API key and connect everything inside Make. Treat the key like a password - don't paste it into a spreadsheet, a prompt, or a shared doc. Also check any data-handling requirements that apply to your receipts before sending anything to an AI service, especially if they include personal or business-sensitive details.
How to build the Make and OpenAI workflow
This scenario has five functional steps: detect a receipt, provide readable receipt content to OpenAI, parse the response, map the fields into Google Sheets, and test the results. The exact Make module names can vary, but the data flow should stay the same.
1. Watch for a new receipt
Start the scenario with a Gmail watch trigger configured for the inbox or label you chose. The trigger should provide the email content and, if applicable, the attachment.
Receipts can arrive as text in the email body, a PDF, or an image. Make sure the next step receives content that your selected OpenAI module can actually read. An attachment reference alone isn't the same as having extracted text (or image content) available.
If your receipts are consistently attached as PDFs or images, confirm that your chosen module and the scenario configuration support that input. The workflow can't extract details from a file it can't access or parse.
2. Ask OpenAI for a constrained extraction
Send the receipt content with a specific prompt. Keep the requested output small, and lock the allowed categories.
For example:
Read this receipt and return the merchant, transaction date, total, and category. Use only these categories: food, travel, software, or other. If a field is missing or unclear, return null for that field. Reply with valid JSON only, using the keys merchant, date, total, and category. Use YYYY-MM-DD for the date and a number for the total. Do not guess.
This prompt is better than asking the model to "read the receipt" because it defines the output format, date format, category vocabulary, and what to do when information is uncertain. Asking the model not to guess won't guarantee accuracy, but it gives you a consistent way to spot missing values.
A valid response could look like this:
{
"merchant": "Demo Coffee",
"date": "2026-11-12",
"total": 4.50,
"category": "food"
}
3. Parse the response and map the fields
Add a JSON parsing step in Make so the response turns into separate fields. Then map merchant to Merchant, date to Date, category to Category, and total to Total in the Google Sheets module. Use the option that adds a new row, not one that overwrites existing entries.
Check the types. If you want Google Sheets to sum totals, make sure Total is passed as a number (not a string like "$4.50"). Also confirm that the date is treated as a real date rather than plain text.
These are small details, but they're the difference between a ledger that sorts and sums correctly - and one that "looks right" while quietly breaking.
4. Choose how new entries appear
An append action normally adds each new row at the bottom. If you want newest spending at the top, sort the ledger by date descending in Google Sheets, or use a separate filtered view for that display. Try not to force sorting or rewriting the whole sheet on every run unless you have a reason; repeated sorting can complicate things and increases the chance of messing with existing rows.
How to test and keep the ledger reliable
A good test isn't just "the scenario ran." You want to check what landed in the sheet, whether values have the right data types, and how the workflow behaves when the receipt isn't clear - or when the same email shows up more than once.
Testing two different receipts catches more than testing two copies of the same format.
Run a small acceptance test
Send one coffee receipt and one taxi receipt through the scenario. Confirm that Demo Coffee at 4.50 lands in food and the demo taxi at 12.00 lands in travel. Also verify the date, the merchant spelling, and that the total is numeric and usable in spreadsheet calculations.
Then test a messy case: a receipt with an unclear date, a missing total, or a layout that differs from your first sample. Your expected behavior should be explicit. For a low-risk personal tracker, you might allow the row through with a blank field and review later. For a business workflow, route incomplete results to review rather than adding them as if they're verified.
Make failures visible
Decide what happens when OpenAI returns invalid JSON, a required field is missing, or the attachment can't be read. At minimum, don't silently write a misleading row.
Depending on your tolerance for mistakes, you can stop the scenario, flag the row for review, or send an error notification. The "right" choice depends on whether missing or incorrect entries are worse for you than having extra manual review.
Duplicate processing is another real risk. During testing, you might rerun the scenario, and in production you can process the same email more than once after changes. If duplicates would distort totals, store a unique identifier from the email or message and check whether it's already been recorded before adding a row.
That extra step adds complexity - so for a personal tracker you can often skip it if you're comfortable reviewing entries manually.
Keep the record auditable
Save the original email or receipt so you can check what the system extracted. You can also add columns for a review status or a message identifier if you need stronger traceability.
Don't add extra columns just because you can - every new field means more mapping to maintain. Start with the smallest ledger that works, then add controls when real use shows you a gap.
Conclusion
Make, OpenAI, Gmail, and Google Sheets can remove a lot of the repetitive work in receipt tracking. The reliable version isn't just "a trigger plus an AI prompt." It's controlled inputs, a defined response format, correct field mapping, and a clear plan for errors and duplicates.
Start with a simple ledger and two test receipts. If the results are consistent, expand to the receipt formats you actually get. Keep the original records, and add review controls wherever the cost of a wrong total is higher than the time you save with automation.