Developer & DevOps

MongoDB automation

23 nodes 215 118 Automatic trigger
Download

Workflow Description

Advanced automation template that integrates web data extraction and batch processing with MongoDB storage, supporting file operations and custom processing logic through Uproc and JavaScript functions.

How it works

  1. 1.Initialize workflow via manual trigger or HTTP request
  2. 2.Extract and parse data from HTML content using structured patterns
  3. 3.Split processed data into batches for efficient handling
  4. 4.Execute custom processing operations via Uproc and function nodes
  5. 5.Store processed results in MongoDB database
  6. 6.Handle binary files and execute system commands as needed

Use cases

  • Automated web scraping with batch data ingestion into MongoDB
  • Large-scale data transformation and validation pipelines
  • DevOps task automation involving file processing and command execution

Requirements

  • Valid MongoDB connection credentials and database access
  • Accessible HTML content with extractable structured data
  • Basic JavaScript knowledge for custom function implementation

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

HTML Split In Batches MongoDB Uproc

Details

Trigger Automatic trigger
Nodes 23
Apps 4
Views 215
Downloads 118

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (23)

/

On clicking 'execute'

Manual Trigger

#1

HTTP Request

HTTP Request

#2

HTML Extract

HTML Page

#3

SplitInBatches

Split In Batches

#4

HTTP Request1

HTTP Request

#5

HTML Extract1

HTML Page

#6

MongoDB1

Mongo Db

#7

uProc

Uproc

#8

Prepare Documents

Function

#9

More Countries

If

#10

Set Page to Scrape

Function Item

#11

More Pages

If

#12

Set More Pages

Function

#13

Set

Set

#14

Generate filename

Function Item

#15

Read Binary File

Read Binary File

#16

File exists?

If

#17

Write Binary File

Write Binary File

#18

Read Binary File1

Read Binary File

#19

Wait

Function

#20

Prepare countries

Function

#21

Create Directory

Execute Command

#22

MongoDB

Mongo Db

#23