Hi @Davieboy
Good questions.
We would need a better sense of the GForm that is being filled out.
We would need a better sense of the HTML email template format that you are trying to parse. (screenshots)
I’d recommend using Airtable instead of GSheets.
Airtable has Form Views that may be able to replace GForms, and email parsing.
Airtable has the ability to share Views externally to let others sort/filter the data, which could be used to let people self-serve their lookups.
With Airtable you can have Tables that are linked. (Order, Items, Products)
Airtable Zap actions allows you to create multiple records in 1 action, which could replace the need for looping. (may not be needed)
You can configure the lookup logic via Airtable Automations to link records.
Airtable Automations have a native integration with Gmail, that could be used to send an email.
If trying to use GSheets, then check out these Zap apps...
Looping: https://zapier.com/apps/looping/help
Delay: https://zapier.com/apps/delay/help
Digest: https://zapier.com/apps/digest/help
Hi Troy,
Thank you for your previous response. I have a specific workflow in mind and I'm wondering if you could assist me with setting it up in Zapier.
The process is as follows:
- Input: Receiving RFQs via Gmail.
- AI Detection: Using AI to parse the RFQ request within the email body or attachments.
- Item and Quantity Detection: AI identification of requested items and their quantities.
- Lookup in Database: Conducting a lookup in a SQL Express database for item details.
- RFQ Response Email Preparation: Creating a draft email response to the RFQ.
- Gmail Draft: Saving the response as a draft in Gmail.
- Notifications: Implementing a notification mechanism for the process.
The input will be:
- Email with RFQ included in the email body
Example
Subject: RFQ for Immediate Requirements
Dear rSupplier Name],
Please provide us with a quote for the following items:
- 3x ZB4BC54
- 2x ZB4BD57
- 5x ZCE65
Looking forward to your prompt response.
Best regards,
pYour Name] ]Your Company]
- Email with RFQ included in the attachment (Excel.)
For clarity, here's a snapshot of the SQL database format where the lookup will occur:
- RegCis: The unique item code.
- PriceX: The unit price of the item.
- ETA: Estimated time of arrival or availability (expressed in days).
For the Zapier setup, we'll be using the "RegCis" column to look up the corresponding "PriceX" and "ETA" for each item identified by the AI in the RFQs received via Gmail. Here's a sample of the data structure in the database:
RegCis | PriceX | ETA |
---|
ZB4BA8112 | NULL | 0 |
ZB4BA8134 | NULL | 0 |
ZB4BC54 | 8.56000 | 12 |
ZB4BD57 | 7.15000 | 0 |
ZCE65 | 12.64000 | 7 |
... | ... | ... |
Could you guide me on how to configure Zapier to automate this process, particularly focusing on the AI detection and SQL database lookup steps?
Best regards, David
@Davieboy
ChatGPT can be used as an email parser.
You may have to split the workflow up into dependent Zaps.
Zap 1: Parse email for add line items and do lookup
Zap 2: Create email draft
I’d recommend using Airtable instead of GSheets.
Airtable has Form Views that may be able to replace GForms, and email parsing.
Airtable has the ability to share Views externally to let others sort/filter the data, which could be used to let people self-serve their lookups.
With Airtable you can have Tables that are linked. (Order, Items, Products)
Airtable Zap actions allows you to create multiple records in 1 action, which could replace the need for looping. (may not be needed)
You can configure the lookup logic via Airtable Automations to link records.
Airtable Automations have a native integration with Gmail, that could be used to send an email.