{"product_id":"n8n-workflow-sell-ebooks-with-google-gemini-drive-email","title":"n8n Workflow: Sell Ebooks with Google Gemini, Drive \u0026 Email","description":"\u003ch3\u003eTurn a product idea into a sellable e-book—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow takes a topic from your webhook, uses Google Gemini to research and write a complete e-book, converts it to PDF via PDFShift, uploads it to Google Drive, publishes the product through Lynk.id, generates social promo copy, and delivers the download link to buyers by email after successful payment.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eKickoff with a webhook:\u003c\/b\u003e Receives a \u003cb\u003ePOST\u003c\/b\u003e request with a product topic to start the e-book creation process.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGenerate the e-book plan:\u003c\/b\u003e Uses \u003cb\u003eGoogle Gemini\u003c\/b\u003e to produce a structured JSON output including the e-book title, target audience, price, and chapter outline.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eWrite the full manuscript:\u003c\/b\u003e Uses \u003cb\u003eGoogle Gemini\u003c\/b\u003e again to generate the e-book in \u003cb\u003eMarkdown\u003c\/b\u003e based on the outline.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCreate a PDF and host it:\u003c\/b\u003e Sends the Markdown to \u003cb\u003ePDFShift\u003c\/b\u003e to generate a PDF, then \u003cb\u003euploads the PDF to Google Drive\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePublish the product:\u003c\/b\u003e Uses \u003cb\u003eGoogle Gemini\u003c\/b\u003e to generate an \u003cb\u003eAIDA-style HTML sales page\u003c\/b\u003e, then creates the product in \u003cb\u003eLynk.id\u003c\/b\u003e with the price, description, and Google Drive file link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGenerate promotion:\u003c\/b\u003e Uses \u003cb\u003eGoogle Gemini\u003c\/b\u003e to create three Threads\/Instagram promo posts including a CTA link provided in the incoming data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eDeliver after payment success:\u003c\/b\u003e Waits for a separate \u003cb\u003epayment-success webhook\u003c\/b\u003e, then emails the buyer the download link and sends a follow-up request for a testimonial three days later.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eLaunch niche e-books on-demand for SaaS operators without manual writing, formatting, or hosting.\u003c\/li\u003e\n  \u003cli\u003eAutomate a mini “content-to-commerce” pipeline: topic → PDF → sales page → Lynk.id product → email delivery.\u003c\/li\u003e\n  \u003cli\u003eReduce time spent preparing digital products by combining Gemini research, PDF generation, and Google Drive publishing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eGoogle Gemini\u003c\/b\u003e steps (configured for \u003cb\u003egemini-1.5-pro\u003c\/b\u003e) to generate JSON structure, Markdown manuscript, AIDA HTML sales page, and promo posts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePDFShift\u003c\/b\u003e integration using \u003cb\u003eHTTP Header Auth\u003c\/b\u003e (API key) for Markdown-to-PDF conversion.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGoogle Drive\u003c\/b\u003e upload via \u003cb\u003eOAuth2\u003c\/b\u003e credentials.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eLynk.id API\u003c\/b\u003e product creation with price, description, and Google Drive link.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003en8n nodes:\u003c\/b\u003e \u003cb\u003ewebhook\u003c\/b\u003e, \u003cb\u003ehttp request\u003c\/b\u003e, \u003cb\u003egoogle drive\u003c\/b\u003e, \u003cb\u003eemail send\u003c\/b\u003e, \u003cb\u003ewait\u003c\/b\u003e, plus supporting nodes like \u003cb\u003esticky note\u003c\/b\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46075760410803,"sku":"N8N-19817","price":59.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/tbPFn0keH8yD9hN7PG2Zb_RpZtglHP.png?v=1790154524","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-sell-ebooks-with-google-gemini-drive-email","provider":"N8N Commerce","version":"1.0","type":"link"}