Gmail → Zoho Books → Microsoft Teams
Apps Required
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.
| Modules | Trigger |
|---|---|
| No triggers for Gmail | |
Leverages OpenAI to analyze historical purchase order data and recommend the best vendor based on lowest price and fastest delivery for each item.
1
2
Automatically reads PDF purchase requests from email, extracts SKUs and quantities using AI, and processes them without manual data entry.
Analyzes past purchase orders from Zoho Books to provide objective vendor recommendations backed by actual pricing and delivery performance.
3
4
Delivers vendor recommendations directly to a Microsoft Teams channel, enabling procurement teams to act quickly on purchase requests.
Eliminates manual vendor research and comparison by automating the entire workflow from email receipt to vendor recommendation.
5
1
Leverages OpenAI to analyze historical purchase order data and recommend the best vendor based on lowest price and fastest delivery for each item.
2
Automatically reads PDF purchase requests from email, extracts SKUs and quantities using AI, and processes them without manual data entry.
3
Analyzes past purchase orders from Zoho Books to provide objective vendor recommendations backed by actual pricing and delivery performance.
4
Delivers vendor recommendations directly to a Microsoft Teams channel, enabling procurement teams to act quickly on purchase requests.
5
Eliminates manual vendor research and comparison by automating the entire workflow from email receipt to vendor recommendation.
Common questions about this automation template.
Automate smarter with an AI-native platform designed for the way mid-market businesses really work.