Design and Post LinkedIn Content with AI Captions and Custom Templates
This workflow leverages n8n to automate LinkedIn content creation from start to finish. Upload an image and quote through a web form, and get a professionally designed post with AI-generated captions, ready to publish in seconds.
Features Randomly selects from 6 professional design templates for visual variety Converts HTML designs to high-quality images (90-95% JPEG quality) Generates engaging captions using OpenAI's GPT models Built-in caption editor for customization before posting Direct publishing to LinkedIn profiles or company pages Auto-compresses images for optimal LinkedIn upload
Prerequisites N8N Instance: A running n8n instance (cloud or self-hosted) OpenAI API: Active account with API access for caption generation LinkedIn Account: Profile or company page with API access Image Conversion API: HTML CSS to Image account Web Hosting: Platform to host the web form (Netlify, Vercel, or custom server)
Setup Instructions
-
Deploy Web Form Download the provided web form template Host on your preferred platform Copy both webhook URLs from your n8n workflow Update form's webhook endpoints with your n8n URLs
-
Configure Image Conversion
Sign up at htmlcsstoimage.com Get your API credentials (User ID + API Key) Add to HTTP Request node as Basic Auth credentials
-
Connect OpenAI API Create API key at OpenAI Platform In the ChatGPT HTTP Request node, add Header parameter: Key: Authorization Value: Bearer YOUR_API_KEY Recommended model: gpt-4 or gpt-3.5-turbo
-
Authenticate LinkedIn Create LinkedIn OAuth2 credential in n8n Follow the authentication flow and grant required permissions Select the credential in the "Create a post" LinkedIn node Choose post destination (personal profile or company page)
-
Test the Workflow Submit test data through the web form Monitor n8n execution panel for successful completion Verify image generation, caption quality, and LinkedIn posting Adjust settings as needed based on results
Notes Processing time averages 10-20 seconds from upload to preview All 6 design templates are fully responsive and LinkedIn-optimized Caption editor allows full customization before publishing to LinkedIn
For questions or issues, please contact me for consulting and support : Linkedin.
š Test with sample data first. Access Web Form Template
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
š¤ Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments