🔬 🌳 EU green legislation tracker with GPT-4o, Google Sheets and Tasks

1,476 views · 🔬 Document Extraction & Analysis

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Tags: EU Legislation, Sustainability, Automation, Web Scraping, OpenAI, Google Sheets, Policy Monitoring, Climate

Context

Hey! I’m Samir, a Supply Chain Engineer and Data Scientist from Paris, and the founder of LogiGreen Consulting.

We use AI, automation, and data to support sustainable business practices for small, medium and large companies.

This workflow is part of our broader initiative to monitor and act on sustainability legislation in Europe.

Legislative Observatory

> How do you know if new EU laws will impact your business’s sustainability goals?

This n8n workflow automatically scrapes the EU Parliament’s legislative portal to find and flag procedures related to environmental sustainability.

📬 For business inquiries, feel free to connect with me on LinkedIn

Who is this template for?

This workflow is useful for:

What does it do?

This n8n workflow:

  1. 🌐 Scrapes the EU Parliament legislative portal for yesterday’s entries
  2. 🧠 Uses OpenAI to classify if each procedure is related to sustainability
  3. 🗂️ Filters out irrelevant items
  4. 📊 Saves the results in a Google Sheet
  5. ✅ Creates a Google Task for each relevant file to review the legislation

How it works

EU Legislation Workflow

  1. Trigger manually or on schedule
  2. Scrape HTML blocks for scheduled debates
  3. Parse each procedure to extract Title, Committee, Rapporteur, PDF link
  4. Call GPT-4-turbo to check if the topic matches sustainability criteria
  5. Filter responses based on “yes” or “no”
  6. Store valid items into Google Sheets
  7. Generate tasks in Google Tasks

The AI only flags procedures that directly impact the environment, circular economy, or pollution control.

What do I need to get started?

You’ll need:

Follow the Guide!

Follow the sticky notes in the workflow or check my tutorial to configure each node and start using AI to monitor sustainability regulations in Europe.

YouTube Tutorial

🎥 Watch My Tutorial

Notes

This workflow was built using n8n version 1.85.4
Submitted: April 21, 2025

🔗 Nodes Used

Google Sheets, HTTP Request, Google Tasks, OpenAI

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup