Turn purchase order emails into clean rows in a Google Sheet. Ideal for operations and warehouse teams that receive inbound order emails and need fast, accurate data entry without manual typing.
A Gmail trigger watches for new emails and an If check looks for the words Inbound Order in the subject. The email subject and body go to an AI Agent that uses an OpenAI chat model with a structured output parser to pull the purchase order number, the expected delivery date, and each order line with SKU and quantity. A Code node reshapes the AI result into rows. The Google Sheets node appends those rows into a sheet with the columns PO_NUMBER, EXPECTED_DELIVERY DATE, SKU_ID, and QUANTITY. Because it uses structured parsing, it works even if the email text is not in a strict template.
Set up Gmail, Google Sheets, and OpenAI credentials in n8n Cloud, then paste your sheet details and review the system prompt to match your email style. Expect data entry to drop from about 30 minutes per order to a few minutes, with far fewer mistakes. Great for suppliers, 3PL teams, and retail operations that track inbound stock from email.