AI Agents

Analyze social media and generate automated emails

19 nodes 312 152 Automatic trigger
Download

Workflow Description

Automation that analyzes social media posts using AI, extracts key insights, and automatically creates personalized email reports based on performance metrics and sentiment analysis.

How it works

  1. 1.Trigger automation when social media data is updated in Google Sheets
  2. 2.Send data to OpenAI model for content analysis and performance evaluation
  3. 3.Extract and structure insights from AI-generated analysis
  4. 4.Generate email content dynamically based on detected trends and metrics
  5. 5.Send completed reports to designated team members automatically

Use cases

  • Monitor campaign performance on social platforms and deliver weekly performance summaries
  • Analyze audience sentiment and comments, triggering instant alert emails
  • Track viral posts and notify marketing teams of trending opportunities

Requirements

  • OpenAI API key for accessing GPT models
  • Google Sheets document containing social media performance data
  • Email addresses of team members who should receive reports
  • Email service configuration (SMTP or integrated mail provider)

Service Value

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

Apps Used

OpenAI Output Parser LLM Chain Email Send Google Sheets

Details

Trigger Automatic trigger
Nodes 19
Apps 5
Views 312
Downloads 152

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

/

Set your company's variables

Set

#1

Get linkedin Posts

HTTP Request

#2

Get twitter ID

HTTP Request

#3

Get tweets

HTTP Request

#4

Extract and limit Linkedin

Code

#5

Exract and limit X

Code

#6

OpenAI Chat Model

OpenAI

#7

Structured Output Parser

Output Parser Structured

#8

Generate Subject and cover letter based on match

LLM Chain

#9

Send Cover letter and CC me

Email Send

#10

Sticky Note

Sticky Note

#11

Google Sheets Trigger

Google Sheets Trigger

#12

Google Sheets

Google Sheets

#13

If

If

#14

Sticky Note1

Sticky Note

#15

Sticky Note2

Sticky Note

#16

Sticky Note3

Sticky Note

#17

Sticky Note4

Sticky Note

#18

Sticky Note5

Sticky Note

#19