{"product_id":"n8n-form-workflow-generate-linkedin-posts-with-gpt-4-1","title":"n8n Form Workflow: Generate LinkedIn Posts with GPT-4.1","description":"\u003ch3\u003eGenerate polished LinkedIn posts from an n8n Form—instantly\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n Form Workflow\u003c\/strong\u003e takes a topic you submit through an \u003cstrong\u003en8n Form\u003c\/strong\u003e, then uses \u003cstrong\u003eOpenAI GPT-4.1-mini\u003c\/strong\u003e to generate a \u003cstrong\u003eready-to-post LinkedIn post\u003c\/strong\u003e in your chosen tone, language, and audience—returning the final cleaned text directly in the form response.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects inputs via n8n Form:\u003c\/strong\u003e requires a \u003cem\u003etopic\u003c\/em\u003e, with optional \u003cem\u003etone\u003c\/em\u003e, \u003cem\u003elanguage\u003c\/em\u003e, and \u003cem\u003eaudience\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a structured briefing:\u003c\/strong\u003e builds a detailed prompt from your form inputs, applying defaults (e.g., English if language isn’t provided).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a LinkedIn draft using an AI agent:\u003c\/strong\u003e sends the briefing to an \u003cstrong\u003eOpenAI Chat Model\u003c\/strong\u003e via a \u003cstrong\u003eLangChain agent\u003c\/strong\u003e to write a \u003cstrong\u003e120–220 word\u003c\/strong\u003e LinkedIn post following strict style rules and ending with \u003cstrong\u003eexactly one question\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans and formats the output:\u003c\/strong\u003e removes wrapping quotes or markdown code fences and calculates basic stats like word and character counts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the post text:\u003c\/strong\u003e outputs the final post text directly as the \u003cstrong\u003eform response\u003c\/strong\u003e so it’s copy-and-paste ready for LinkedIn.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomation engineers submit a feature idea and instantly receive a LinkedIn post describing it.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators generate thought-leadership drafts tailored to a specific audience (e.g., founders, product teams, DevOps).\u003c\/li\u003e\n  \u003cli\u003eTeams standardize their posting style by using consistent tone and language options through the same n8n Form.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ stack:\u003c\/strong\u003e code, form, sticky note, form trigger, \u003cstrong\u003en8nn8n-nodes-langchainagent\u003c\/strong\u003e, \u003cstrong\u003en8nn8n-nodes-langchainlm chat open ai\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI model:\u003c\/strong\u003e \u003cstrong\u003eOpenAI GPT-4.1-mini\u003c\/strong\u003e (or another chat model you prefer).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e add your OpenAI API credentials to the OpenAI Chat Model node, activate the workflow, then use the Form trigger’s production URL.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46001845141683,"sku":"N8N-19474","price":58.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/9W9OK8Ekf5d7W0BwCobP5_gwIBpfhN.png?v=1789117507","url":"https:\/\/buyflowscripts.com\/products\/n8n-form-workflow-generate-linkedin-posts-with-gpt-4-1","provider":"N8N Commerce","version":"1.0","type":"link"}