
Curated by n8n Markets team
Last updated: July 18, 2026
The AI-Powered Social Media Content Generator & Publisher is an all-in-one automation workflow designed to supercharge your content creation and distribution pipeline using Google Gemini AI and n8n. Instead of spending hours writing platform-specific copy, formatting posts, and manually publishing across multiple networks, this workflow streamlines the entire process into a single user-friendly form submission. Simply input your post topic, target keywords, tone of voice, target audience, optional link, and image—and let the AI handle the rest. Google Gemini AI analyzes your inputs and generates highly tailored, platform-optimized copy adhering to best practices for LinkedIn (professional, engaging hooks), Instagram (visual storytelling, 20-30 trending hashtags), Facebook (conversational, community-driven), and Twitter/X (punchy, within 280 characters). It also automatically produces SEO-friendly titles and meta descriptions. For image posts, the workflow includes automated image standardization and seamless hosting via imgbb.com, generating public URLs instantly compatible with Instagram and Facebook Graph APIs. Once processed, the workflow simultaneously publishes your content across all selected platforms and presents a final confirmation page containing published URLs, hashtag summaries, and tracking details.
To run this workflow, you will need the following accounts and API credentials: 1. Google Gemini AI: Free or paid API key from Google AI Studio (`aistudio.google.com`). 2. imgbb.com Account: Free API key for automated image hosting (`api.imgbb.com`). 3. LinkedIn OAuth2 Credentials: LinkedIn Developer account with `w_member_social` and `r_liteprofile` scopes. 4. Facebook & Instagram Graph API Credentials: - Facebook Page Access Token with `pages_manage_posts` and `instagram_basic`, `instagram_content_publish` permissions. - An Instagram Business or Creator account connected to your Facebook Page. 5. Twitter / X API Credentials: Twitter Developer account with OAuth2 access and elevated/write permissions.
Installation: 1. Download the `AI_Social_Media_Publisher.json` file. 2. In your n8n instance, click the `+` icon to add a new workflow, click the three dots menu in the top right, and select Import from File. 3. Select the JSON file to load the complete workflow onto your canvas. Configuration Step-by-Step: 1. Google Gemini AI: Open the `Google Gemini Chat Model` node and select or create your Google Gemini API credentials. 2. imgbb API: Open the `Upload Image to imgbb.com` node and replace `YOUR_IMGBB_API_KEY` in the query parameters with your actual imgbb API key. 3. LinkedIn: Open the `Publish to LinkedIn` node and connect your LinkedIn OAuth2 credentials. 4. Facebook & Instagram: - Connect your Facebook Graph API credentials in `Publish to Facebook`, `Image for Instagram`, and `Publish to Instagram` nodes. - Replace `YOUR_FACEBOOK_PAGE_ID` and `YOUR_INSTAGRAM_ACCOUNT_ID` with your actual numeric IDs. 5. Twitter/X: Open the `X` node and attach your Twitter OAuth2 credentials. How to Use: 1. Click Test Workflow or activate the workflow to generate the form URL. 2. Open the form URL in your browser, enter your post details (Topic, Keywords, Tone, Platforms), and click Submit. 3. Upload your post image on the next screen (optional) and click Continue to Publish. 4. The workflow will automatically generate copy, host the image, publish across selected platforms, and display a final summary page with live links.
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!