Block 1 - OpenAI Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Target audience Solo creators, PMs, and content teams who queue LinkedIn ideas in Google Sheets and want them posted on a fixed schedule with AI generated copy. How it works The workflow runs on a ...
@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.scheduletrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.linkedin, n8n-nodes-base.googlesheets, n8n-nodes-base.limit, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Snehasish Konger.
Original n8n.io sourceSolo creators, PMs, and content teams who queue LinkedIn ideas in Google Sheets and want them posted on a fixed schedule with AI-generated copy.
The workflow runs on a schedule (Mon/Wed/Fri at 09:30). It pulls the first Google Sheet row with Status = Pending, generates a LinkedIn-ready post from Post title using an OpenAI prompt, publishes to your LinkedIn profile, then updates the same row to Done and writes the final post back to the sheet.
Minimum required columns
id — unique integer/string used to update the same row laterStatus — allowed values: Pending or DonePost title — short prompt/topic for the AI modelRecommended columns
Output post — where the workflow writes the final text (use this header, or keep your existing Column 5)Hashtags (optional) — comma-separated list (the prompt can append these)Image URL (optional) — public URL; add an extra LinkedIn “Create Post” input if you post with media laterNotes (optional) — extra hints for tone, audience, or CTAExample header row
id | Status | Post title | Hashtags | Image URL | Output post | Notes
Example rows (inputs → outputs)
1 | Pending | Why I moved from Zapier to n8n | #automation,#nocode | | | Focus on cost + flexibility
2 | Done | 5 lessons from building a rules engine | #product,#backend | | This is the final posted text... |
Resulting Output post (for row 1 after publish)
I switched from Zapier to n8n for three reasons: control, flexibility, and cost.
Here’s what changed in my stack and what I’d repeat if I had to do it again.
#automation #nocode
> If your sheet already has a column named Column 5, either rename it to Output post and update the mapping in the final Google Sheets Update node, or keep Column 5 as is and leave the node mapping untouched.
Notes/Hashtags) as input. The agent returns JSON with a post field. Model set to gpt-4o-mini by default.{{$json.output.post}} to the configured person (your profile URN).id, sets Status = Done, and writes the generated text into Output post (or your existing output column).Hashtags column in the prompt so the model appends them cleanly.Image URL (requires LinkedIn media upload endpoints).No post created
Status = Pending?Sheet not updating
id. If you changed field names, remap them.id values are unique.LinkedIn errors (403/401/404)
Rate limit (429) or model errors
Post too long or broken formatting
Timezone mismatch
Need to post at a different cadence, or push two posts per day? Tweak the Schedule and Limit nodes and you’re set.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Auto-generate & schedule LinkedIn posts from Google Sheets with GPT-4o |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Social Media, Multimodal AI |
| Author | Snehasish Konger |
| Published | 06 Sept 2025 |
Use the JSON export at /data/workflows/8332/8332.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Target audience Solo creators, PMs, and content teams who queue LinkedIn ideas in Google Sheets and want them posted on a fixed schedule with AI generated copy. How it works The workflow runs on a ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media, Multimodal AI use case.