AgentHub

Extract Purchase Orders from Gmail using Gemini AI and Save to Google Sheets

πŸš€ AI-Powered Email to Purchase Order Workflow

Live
Open / InstallLast updated July 27, 2026

Description

πŸš€ AI-Powered Email to Purchase Order Workflow Automatically scan your inbox for new purchase order requests, extract order details using Gemini AI, and log them into Google Sheets β€” all without manual effort. ✨ Core Capabilities ⏱ Runs every minute to check unread emails πŸ“§ Filters emails by subject πŸ€– Uses Gemini AI to summarize email content & extract structured order details πŸ“… Formats dates into ISO calendar weeks πŸ“Š Adds product data from Google Sheets to complete order info βœ… Appends final purchase order records into a Google Sheet (without replacing previous ones) πŸ›  Setup Essentials πŸ“© Gmail account for fetching unread emails πŸ”‘ Google Gemini (PaLM) API credentials πŸ“’ Google Sheet with predefined purchase order headers πŸ“– Activation Guide βš™οΈ Configure Gmail & Google Sheets credentials in n8n 🎯 Adjust the subject filter to match your email rules πŸ”Œ Connect Gemini AI with your API credentials πŸ“‘ Create a Google Sheet with the required headers ▢️ Activate the workflow and let it run in the background 🎨 Customizing the Workflow πŸ” Email Filters β†’ Change keywords in the filter node to match your purchase order email subjects 🏷 Order Fields β†’ Modify Set and Append to Google Sheet nodes if your schema differs ✍️ AI Instructions β†’ Adjust the AI Agent’s prompt to fit your company’s email style or product details ⏲ Frequency β†’ Update the Cron node if you want to scan emails less often πŸ“‚ Target Google Sheet β†’ Point to a different sheet or tab depending on your department or customer. An n8n automation workflow template by SayOne Technologies.

Author

SayOne Technologies

Platform

web

Pricing model

free

Categories

Automation
AI

Tags

n8n
workflow
google-sheets
gmail
code
ai-agent
google-gemini-chat-model

Capabilities

  • 5 nodes
  • 29 views