Developer & DevOps

Process requests with OpenAI and publish to X automatically

63 nodes 306 154 Webhook
Download

Workflow Description

An automation that receives requests via webhook, processes them using OpenAI's advanced language model, extracts key information, and publishes results directly to X (formerly Twitter) with comprehensive logging of all operations.

How it works

  1. 1.Receive the incoming request through webhook and convert it to processable format
  2. 2.Send content to OpenAI for processing using advanced language model
  3. 3.Extract main data points from the response and structure them appropriately
  4. 4.Publish the final result to your X account automatically

Use cases

  • Auto-publish summaries and analysis to X based on external content
  • Automate post creation from text ideas through intelligent processing
  • Process visitor inquiries and convert them into ready-to-publish posts

Requirements

  • Valid OpenAI API key (ChatGPT or other models)
  • Complete X (Twitter) credentials with publishing permissions
  • Basic understanding of webhooks and remote automation triggers

Service Value

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

Apps Used

OpenAI Twitter/X

Details

Trigger Webhook
Nodes 63
Apps 2
Views 306
Downloads 154

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

/

Extract First Url Match

HTML Page

#1

OpenAI Chat Model

OpenAI

#2

Clean Webdriver

HTTP Request

#3

Delete Session

HTTP Request

#4

Delete Session2

HTTP Request

#5

If Block1

If

#6

Delete Session3

HTTP Request

#7

Limit

Limit

#8

Delete Session1

HTTP Request

#9

Delete Session4

HTTP Request

#10

Success with cookie

Webhook

#11

Respond to Webhook2

Webhook

#12

Code

Code

#13

Delete Session5

HTTP Request

#14

Error

Webhook

#15

Error1

Webhook

#16

Error2

Webhook

#17

If

If

#18

Inject Cookie

HTTP Request

#19

Respond to Webhook3

Webhook

#20

Success

Webhook

#21

Go on url

HTTP Request

#22

Delete Session6

HTTP Request

#23

Error3

Webhook

#24

Information Extractor

Information Extractor

#25

Check if empty of NA

If

#26

If Block

If

#27

Google search Query

HTTP Request

#28

Create Selenium Session

HTTP Request

#29

Get ScreenShot 1

HTTP Request

#30

Refresh browser

HTTP Request

#31

Get ScreenShot

HTTP Request

#32

Convert to File

Convert To File

#33

Convert to File1

Convert To File

#34

Delete Session7

HTTP Request

#35

Sticky Note

Sticky Note

#36

Edit Fields (For testing prupose )

Set

#37

Get ScreenShot 2

HTTP Request

#38

Convert to File2

Convert To File

#39

Go on ip-api.com

HTTP Request

#40

Delete Session8

HTTP Request

#41

Sticky Note1

Sticky Note

#42

Sticky Note2

Sticky Note

#43

Error can't find url

Webhook

#44

Sticky Note3

Sticky Note

#45

Resize browser window

HTTP Request

#46

Sticky Note4

Sticky Note

#47

Sticky Note5

Sticky Note

#48

OpenAI

OpenAI

#49

OpenAI1

OpenAI

#50

Information Extractor1

Information Extractor

#51

OpenAI Chat Model1

OpenAI

#52

Information Extractor2

Information Extractor

#53

OpenAI Chat Model2

OpenAI

#54

Sticky Note6

Sticky Note

#55

Webhook

Webhook

#56

If Target Url

If

#57

If1

If

#58

Go on url1

HTTP Request

#59

If2

If

#60

Go on url2

HTTP Request

#61

If3

If

#62

Go on url3

HTTP Request

#63