{"product_id":"n8n-workflow-groq-ai-linkedin-posts-telegram-alerts","title":"n8n Workflow: Groq AI LinkedIn Posts + Telegram Alerts","description":"\u003ch3\u003eAutomate Groq-powered LinkedIn posts—with Telegram alerts on every failure\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow creates an AI-written LinkedIn post about business automation and AI using Groq, audits and optimizes it through multiple review passes, validates the final output, then publishes to LinkedIn. If anything fails (validation or execution), it sends a detailed Telegram notification.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a schedule (or manually)\u003c\/strong\u003e to start the post creation process.\u003c\/li\u003e\n  \u003cli\u003eUses \u003cstrong\u003eGroq via LangChain agents\u003c\/strong\u003e to generate a LinkedIn post following defined structure, length, emoji, and tone requirements.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAudits the generated post with Groq\u003c\/strong\u003e, scores it against specific LinkedIn criteria, and parses the resulting \u003cem\u003eaudit JSON\u003c\/em\u003e for downstream steps.\u003c\/li\u003e\n  \u003cli\u003ePerforms a \u003cstrong\u003emarketing evaluation\u003c\/strong\u003e and then optimizes the content with Groq to produce a final JSON payload (including \u003cstrong\u003ehook\u003c\/strong\u003e, \u003cstrong\u003eCTA\u003c\/strong\u003e, and optimized post text).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates\u003c\/strong\u003e the optimizer’s JSON, quality score, required formatting (including \u003cstrong\u003eminimum length\u003c\/strong\u003e and a \u003cstrong\u003efinal question\u003c\/strong\u003e), and only then publishes to \u003cstrong\u003eLinkedIn\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIf validation fails, it \u003cstrong\u003esends a Telegram message\u003c\/strong\u003e with the failure reason, waits \u003cstrong\u003e1 minute\u003c\/strong\u003e, then runs a second generation→audit→marketing→optimization→validation pass before retrying LinkedIn publishing.\u003c\/li\u003e\n  \u003cli\u003eIf the workflow hits an \u003cstrong\u003eexecution error\u003c\/strong\u003e at any point, it immediately notifies you in \u003cstrong\u003eTelegram\u003c\/strong\u003e with the error details.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eFor SaaS operators who want consistent \u003cstrong\u003eLinkedIn automation\u003c\/strong\u003e without manual writing.\u003c\/li\u003e\n  \u003cli\u003eFor automation engineers building AI content pipelines with \u003cstrong\u003eGroq\u003c\/strong\u003e quality controls.\u003c\/li\u003e\n  \u003cli\u003eFor teams that need \u003cstrong\u003efallback attempts\u003c\/strong\u003e and real-time monitoring via Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/Nodes:\u003c\/strong\u003e Groq (via LangChain agents), \u003cstrong\u003eLinkedIn\u003c\/strong\u003e, \u003cstrong\u003eTelegram\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e, \u003ccode\u003elinked in\u003c\/code\u003e, \u003ccode\u003etelegram\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e add a Groq credential and ensure each Groq Chat Model node targets an available Groq model; add LinkedIn credentials and confirm target LinkedIn permissions.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45916302803123,"sku":"N8N-18780","price":43.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/p-Qq-jeKe4ZhTh7J0Km88_fcvpwUKC.png?v=1788019594","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-groq-ai-linkedin-posts-telegram-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}