[Check the Tutorial]({{ $env.WEBHOOK_URL }}
Configured with Agent, Gmail, Google Sheets, Html, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Routing
- AI & models
- Data store
- Messaging
- Code
- Transform
- Trigger
- Web / API
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| If | Routing | If | See node parameters |
| OpenAI Chat Model3 | AI & models | OpenAI Chat Model | See node parameters |
| Agent Classification | AI & models | Agent | See node parameters |
| Get Sustainability News | Data store | Google Sheets | See node parameters |
| Send to your mailing list | Messaging | Gmail | See node parameters |
| Generate Email HTML | Code | Code | See node parameters |
| Parse Article Blocks | Transform | Html | extractHtmlContent |
| Extract Articles Blocks | Transform | Html | extractHtmlContent |
| Trigger at 08:30 am | Trigger | Schedule Trigger | See node parameters |
| Query EU News Website | Web / API | HTTP Request | See node parameters |
| Split Out by Article Block | Transform | Split Out | See node parameters |
| Loop Over Articles | Routing | Loop Over Items | See node parameters |
| Sustainability Flag | Transform | Edit Fields | See node parameters |
| Merge Article + Flag | Transform | Merge | See node parameters |
| Record Results | Data store | Google Sheets | append |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
1. Workflow Trigger with Cron Job
1. Workflow Trigger with Cron Job
The workflow is triggered every morning at 08:30 am (local time)
How to setup?
- Select the time you want to set it up
4. Generate HTML page and send by email
4. Generate HTML page and send by email
This block collects all the articles of the day to create a prettified HTML page that is sent using the Gmail node.
How to setup?
- Gmail Node: set up your Gmail API credentials [Learn more about the Gmail Trigger Node]
2. Scrapping and Parsing of Articles blocks
2. Scrapping and Parsing of Articles blocks
This starts with the HTTP node collecting HTML code that is parsed to extract Article Titles, Link, Image Cover and Reading time.
How to setup?
Nothing to do
3. Classifiy all the articles (Sustainability: true or false)
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:
- Add your Google Sheet API credentials to access the Google Sheet file
- Select the file using the list, an URL or an ID
- Select the sheet in which you want to record the articles
- Map the fields: sustainability, type, date, title, link, description, image, read time Learn more about the Google Sheet Node
- AI Agent with the Chat Model:
- Add a chat model with the required credentials (Example: Open AI 4o-mini)
[Check the Tutorial](https://www.youtube.com/watch?v=q8VCAUbuat8)
[Check the Tutorial]({{ $env.WEBHOOK_URL }}
[Check the Tutorial]({{ $env.WEBHOOK_URL }}
Purpose and structure
This folder contains the [Check the Tutorial]({{ $env.WEBHOOK_URL }} workflow. Its executable nodes use agent, code, gmail, googleSheets, html, httpRequest, if, lmChatOpenAi, merge, outputParserStructured, scheduleTrigger, set, splitInBatches, splitOut. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Trigger at 08:30 am
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/0883_Splitout_Code_Create_Webhook.json MIT; preserve source notices.