{"product_id":"daily-ai-email-campaigns-groq-gmail-in-n8n-workflow","title":"Daily AI Email Campaigns: Groq + Gmail in n8n Workflow","description":"\u003ch3\u003eGenerate a daily, AI-written marketing email and send it automatically via Gmail—powered by Groq inside n8n.\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs every day at \u003cstrong\u003e9:00 AM\u003c\/strong\u003e to create a campaign email using \u003cstrong\u003eGroq + LangChain\u003c\/strong\u003e (strict JSON output: campaign type, subject, and body), then delivers the result to your recipients through \u003cstrong\u003eGmail\u003c\/strong\u003e. No manual drafting each morning—just schedule, configure, and go.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScheduled daily execution:\u003c\/strong\u003e Uses a schedule trigger to run at \u003cstrong\u003e9:00 AM\u003c\/strong\u003e (cron can be adjusted).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads campaign settings:\u003c\/strong\u003e Reads your brand, audience, segments, key dates, links, and the recipient list from a configurable \u003cstrong\u003eCampaign Config\u003c\/strong\u003e block.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroq-powered segment selection + email generation:\u003c\/strong\u003e Uses a \u003cstrong\u003eGroq-hosted chat model\u003c\/strong\u003e through a \u003cstrong\u003eLangChain agent\u003c\/strong\u003e to pick the best segment for today and generate the email content as \u003cstrong\u003estrict JSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates and safely handles errors:\u003c\/strong\u003e Parses and validates the JSON output; if malformed, it falls back to safe defaults.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends via Gmail:\u003c\/strong\u003e Sends the generated \u003cstrong\u003esubject\u003c\/strong\u003e and \u003cstrong\u003ebody\u003c\/strong\u003e to your configured recipients.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSend daily promotional emails based on \u003cstrong\u003esegments\u003c\/strong\u003e and \u003cstrong\u003ekey dates\u003c\/strong\u003e (e.g., launches, holidays, reminders).\u003c\/li\u003e\n  \u003cli\u003eMaintain consistent brand voice and campaign structure using a Groq\/LangChain agent-driven output format.\u003c\/li\u003e\n  \u003cli\u003eFor SaaS operators and automation engineers: productionize a repeatable \u003cstrong\u003eAI email campaign workflow in n8n\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ tooling:\u003c\/strong\u003e schedule trigger, set, code, gmail, sticky note, and \u003cstrong\u003en8n-nodes-langchainagent\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003eGroq\u003c\/strong\u003e (chat model via LangChain agent) and \u003cstrong\u003eGmail\u003c\/strong\u003e (OAuth2 send permissions).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup requirements:\u003c\/strong\u003e Groq API credentials, connected Gmail account with send access, and your campaign\/brand data in Campaign Config.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45878611083443,"sku":"N8N-18573","price":5.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/zJimdk6dFquD7h5roKzcP_fU01QnF9.png?v=1787389352","url":"https:\/\/buyflowscripts.com\/products\/daily-ai-email-campaigns-groq-gmail-in-n8n-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}