Handle inbound emails without manual typing. New emails trigger an AI reply and save the full exchange into Google Sheets. A feedback link lets people rate the reply, so you can learn and improve over time.
The flow starts with Gmail receiving a message. It parses the body, checks token limits, and uses OpenAI to draft a reply with a size cap. The reply goes back through Gmail with a feedback link that calls an n8n webhook and shows a thank you page. All details are logged to Google Sheets, including the email, the AI response, a unique ID, and any feedback. If a sheet does not exist, it creates one and stores its ID so future runs update the same sheet.
Setup is simple. Connect Gmail, Google Sheets, and OpenAI in n8n. Pick who should get replies with the recipients setting. You can leave the sheet fields empty for a first run to auto create the sheet, then store the IDs for future runs. Expect faster response times, a clean record of every exchange, and quick feedback you can use to tune messages for support teams and inbox managers.