Библиотека / Автоматизация эл. почты
Автоматизация эл. почты
Plan and publish LinkedIn posts from Google Sheets with OpenRouter and Telegram
On a schedule, it handles email with OpenAI / ChatGPT and OpenRouter using SMTP Email, Google Sheets, Telegram, Upload-Post.
Что делает
## 09-05-11 linkedin post planner with ai drafts and approval ### How it works - A daily schedule reads the post calendar sheet and gates rows to Approved, dated today, and not yet Published, so re-runs never double post. - The approval side lane sends rows marked pending_review to a manager on Telegram for a quick approve or reject edit in the sheet. - Each approved row runs through the loop: load the brand guide, draft the post with a primary OpenRouter model plus a structured fallback, parse the output, generate an image, host it, and publish to LinkedIn. - If publishing fails, the row is flagged as Error in the sheet and the admin is alerted on Telegram. Hard workflow errors are emailed to the alert inbox. - After the loop, a Telegram digest reports how many posts went out that day. ### Setup - Point the calendar and brand guide nodes at your own Google Sheet with columns: id, Date Scheduled, Date Created, Topic, Content, Image, Status. - Set Status to Approved and Date Scheduled to dd/MM/yyyy on rows you want published today. - Connect credentials for Google Sheets, OpenRouter, OpenAI, imgbb, upload-post, Telegram, and SMTP email. - Set the environment variables ADMIN_TELEGRAM_CHAT_ID and MANAGER_TELEGRAM_CHAT_ID used by the alert nodes. ### Customization - Adjust the cron expression to change the publish hour, or swap the fallback model inside the Draft Post Copy chain.
Шаги
- Daily Publish Schedule
- Post Calendar
- Ready to Publish
- Approved and Due Today?
- Process Post
- Pending Approval Today?
- Request Approval on Telegram
- Load Brand Guide
- Draft Post Copy
- OpenRouter Primary
- Fallback Model
- Post Structure
- Generate Post Image
- Upload Post Image
Всего шагов: 24.
Похожие автоматизации
Публикации в соцсетяхПубликация самообучающихся каруселей TikTok с Gemini, fal.ai и Upload-PostШагов: 33Изображения, видео и аудиоГенерация изображений FLUX Kontext и публикация через Upload-PostШагов: 18Публикации в соцсетяхПубликация изображений в Instagram и TikTok с Upload-PostШагов: 9ИИ-агенты и ассистентыScrape lawn care job boards and publish LinkedIn posts with Groq, Gemini, and GoogleШагов: 124