Templates / Plan and publish LinkedIn posts from Google Sheets with OpenRouter and Telegram

Plan and publish LinkedIn posts from Google Sheets with OpenRouter and Telegram

Unknown

by Khairul Muhtadin ✓ · 12 views · created 2026-09-05 · Social Media, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (15)

Google SheetsTelegramBasic LLM ChainOpenRouter Chat ModelStructured Output ParserOpenAI

What it does

Publish LinkedIn posts on autopilot. This workflow runs daily at 09:00, reads your Google Sheets content calendar, drafts post copy with OpenRouter, generates a black-and-white image with OpenAI, and publishes to LinkedIn while keeping your manager in the loop over Telegram. Last updated: September 2026. Quick Overview This workflow runs daily to publish scheduled LinkedIn posts from a Google Sheets content calendar, drafting copy with OpenRouter and generating an image with OpenAI before publishing via upload-post, while sending approval requests, failure alerts, and a daily digest to Telegram. How it works 1. Runs every day at 09:00 (cron) and reads rows from a Google Sheets post calendar. 2. Filters the sheet for rows that are Approved, scheduled for today, and not already Published, and processes each due post one at a time. 3. Loads brand guidelines from a separate Google Sheets tab and uses OpenRouter (with a fallback model) to draft LinkedIn post copy in a structured JSON format. 4. Uses OpenAI to generate a black-and-white post image based on the drafted copy, uploads it to imgbb, and then hosts the photo for LinkedIn using the upload-post API. 5. Publishes the post to LinkedIn via upload-post, marking the row as Published in Google Sheets on success. 6. If publishing returns an error, sends an admin alert to Telegram and updates the Google Sheets row status to Error. 7. Sends Telegram messages to request manager review for rows marked pendingreview and posts a daily Telegram digest with the number of published posts. Setup 1. Connect credentials for Google Sheets, OpenRouter, OpenAI, Telegram, imgbb (HTTP query auth), upload-post, and SMTP email. 2. Update the Google Sheets document and sheet/tab URLs for both the post calendar and the brand guide to point to your own spreadsheets. 3. Ensure your calendar sheet includes columns like id, Date Scheduled (dd/MM/yyyy), Topic, and Status, and use Status values Approved, pendingreview, Published, and Error. 4. Set the environment variables MANAGERTELEGRAMCHATID, ADMINTELEGRAMCHATID, and ALERTEMAIL used by the Telegram and email alert steps. 5. Verify the upload-post request parameters (user, visibility, and LinkedIn platform) and the imgbb upload settings match your accounts and desired publishing behavior. Quick Answers When does the workflow publish posts? Every day at 09:00 it reads the calendar and publishes rows that are Approved, scheduled for today, and not already Published. How does manager approval work? Rows marked pendingreview trigger a Telegram message asking the manager to review before publishing. What happens if publishing fails? An admin alert is sent to Telegram and the Google Sheets row status is updated to Error. Additional info Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.