Extract Purchase Orders from Gmail using Gemini AI and Save to Google Sheets
π 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
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
πΈ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments