Back to Templates
This workflow automates trend extraction and social media content creation for businesses and marketers. It eliminates manual trend research and content generation by fetching trends, scoring them with AI, and posting tailored content to multiple platforms. Target audience: Social media managers, digital marketers, and businesses aiming to streamline content strategies.
w_organization_social
scope.Import the Workflow:
Configure Credentials:
Fetch Google Trends
node (HTTP Request), use n8n credentials for SerpApi instead of hardcoding the API key.SerpApiKey
and reference it in the node’s query parameter: api_key={{ $credentials.SerpApiKey }}
.Set Up Google Sheets with the following columns (exact column names are case-sensitive)
-Timestamp | Trend | Score | BrandVoice | AudienceMood |
Customize Nodes:
Trend Relevance Scoring
, Generate Social Media Content
): Update the model (e.g., gpt-4o
) and prompt as needed.Post to Twitter/X
, Post to LinkedIn
, etc.): Verify URLs, authentication, and payloads.Prepare Trend Scoring Input
for your desired brand_voice
(e.g., "casual") and audience_mood
(e.g., "curious").Fetch Reddit Trends
to Store Selected Trends
- to score and store trends.Retrieve Latest Trends
to end) to generate and post contentDetailed descriptions are available in the sticky notes within the workflow screenshot above.
Daily Trigger Idea
: Triggers the workflow daily.Set Default Inputs
: Sets default brand_voice
and inputs.Fetch Reddit Trends
: Fetches Reddit posts.Extract Reddit Trends
: Extracts trends from Reddit.Fetch Google Trends
: Fetches Google Trends via SerpApi.Extract Google Trends2
: Processes Google Trends data.Fetch Twitter Mentions
: Fetches Twitter mentions.Translate Tweets to English
: Translates tweets.Fix Tweet Translation Output
: Fixes translation format.Detect Audience Mood
: Detects audience mood.Fix Audience Mood Output
: Fixes mood output format.Analyze News Sentiment
: Analyzes news sentiment.Combine Data (Merge)
: Merges all data sources.Merge Items into Single Item
: Combines data into one item.Combine Trends and UGC
: Combines trends with UGC.Prepare Trend Scoring Input
: Prepares data for scoring.Trend Relevance Scoring
: Scores trends with OpenAI.Parse Trend Scores
: Parses scoring output.Store Selected Trends
: Stores trends in Google Sheets.Retrieve Latest Trends
: Retrieves trends from Google Sheets.Parse Retrieved Trends
: Parses retrieved trends.Select Top Trends
: Selects the top trend.Generate Social Media Content
: Generates platform-specific content.Parse Social Media Content
: Parses generated content.Generate Images
: Generates images for posts (if applicable).Handle Approvals/Rejection before Posting
Post to Instagram
: Posts to Instagram.Post to Facebook
: Posts to Facebook.Post to LinkedIn
: Posts to LinkedIn.Combine Data (Merge)
.Generate Social Media Content
prompt for a different tone (e.g., "humorous").Daily Trigger Idea
to run hourly or weekly.