Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Summarize school circular emails with Gmail, Gemini, and Google Sheets

When a new email arrives, it reads and extracts data from documents with Google Gemini using Gmail, Google Sheets.

What it does

## How it works This workflow automatically captures school circular emails from Gmail, normalizes the message details, and checks whether the email contains a document attachment for processing. If a PDF is present, it extracts the text and evaluates whether the content is readable enough or may require fallback handling. The workflow then prepares one final text source, generates a duplicate key, and checks Google Sheets to prevent repeated processing of the same circular. For new circulars, Gemini extracts structured information such as title, school name, dates, fees, required actions, and digest text. Finally, the workflow logs the processed circular in Google Sheets and sends a clean parent summary email automatically. This creates a simple and scalable system for converting long circulars into actionable parent updates without manual review. ## Setup Steps 1. Connect Gmail credentials and configure the Gmail trigger to watch the school circular label. 2. Connect the Gmail action node so attachments can be downloaded from the triggered email. 3. Connect Google Sheets credentials and set up the sheet for duplicate checks and circular logging. 4. Configure the PDF extraction and fallback logic so unreadable files do not break the workflow. 5. Connect the Gemini node and paste the structured extraction prompt for circular data summarization. 6. Update the parent recipient email in the final Gmail send node and test the digest format. 7. Rename the nodes and place sticky notes section by section to keep the workflow easy to understand and maintain.

The steps

  1. School Email Trigger
  2. Standardize Email Metadata
  3. Check for Circular Attachment
  4. Fetch Email Attachment Content
  5. Extract Circular PDF Text
  6. Check OCR Requirement
  7. Prepare OCR Fallback Content
  8. Assemble Final Circular Text
  9. Generate Circular Duplicate Key
  10. Search Existing Circular Log
  11. Check Duplicate Status
  12. Extract Structured Circular Details
  13. Parse Structured AI Output
  14. Store Circular Record in Google Sheets

15 steps in total.

Similar automations