Generate Japanese Twitter posts with GPT-4, quality control, and Notion

Go to Workflow
1 views
Built by yuta tokumitsu yuta tokumitsu
Created on January 26, 2026

Description

AI-Powered Japanese Social Media Content Generator with Quality Control

🎯 Who's it for

Marketing teams and social media managers in Japan who want to automate content creation while maintaining high quality standards and cultural appropriateness. Perfect for businesses that need consistent Japanese-language social media presence with built-in compliance checks.

📝 What it does

This workflow creates an intelligent content generation system that:

Generates culturally-aware Japanese Twitter posts using GPT-4
Automatically scores content quality across 5 dimensions (engagement, SEO, brand voice, readability, CTA)
Performs sentiment analysis and risk detection for controversial topics
Routes content intelligently: auto-posts high-quality/low-risk content, flags medium-risk content for approval, and rejects high-risk content
Includes an auto-improvement loop that refines content up to 3 times if quality scores are below 70
Provides weekly performance analytics and recommendations

🔧 How it works

Daily Content Generation Flow:
Schedule trigger runs weekday mornings at 9 AM
Fetches Japanese cultural context (seasons, holidays, business events)
Analyzes brand voice from past 30 days of posts
Generates 3 Twitter post variations with GPT-4
Each post is scored on quality metrics (100-point scale)
Low-scoring content enters auto-improvement loop
Risk analysis checks for controversy, cultural sensitivity, and sentiment
Decision routing: auto-approve and post OR send for manual approval OR reject

Approval Workflow:
Pending posts trigger approval emails
Webhook receives approval/rejection/edit actions
Approved posts are published to Twitter and archived in Notion

Weekly Analytics:
Monday morning trigger analyzes past week's performance
GPT-4 generates insights report with best practices
Email sent to team with recommendations

⚙️ Requirements

APIs & Credentials:
OpenAI API (GPT-4 access)
Twitter API v2 with OAuth 2.0
Notion API (database for content storage)
Email sending service (SMTP or SendGrid)

Setup:
Create a Notion database with columns: Content, Hashtags, Quality Score, Risk Level, Status, Engagement
Configure OpenAI API credentials with HTTP Header Auth
Set up Twitter OAuth 2.0 credentials
Configure email service for approval notifications

🎨 How to customize

Adjust Quality Thresholds:
Modify the quality scoring criteria in "AI Quality Scoring" node
Change auto-approval threshold (currently 70+ points)

Content Generation:
Edit GPT-4 prompts in "Generate Content with GPT-4" node to match your brand tone
Adjust temperature settings for more/less creative content
Modify the number of posts generated per run

Risk Detection:
Customize risk factors in "Sentiment & Risk Analysis" node
Add industry-specific compliance checks

Brand Voice Learning:
Adjust the lookback period in "Get Past 30 Days Posts" (currently 30 days)
Modify brand voice analysis logic in "Analyze Brand Voice" node

Scheduling:
Change cron expressions for daily content generation and weekly reports
Add additional triggers for special campaigns

⚠️ Important Notes

This workflow uses Japanese language prompts - modify system prompts if using for other languages
Ensure compliance with Twitter's API rate limits and automation policies
Review auto-posted content regularly to validate AI quality assessments
The workflow stores all generated content in Notion for audit trails

This workflow was created by yuta tokumitsu and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (4)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
Notion
n8n-nodes-base.notion
Send Email
n8n-nodes-base.emailSend