Gmail → OpenAI → Zoho Books
Apps Required
Runs the workflow every hour to check for new EDI orders in email.
Searches Gmail for unread emails with subject "EDI Order" and attachments.
Checks if any new EDI order email was found.
Retrieves the full details of the EDI order email.
Downloads the EDI 850 attachment in text format from the email.
Sends the raw EDI 850 document to OpenAI to parse and convert into structured JSON.
Converts the OpenAI response from string to structured JSON fields.
Searches for the customer by name in Zoho Books contacts.
Checks if the customer was found in Zoho Books.
Splits the parsed EDI line items for individual processing.
Searches for each line item by SKU in Zoho Books.
Splits items to validate each one individually.
Checks if each item exists in Zoho Books.
Aggregates all validated line items into a collection.
Merges customer data with validated line items.
Creates a sales order in Zoho Books with the merged customer and line item data.
Sends a notification to Microsoft Teams if the customer does not exist in Zoho Books.
Sends a notification to Microsoft Teams if an item does not exist in Zoho Books.
Sends a notification to Microsoft Teams if no new EDI orders were found in the last hour.
| Modules | Trigger |
|---|---|
| Search mail message |
Eliminates manual parsing and data entry of EDI 850 purchase orders.
1
2
Uses OpenAI to accurately parse complex EDI documents into structured data.
Automatically validates customers and items in Zoho Books before creating orders.
3
4
Sends Microsoft Teams alerts when customers or items are missing in Zoho Books.
From email receipt to sales order creation without human intervention.
5
1
Eliminates manual parsing and data entry of EDI 850 purchase orders.
2
Uses OpenAI to accurately parse complex EDI documents into structured data.
3
Automatically validates customers and items in Zoho Books before creating orders.
4
Sends Microsoft Teams alerts when customers or items are missing in Zoho Books.
5
From email receipt to sales order creation without human intervention.
Common questions about this automation template.
Automate smarter with an AI-native platform designed for the way mid-market businesses really work.