π± Create scheduled LinkedIn thought leadership posts with Google Gemini
β‘ 16 views Β· π± Social Media & Email Marketing
π‘ Pro Tip β If youβre pulling LinkedIn data through HTTP requests or dealing with API restrictions, thereβs a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β you just pass a URL and get structured data back.
Description
Quick overview
This workflow runs every 6 hours to generate a LinkedIn post idea, draft the full post and an accompanying image description with Google Gemini, create relevant hashtags, and then publishes the post content to a LinkedIn profile.
How it works
- Runs every 6 hours on a schedule.
- Uses Google Gemini to generate a structured set of LinkedIn content topics with a title, rationale, and hook.
- Uses Google Gemini to turn the first topic into a complete LinkedIn post draft and a suitable image description.
- Uses Google Gemini to generate a structured list of SEO-friendly hashtags based on the post title and content.
- Merges the generated post content and metadata and publishes the post text to LinkedIn (including a timestamp-based ID).
Setup
- Add a Google Gemini (PaLM) API credential for the Google Gemini chat model nodes.
- Add a LinkedIn OAuth2 credential and confirm the target LinkedIn profile/person ID used for posting.
- Review and adjust the schedule interval (currently every 6 hours) and the prompts/schemas to match your brand and desired output format.
Requirements
- linkedin company page
π Nodes Used
LinkedIn, Schedule Trigger, AI Agent, Basic LLM Chain, Structured Output Parser, Google Gemini Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File