Scheduled trigger
The workflow runs on a scheduled trigger every hour to check for new purchase request emails.
About this template
Automatically process PDF purchase requests from email, extract SKUs using AI, analyze historical purchase orders in Zoho Books to recommend the best vendor for each item, and notify the procurement team via Microsoft Teams.
Key benefits
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.
No triggers for Gmail.
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 runs on a scheduled trigger every hour to check for new purchase request emails.
Searches Gmail for unread emails with subject containing 'Purchase Request' that have attachments.
Checks if a matching email was found by verifying the existence of the email ID.
Retrieves the full email message details and downloads the PDF attachment from the purchase request email.
A Base64 Decode node converts the PDF attachment data into readable text for AI processing.
OpenAI (GPT-4o-mini) acts as a purchase professional to identify and extract SKUs and their quantities from the decoded PDF text, returning a structured JSON list of valid SKUs with quantities greater than zero.
A JSON Converter parses the AI response, and a Splitter node separates the list into individual SKU records for processing.
Looks up each SKU in Zoho Books to find the matching item and retrieve item details.
Searches Zoho Books for existing purchase orders associated with each item to build a history of vendor pricing and delivery data.
Checks if any purchase orders exist for the item by verifying the existence of a purchase order ID.
A Splitter node separates individual purchase orders, and an Aggregator compiles a collection of all purchase order data including delivery dates and item prices for analysis.
OpenAI (GPT-4.1) analyzes past purchase orders to identify the best vendor for each item based on lowest price offered and fastest delivery time, using the difference between delivery date and order date.
A JSON Converter parses the AI vendor recommendation response, and a Splitter node separates the results for each item.
Sends a message to a Microsoft Teams channel with the recommended vendor for each item, including the item name and SKU.
More than moving data between apps — here is the measurable impact this automation delivers for your team.
01
Leverages OpenAI to analyze historical purchase order data and recommend the best vendor based on lowest price and fastest delivery for each item.
02
Automatically reads PDF purchase requests from email, extracts SKUs and quantities using AI, and processes them without manual data entry.
03
Analyzes past purchase orders from Zoho Books to provide objective vendor recommendations backed by actual pricing and delivery performance.
04
Delivers vendor recommendations directly to a Microsoft Teams channel, enabling procurement teams to act quickly on purchase requests.
05
Eliminates manual vendor research and comparison by automating the entire workflow from email receipt to vendor recommendation.
01
Leverages OpenAI to analyze historical purchase order data and recommend the best vendor based on lowest price and fastest delivery for each item.
02
Automatically reads PDF purchase requests from email, extracts SKUs and quantities using AI, and processes them without manual data entry.
03
Analyzes past purchase orders from Zoho Books to provide objective vendor recommendations backed by actual pricing and delivery performance.
04
Delivers vendor recommendations directly to a Microsoft Teams channel, enabling procurement teams to act quickly on purchase requests.
05
Eliminates manual vendor research and comparison by automating the entire workflow from email receipt to vendor recommendation.
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.