Search for unread purchase order emails in Gmail
The workflow searches Gmail for unread emails with subjects containing order, SalesOrder, or Purchase Order that have attachments.
Live webinar · 16 September 2026 · 11:30 AM CT: From Chat to Order: The WhatsApp Sales Agent for SAP Business One Save my Seat
About this template
Automatically process purchase order PDFs from Gmail emails and create sales orders in Zoho Books using AI-powered data extraction.
Key benefits
Inside the flow
appse ai runs this workflow end to end for Gmail — automatically, every single day. Here is exactly what happens when this template runs.
The workflow searches Gmail for unread emails with subjects containing order, SalesOrder, or Purchase Order that have attachments.
Fetches the full email details and downloads the attached purchase order PDF from the matching email.
Decodes the base64-encoded PDF attachment and uses OpenAI to extract structured order data including company name, contact person, email, SKUs, and quantities.
Converts the OpenAI response into structured JSON format for downstream processing.
Searches for the contact in Zoho Books using the email address extracted from the purchase order.
Checks if the contact exists in Zoho Books before proceeding with sales order creation.
Splits the list of SKUs from the purchase order and looks up each item by SKU in Zoho Books.
Checks if each item exists in Zoho Books to ensure only valid items are included in the sales order.
Merges the validated contact information with the validated item data using an inner join.
Creates a new sales order in Zoho Books with the customer details, line items, and quantities extracted from the purchase order PDF.
More than moving data between apps — here is the measurable impact this automation delivers for your team.
01
Eliminates manual data entry by automatically converting purchase order PDFs into sales orders in Zoho Books.
02
Uses OpenAI to accurately extract order details such as company name, contact person, SKUs, and quantities from PDF attachments.
03
Automatically picks up unread emails with purchase order attachments, ensuring no order request is missed.
04
Verifies contact and item existence in Zoho Books before creating sales orders, reducing errors and ensuring data integrity.
01
Eliminates manual data entry by automatically converting purchase order PDFs into sales orders in Zoho Books.
02
Uses OpenAI to accurately extract order details such as company name, contact person, SKUs, and quantities from PDF attachments.
03
Automatically picks up unread emails with purchase order attachments, ensuring no order request is missed.
04
Verifies contact and item existence in Zoho Books before creating sales orders, reducing errors and ensuring data integrity.
Keep exploring
Every repetitive process between your ERP, CRM, and business apps has a template. Find yours, customize it, and go live today.
Customize the flow
Every module in this template is fully customisable. Add triggers, swap actions, or extend the logic using appse ai's no-code visual builder.
Questions & answers
Everything you need to know about this template before you deploy it.
Discover how appse ai has helped businesses automate processes and achieve growth through our users' success stories.
Start free — no credit card, no setup calls required. Use this template as-is or customize every step inside the appse ai no-code builder and go live today.