This workflow sends an OpenAI GPT reply when an email is received from specific recipients. It then saves both the initial email and the GPT response to an automatically generated Google spreadsheet. Subsequent GPT responses will be added to the same spreadsheet.
Additionally, when feedback is provided for any of the GPT responses, it will be recorded in the spreadsheet, which can later be used to fine-tune the GPT model.
Prerequisites
How it works
This workflow is essentially a two-in-one workflow, triggered from two different nodes, each serving distinct functions.
The flow triggered from the On email received
node is as follows:
- Triggers when the
On email received
node is activated. - Extract the email body from the received email.
- Generate a response using the
OpenAI
node based on the email content. - Reply to the sender using the
Send reply to recipient
node, including a feedback link in the email body that will trigger theOn feedback given
node for model fine-tuning. - Save the email body and OpenAI response to a Google Sheet. If no sheet exists, it will be created automatically.
The flow triggered from the On feedback given
node is as follows:
- Activates when the feedback link is clicked in the email response.
- Records the feedback (either positive or negative) for the specific GPT response to the Google Sheet.
Other Workflows like this one
Your connected stack awaits to automate AI workflows with 24-7 uptime performance and engagement