Quick overview
Quick overview This workflow turns a product idea into a ready-to-sell e-book using Google Gemini, converts it to a PDF with PDFShift, uploads it to Google Drive, publishes a product via the Lynk.id API, generates social promo copy, and delivers the file by email after successful payment. How it works Receives a POST request via a webhook with a product topic to kick off the e-book creation process. Uses Google Gemini to research the idea and produce a structured JSON output with the e-book title, target audience, price, and chapter outline. Uses Google Gemini to write the full e-book manuscript in Markdown based on the outline. Sends the Markdown to PDFShift to generate a PDF, then uploads the PDF to Google Drive. Uses Google Gemini to generate an AIDA-style HTML sales page, then creates a product in Lynk.id with the price, description, and Google Drive file link. Uses Google Gemini to generate three Threads/Instagram promo posts that include a call-to-action link provided in the incoming data. Receives a separate payment-success webhook and emails the buyer their download link, then waits three days and sends a follow-up email requesting a testimonial. Setup Create credentials for Google Gemini API and select a Gemini model (configured for gemini-1.5-pro) in each Gemini step. Add a PDFShift API key as HTTP Header Auth credentials for the PDF conversion request. Connect Google Drive OAuth2 credentials and ensure the workflow has permission to upload files to your Drive. Add HTTP authentication for the Lynk.id product creation request and confirm the API endpoint and required fields match your Lynk.id account. Configure an SMTP/Email Send credential in n8n and replace the sender address (sales@domainanda.com) with a verified from-address. Copy both webhook URLs and configure your source app to POST the product idea payload (topic and product_url) and your payment provider/store to POST the payment-success payload (customer and download details). An n8n automation workflow template by Miftah Akbar.
Miftah Akbar
web
free
Others in the same category, ranked by how often they are opened.