My workflow 2
Configured with Google Sheets, HTTP Request, Schedule Trigger, Loop Over Items, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Web / API
- Data store
- Routing
- Code
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 |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| XML | Transform | Xml | See node parameters |
| GoogleTrends | Web / API | HTTP Request | See node parameters |
| CONFIG | Transform | Edit Fields | See node parameters |
| Get saved keywords | Data store | Google Sheets | See node parameters |
| Loop Over Items | Routing | Loop Over Items | See node parameters |
| Mapping | Transform | Edit Fields | See node parameters |
| Google Sheets | Data store | Google Sheets | append |
| New keywords | Code | Code | See node parameters |
| content1 | Web / API | HTTP Request | See node parameters |
| content2 | Web / API | HTTP Request | See node parameters |
| content3 | Web / API | HTTP Request | See node parameters |
| Start every hour past 11 minutes | Trigger | Schedule Trigger | See node parameters |
| If we have scraped min 1 url -> Save | Routing | If | See node parameters |
| All scraping node failed. Don't save record without summary | Routing | No Op | 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
googleSheetsOAuth2Api
Workflow notes
Cron trigger
Cron trigger
Google Trends update the RSS feed every 10 minutes. This will start wordflow 1 minute after.
CONFIGURATION
CONFIGURATION
min_traffic is a numeric value. Google Trend RSS has an approx traffic value 100, 200, 500, 1000 etc.
max_result is a numeric value used to limit max rss to scrape
jina_key is the jina.ai API key
Google Sheet Database
Google Sheet Database
This is main sheet where all your Editorial plan will be saved.
The column status value could be a trigger for other automations
Google Trends request
Google Trends request
We get last kwyword in trend. Every item has a main keyword and 3 URL. We will use those url to scrape content and generate a combined summary
Simple conversion
Simple conversion
Converts XML RSS into a more readable json object
Building dataset
Building dataset
Here we limits results, filter by mmin traffic and we flat the RSS structure to adapt to Google Sheet, fields are renamed as per description.
Then RSS result and Google Sheet is compared, if a new keyword is found we have result. If RSS give a keyword already srtored, this node doesn't give any output.
Data mapping
Data mapping
Here you have all fields needed in Google Sheet.
While done, the content of 3 website linked in Google Trends RSS will be merged in a single Summary field
Data check
Data check
Sometimes scraping HTML content fails (for some reasons), that's normal but this should avoid to save a zero content if all 3 scraping nodes will fail
Scraping
Scraping
Here jina.ai will get text content from 3 Google Trends URLs
My workflow 2
My workflow 2
Purpose and structure
This folder contains the My workflow 2 workflow. Its executable nodes use code, googleSheets, httpRequest, if, manualTrigger, noOp, scheduleTrigger, set, splitInBatches, xml. 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
When clicking ‘Test workflow’, Start every hour past 11 minutes
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/Code/1446_Code_Schedule_Automate_Scheduled.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Saving output