LinkedIn post and image with Gemini
A form topic becomes a LinkedIn post with an AI image. This n8n template writes and publishes a LinkedIn post with an image from one topic. A form named On Form Submission collects the topic. An AI agent with a Google Gemini chat model writes the post copy and an image prompt. An external text-to-image service, gen-imager, draws the picture, which the workflow decodes from base64 and uploads to LinkedIn with the text. It suits marketers, content creators and businesses that post on LinkedIn. You import it into your own n8n instance and connect Gemini, the image API and LinkedIn with OAuth2.
Steps
- Trigger: Triggern8n Form
On Form Submission: a user submits a topic. - Data mapping
- AI content generationGoogle Gemini
Post copy and an image prompt. - Image creationgen-imager API
gen-imager API; the image is decoded from base64. - Output: Post creationLinkedIn
Text and image published to LinkedIn.
Limits
- Publishes to LinkedIn with no approval step.
- Needs an account with an external image API (gen-imager) in addition to Gemini.
What it does well
- One topic gives both the post text and a matching image.
Before you import
Accounts to connect: Google Gemini API credentials; gen-imager API; LinkedIn OAuth2 credentials.
Similar templates
Daily LinkedIn posts with OpenAI
Also for content and social, 5 steps.
RSS newsletter drafts in Gmail
Also for content and social, 4 steps.
Social posts approved in Slack
Also for content and social, 9 steps.
Google Gemini and n8n Form: 5 templates compared
Same two apps, different steps.
Google Gemini and LinkedIn: 2 templates compared
Same two apps, different steps.
LinkedIn and n8n Form: 2 templates compared
Same two apps, different steps.