πŸ“± Festival social media automation with Gemini AI for X/Twitter & Facebook

⚑ 1,348 views Β· πŸ“± Social Media & Email Marketing

πŸ’‘ Pro Tip β€” Twitter’s API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.

View All Scrapers

Description

πŸŽ‰ Festival Social Media Automation with Gemini AI for X/Twitter & Facebook

Transform your festival marketing with this comprehensive automation workflow that creates and posts culturally authentic social media content across multiple platforms daily.

βš™οΈ What this workflow does

This workflow automatically:

✨ Key Features

🎯 Intelligent Content Generation

🎨 Visual Content Creation

πŸ“² Multi-Platform Publishing

⏰ Fully Automated

πŸ“± Apps and Integrations

πŸ› οΈπŸ•ŠοΈ Setup Instructions

1. πŸ“Š Google Sheets Configuration

  1. Create a Google Sheets document with columns: Date, Name of the Festival, Description
  2. Format dates as DD/MM/YYYY
  3. Connect your Google Sheets credential in n8n

2. πŸ€– Google Gemini API Setup

  1. Obtain a Google AI Studio API key from Google AI Studio
  2. Configure the Google Gemini credential in n8n
  3. Ensure you have access to Gemini 2.0 Flash Preview

3. πŸ•ŠοΈX (Twitter) Credentials Setup

Important: Due to X API limitations, you’ll need TWO separate OAuth2 credentials: X API

For Image Upload (Generic OAuth2):

  1. Create a new OAuth2 credential with these settings:
    • Grant Type: PKCE
    • Authorization URL: https://x.com/i/oauth2/authorize
    • Access Token URL: https://api.x.com/2/oauth2/token
    • Scope: media.write offline.access tweet.read users.read
    • Note: Cannot combine media.write with tweet.write in the same credential

For Tweet Posting (X OAuth2):

  1. Use the predefined X OAuth2 credential
  2. Configure with scopes: tweet.write offline.access tweet.read users.read

4. πŸ“˜Facebook Graph API Setup

  1. Create a Facebook App and get your access token from Meta for Developers
  2. Configure the Facebook Graph API credential
  3. Update the node with your Facebook page ID

🎬 How to Use

  1. Populate your Google Sheets with festival data for upcoming dates
  2. Activate the workflow - it will run automatically daily at 8:00 AM
  3. Monitor the execution - check logs for successful posts or any errors
  4. Customize content by modifying the prompt generation logic if needed

πŸ”„ Workflow Components

πŸ”— Data Flow

  1. Daily Trigger β†’ Get Today’s Date β†’ Fetch Festival Data
  2. Generate AI Prompts β†’ Create Image & Content
  3. Process Media β†’ Merge Data β†’ Post to Platforms

πŸ›‘οΈ Error Handling

🎨 Customization Options

✍️ Content Personalization

🌐 Platform Extension

πŸ“Š Data Sources

πŸ’‘ Best Practices

πŸ“ Content Quality

πŸ”‘ API Management

⏰ Scheduling

πŸ”§ Troubleshooting

⚠️ Common Issues

⚑️ Performance Tips

🎯 Use Cases

⭐️ Benefits

πŸ”— Nodes Used

Google Sheets, HTTP Request, Facebook Graph API, X (Formerly Twitter), Schedule Trigger, AI Agent

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup