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
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
π° AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments