AI Agents

Notion Automation

85 nodes 199 135 Automatic trigger
Download

Workflow Description

Intelligent automation connecting Notion with web forms and advanced language models (OpenAI and Gemini), processing large data batches intelligently, and automatically publishing results to Twitter/X with structured data parsing and workflow chaining.

How it works

  1. 1.Receive data from web forms or Notion database triggers
  2. 2.Process and analyze content using LLM chains and structured output parsing
  3. 3.Split large datasets into batches and intelligently process each group
  4. 4.Publish optimized content to Twitter/X automatically
  5. 5.Store results and metadata back in Notion for tracking and reference

Use cases

  • Monitor Notion database changes and instantly publish updates to social media
  • Process customer requests from web forms, generate AI-enhanced content automatically
  • Aggregate data from multiple sources, organize in Notion, and create automated analyses and summaries

Requirements

  • Active Notion workspace with database access and page creation permissions
  • API keys for OpenAI and Google Gemini for language model processing
  • Twitter/X account with authenticated API credentials and posting permissions

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Output Parser OpenAI Form Trigger LLM Chain Split In Batches Twitter/X Notion Gemini

Details

Trigger Automatic trigger
Nodes 85
Apps 8
Views 199
Downloads 135

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 (85)

/

Structured Output Parser

Output Parser Structured

#1

Set Variables

Set

#2

OpenAI Chat Model

OpenAI

#3

OpenAI Chat Model1

OpenAI

#4

OpenAI Chat Model2

OpenAI

#5

Structured Output Parser1

Output Parser Structured

#6

On form submission

Form Trigger

#7

Generate SERP Queries

LLM Chain

#8

Structured Output Parser2

Output Parser Structured

#9

OpenAI Chat Model3

OpenAI

#10

Set Initial Query

Set

#11

SERP to Items

Split Out

#12

Item Ref

No Op

#13

Research Goal + Learnings

Set

#14

Accumulate Results

Set

#15

DeepResearch Results

Set

#16

Results to Items

Split Out

#17

Set Next Queries

Set

#18

For Each Query...

Split In Batches

#19

Feedback to Items

Split Out

#20

Ask Clarity Questions

Form

#21

For Each Question...

Split In Batches

#22

DeepResearch Subworkflow

Execute Workflow Trigger

#23

Sticky Note

Sticky Note

#24

Clarifying Questions

LLM Chain

#25

Sticky Note1

Sticky Note

#26

End Form

Form

#27

Initiate DeepResearch

Execute Workflow

#28

Execution Data

Execution Data

#29

JobType Router

Switch

#30

OpenAI Chat Model4

OpenAI

#31

Get Initial Query

Set

#32

Structured Output Parser4

Output Parser Structured

#33

Create Row

Notion

#34

Report Page Generator

LLM Chain

#35

Sticky Note2

Sticky Note

#36

Sticky Note3

Sticky Note

#37

Sticky Note4

Sticky Note

#38

Is Depth Reached?

If

#39

Get Research Results

Set

#40

Get Existing Row

Notion

#41

Set In-Progress

Notion

#42

Set Done

Notion

#43

Tags to Items

Split Out

#44

Convert to HTML

Markdown

#45

HTML to Array

Set

#46

Notion Block Generator

LLM Chain

#47

Google Gemini Chat Model

Gemini Model

#48

Parse JSON blocks

Set

#49

Upload to Notion Page

HTTP Request

#50

Sticky Note5

Sticky Note

#51

Sticky Note6

Sticky Note

#52

Sticky Note7

Sticky Note

#53

Get Existing Row1

Notion

#54

Sticky Note8

Sticky Note

#55

Sticky Note9

Sticky Note

#56

Sticky Note10

Sticky Note

#57

Sticky Note11

Sticky Note

#58

DeepResearch Report

LLM Chain

#59

DeepResearch Learnings

LLM Chain

#60

Generate Report

Execute Workflow

#61

Generate Learnings

Execute Workflow

#62

Confirmation

Form

#63

Research Request

Form

#64

Valid Blocks

Filter

#65

Sticky Note12

Sticky Note

#66

Append Blocks

Merge

#67

URL Sources to Lists

Code

#68

Empty Response

Set

#69

Has Content?

If

#70

Sticky Note13

Sticky Note

#71

Sticky Note14

Sticky Note

#72

Sticky Note15

Sticky Note

#73

Combine & Send back to Loop

Aggregate

#74

For Each Block...

Split In Batches

#75

Sticky Note16

Sticky Note

#76

Sticky Note17

Sticky Note

#77

Sticky Note18

Sticky Note

#78

Sticky Note20

Sticky Note

#79

Valid Results

Filter

#80

RAG Web Browser

HTTP Request

#81

Get Markdown + URL

Set

#82

Is Apify Auth Error?

If

#83

Stop and Error

Stop And Error

#84

Sticky Note19

Sticky Note

#85