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

Library / AI Agents & Assistants

AI Agents & Assistants

Classify Gmail articles for sustainability with OpenAI and log to Google Sheets

Runs on a schedule, filters articles by a date scope, uses an OpenAI agent to flag each title and description as sustainability or not, and records flagged items in Google Sheets.

What it does

### 3. Classifiy all the articles (Sustainability: true or false) This starts with the If node that filters based on the scope date fixed by you. Through the loop, the AI Agent classify the articles using the title and description. The ones that are flagged as "sustainability" are recorded in a Google Sheet. #### How to setup? - Record results in the Google Sheet Node: 1. Add your Google Sheet API credentials to access the Google Sheet file 2. Select the file using the list, an URL or an ID 3. Select the sheet in which you want to record the articles 4. Map the fields: sustainability, type, date, title, link, description, image, read time Learn more about the Google Sheet Node*

The steps

  1. If Node
  2. OpenAI Chat Model3
  3. Agent Classification
  4. Get Sustainability News
  5. Send to your mailing list
  6. Generate Email HTML
  7. Parse Article Blocks
  8. Extract Articles Blocks
  9. Trigger at 08:30 am
  10. Query EU News Website
  11. Split Out by Article Block
  12. Loop Over Articles
  13. Sustainability Flag
  14. Merge Article + Flag

16 steps in total.

Similar automations