{"product_id":"n8n-weekly-google-sheets-sales-pdf-to-slack-claude-mintpdf","title":"n8n: Weekly Google Sheets Sales PDF to Slack (Claude + MintPDF)","description":"\u003ch3\u003eSend your weekly Google Sheets sales report to Slack as a PDF—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs every Monday, analyzes the last 7 days of sales from your Google Sheets, generates an executive summary with \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e, renders a \u003cstrong\u003ePDF via MintPDF\u003c\/strong\u003e, and posts it directly to \u003cstrong\u003eSlack\u003c\/strong\u003e. It also archives the report in \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e—so your team gets a clean weekly snapshot without manual work.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSchedules weekly:\u003c\/strong\u003e Runs every Monday at \u003cstrong\u003e8:00\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReads sales data from Google Sheets:\u003c\/strong\u003e Loads your configured report settings and fetches all rows from the specified “Sales” tab.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompares this week vs last week:\u003c\/strong\u003e Splits rows into two periods, totals key KPIs (e.g., \u003cstrong\u003erevenue, refunds, orders, units, customers\u003c\/strong\u003e), and calculates changes.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHighlights trends:\u003c\/strong\u003e Identifies top products, top regions, and daily revenue patterns for both periods.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHandles no-sales weeks:\u003c\/strong\u003e If there are no sales in the current period, it posts a no-sales message to the configured Slack channel and stops.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates an executive summary with Claude:\u003c\/strong\u003e Sends computed metrics to \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e to generate a \u003cstrong\u003e3–5 bullet\u003c\/strong\u003e summary (with a basic fallback if the AI output is empty).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates and delivers a PDF:\u003c\/strong\u003e Builds a Markdown report, converts it to PDF using \u003cstrong\u003eMintPDF\u003c\/strong\u003e, then posts the PDF to Slack.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArchives in Google Drive:\u003c\/strong\u003e Uploads the report to a configured Drive folder, or alerts Slack if rendering fails.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS and e-commerce teams who track weekly sales KPIs and want consistent Slack reporting.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers standardizing “executive summary + PDF” updates for stakeholders.\u003c\/li\u003e\n  \u003cli\u003eOperators who want AI-written insights paired with a shareable PDF report.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eUses \u003cstrong\u003en8n\u003c\/strong\u003e nodes including \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eslack\u003c\/strong\u003e, and \u003cstrong\u003en8n-nodes-mintpdf\u003c\/strong\u003e (MintPDF render).\u003c\/li\u003e\n  \u003cli\u003eIntegrations\/credentials: \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, \u003cstrong\u003eSlack\u003c\/strong\u003e (files:write, chat:write), \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e, and \u003cstrong\u003eAnthropic (Claude)\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eMintPDF setup: install the community node \u003cstrong\u003en8n-nodes-mintpdf\u003c\/strong\u003e and provide a MintPDF API credential.\u003c\/li\u003e\n  \u003cli\u003eExpected sheet columns include: \u003cstrong\u003eDate, Order ID, Customer, Product, Region, Quantity, Amount, Status\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46244539007155,"sku":"N8N-21151","price":40.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/X2oAxSo1wdWAKHgKOPo-q_ArVV11Hg.png?v=1792401169","url":"https:\/\/buyflowscripts.com\/products\/n8n-weekly-google-sheets-sales-pdf-to-slack-claude-mintpdf","provider":"N8N Commerce","version":"1.0","type":"link"}