E-commerce bestseller video generator (Algolia + Google VEO 3)
E-commerce Weekly Bestseller Video Generator (Algolia + Google VEO 3)
This workflow automatically identifies your weekly bestselling product from your Algolia-powered e-commerce store and generates a cinematic product video using Google VEO 3.0 AI, helping marketing teams create engaging video content without manual editing or expensive production tools.
Who's it for
E-commerce stores using Algolia for search. Ideal for marketing teams who want to automate video content creation for top-performing products and maximize conversion potential with engaging visual content.
What it does (and doesn't do)
β It DOES:
- Identify your weekly bestseller automatically via Algolia custom ranking
- Validate product images before video generation
- Generate 6-second cinematic product videos using Google VEO 3.0
- Store videos in Supabase for easy frontend integration
- Update Algolia records with video URLs automatically
- Send email alerts if products lack images
β It DOESN'T:
- Generate videos for all products at once
- Edit or customize videos after generation
- Create multi-product compilation videos
- Replace manual video editing for complex productions
- Work without Google Cloud Storage (VEO 3.0 requirement)
Think of it as: An automated video production assistant that doubles down on your bestsellers with engaging content, not a full video editing suite.
How it works
- Weekly trigger - Runs every Monday at 9:00 PM (or manually for testing)
- Bestseller fetch - Queries Algolia index with empty search to get top-ranked product
- Video check - Skips products that already have videos
- Image validation - Ensures product has a valid, accessible image URL
- Video generation - Converts image to base64 and sends to Google VEO 3.0 with cinematic prompt
- Polling loop - Waits and checks generation status until video is ready
- Storage transfer - Downloads MP4 from Google Cloud Storage and uploads to Supabase
- Index update - Marks product as having video and adds public URL to Algolia
Set up steps
Setup time: ~20 minutes
- Connect your Algolia credentials (Search API key + Application ID)
- Replace placeholders:
ALGOLIA_APP_IDwith your Algolia Application IDYOUR_INDEX_NAMEwith your product index namePROJECT-ID-GOOGLE-CLOUDwith your Google Cloud Project IDGOOGLE_STORAGE_BUCKET_NAMEwith your GCS bucket nameYOUR_SUPABASE_PROJECTwith your Supabase project IDYOUR_BUCKET_NAMEwith your Supabase bucket nameadmin@example.comwith your email address
- Configure Algolia custom ranking (inStock + popularity recommended)
- Ensure your products have
hasVideo,images[],name,descriptionattributes - Set up Google Vertex AI with VEO 3.0 API access
- Create Google Cloud Storage bucket for VEO 3.0 outputs
- Create Supabase storage bucket for final video hosting
Requirements
- Algolia account with product index (free tier works)
- Algolia index with products containing image URLs
- Google Vertex AI account with VEO 3.0 API access
- Google Cloud Storage bucket (mandatory for VEO 3.0)
- Supabase account with storage bucket (free tier works)
- Gmail account for error notifications
- Products with attributes:
hasVideo,images[],name,description,objectID
Why both Google Cloud Storage AND Supabase?
VEO 3.0 can only output videos as base64 strings or MP4 files in Google Cloud Storage. Base64 strings are too large for n8n to process (even with code nodes), making Google Cloud Storage mandatory. The workflow then downloads the MP4 and uploads it to Supabase because:
- Supabase is where your other product assets already live
- Supabase offers generous free tier and simpler pricing
- Easier to serve videos to your frontend from a single storage provider
Think of Google Cloud Storage as a temporary staging area required by VEO 3.0's limitations, and Supabase as your actual production storage.
Cost breakdown
For a typical 6-second product video:
- Google VEO 3.0 generation: ~$0.15-0.30 per video
- Google Cloud Storage: ~$0.002 (temporary staging)
- Supabase storage: Free tier covers hundreds of videos
π° Bottom line: About $0.15-0.30 per video. Running weekly for a year = $8-16 in video generation costs.
π‘ Pro tips
Customize the video prompt: The default prompt creates a cinematic studio dolly shot. Edit the jsonBody in "Generate video with Google VEO 3" to match your brand style (fast-paced, minimalist, lifestyle, etc.).
Adjust bestseller logic: Modify the Algolia query to add filters like category:electronics or brand:Nike to focus on specific product segments.
Use manual execution during setup: Don't wait until Monday! Run the workflow manually to catch configuration issues like broken image URLs or missing credentials immediately.
Monitor your email alerts: If you frequently get "no image" or "broken image" alerts, audit your product data quality in Algolia. Missing images = lost video opportunities.
Start with test products: Before going live, manually trigger the workflow on a product you know has good images. Verify the video appears correctly in your Supabase bucket and Algolia record.
Check your GCS bucket occasionally: Videos accumulate in Google Cloud Storage after each run. Set up a lifecycle policy to auto-delete files older than 7 days to avoid unnecessary storage costs.
Adjust the schedule: If Monday 9PM doesn't work for your team's workflow, change the trigger to run on a different day or time that aligns with your content calendar.
How it identifies the bestseller
This workflow leverages Algolia's custom ranking feature. When you send an empty search query to Algolia, the first result returned follows your custom ranking criteria. This is an Algolia best practice that ensures your most relevant products appear first even without search terms.
In the example configuration, custom ranking uses:
inStockattribute - Prioritizes available productspopularityattribute - A computed metric based on sales volume, views, and other signals
You'll need to configure your own custom ranking in your Algolia index settings to match your business criteria. The workflow assumes your index is already configured to return your bestselling product first when queried with no search terms.
n8n E-commerce Bestseller Video Generator (Algolia & Google Veo 3)
This n8n workflow automates the process of generating video content for e-commerce bestsellers, potentially leveraging product data from Algolia and video generation capabilities from Google Veo 3 (though these specific integrations are inferred from the directory name and not explicitly present in the provided JSON, the workflow structure allows for their integration). It includes a manual trigger for on-demand execution and a scheduled trigger for regular updates, with conditional logic to handle different scenarios.
What it does
This workflow simplifies and automates the following steps:
- Triggers Execution: Can be initiated manually or on a predefined schedule.
- Performs an HTTP Request: Makes an API call, likely to fetch product data or initiate a video generation process.
- Applies Conditional Logic: Evaluates the result of the HTTP request to determine the next steps.
- If True: Proceeds to process the data for video generation.
- If False: Executes a "No Operation" step, effectively ending the branch.
- Extracts Data from File: If the condition is true, it extracts data from a file, which could be product information in a structured format.
- Aggregates Data: Combines or transforms the extracted data, preparing it for subsequent actions.
- Edits Fields (Set): Modifies or sets specific fields within the data, ensuring it's in the correct format for video generation.
- Sends Email (Gmail): Sends an email, possibly with a summary of the generated videos, alerts, or approval requests.
- Waits: Pauses the workflow for a specified duration, useful for rate limiting, waiting for external processes, or scheduling follow-up actions.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Instance: A running n8n instance to import and execute the workflow.
- API Endpoint: Access to an API endpoint for the "HTTP Request" node (e.g., Algolia for product data, or a video generation service like Google Veo 3).
- Gmail Account: A configured Gmail credential in n8n for sending emails.
- File Data: Input files for the "Extract from File" node, containing the data to be processed.
Setup/Usage
- Import the Workflow: Download the provided JSON and import it into your n8n instance.
- Configure Credentials:
- Update the "HTTP Request" node with the appropriate API endpoint and authentication details.
- Configure your Gmail account credentials in n8n and select them in the "Gmail" node.
- Adjust Node Settings:
- HTTP Request (Node 19): Set the URL, method, headers, and body according to the API you are calling.
- If (Node 20): Define the conditions based on the output of the HTTP Request to control the flow.
- Extract from File (Node 1235): Specify the binary data field containing the file and the format to extract (e.g., CSV, JSON).
- Aggregate (Node 1236): Configure how you want to combine or transform the data.
- Edit Fields (Node 38): Define the fields to add, remove, or modify.
- Gmail (Node 356): Set the recipient, subject, and body of the email. You can use expressions to dynamically include data from previous nodes.
- Wait (Node 514): Adjust the wait duration as needed.
- Set Trigger:
- Manual Trigger (Node 838): Click "Execute Workflow" to run it manually.
- Schedule Trigger (Node 839): Configure the desired schedule (e.g., daily, hourly) for automated execution.
- Activate the Workflow: Once configured, activate the workflow to enable scheduled runs or manual execution.
Related Templates
Create verified user profiles with email validation, PDF generation & Gmail delivery
Verified User Profile Creation - Automated Email Validation & PDF Generation --- Overview This comprehensive automation workflow streamlines the user onboarding process by validating email addresses, generating professional profile PDFs, and delivering them seamlessly to verified users. π― What This Workflow Does: Receives User Data - Webhook trigger accepts user signup information (name, email, city, profession, bio) Validates Email Addresses - Uses VerifiEmail API to ensure only legitimate email addresses proceed Conditional Branching - Smart logic splits workflow based on email verification results Generates HTML Profile - Creates beautifully styled HTML templates with user information Converts to PDF - Transforms HTML into professional, downloadable PDF documents Email Delivery - Sends personalized welcome emails with PDF attachments to verified users Data Logging - Records all verified users in Google Sheets for analytics and tracking Rejection Handling - Notifies users with invalid emails and provides guidance β¨ Key Features: β Email Verification - Prevents fake registrations and maintains data quality π Professional PDF Generation - Beautiful, branded profile documents π§ Automated Email Delivery - Personalized welcome messages with attachments π Google Sheets Logging - Complete audit trail of all verified users π Smart Branching - Separate paths for valid and invalid emails π¨ Modern Design - Clean, responsive HTML/CSS templates π Secure Webhook - POST endpoint for seamless form integration π― Perfect Use Cases: User registration systems Community membership verification Professional certification programs Event registration with verified attendees Customer onboarding processes Newsletter signup verification Educational platform enrollments Membership card generation π¦ What's Included: Complete workflow with 12 informative sticky notes Pre-configured webhook endpoint Email verification integration PDF generation setup Gmail sending configuration Google Sheets logging Error handling guidelines Rejection email template π οΈ Required Integrations: VerifiEmail - For email validation (https://verifi.email) HTMLcsstoPDF - For PDF generation (https://htmlcsstopdf.com) Gmail OAuth2 - For email delivery Google Sheets OAuth2 - For data logging β‘ Quick Setup Time: 15-20 minutes π Skill Level: Beginner to Intermediate --- Benefits: β Reduces manual verification work by 100% β Prevents spam and fake registrations β Delivers professional branded documents automatically β Maintains complete audit trail β Scales effortlessly with user growth β Provides excellent user experience β Easy integration with any form or application --- Technical Details: Trigger Type: Webhook (POST) Total Nodes: 11 (including 12 documentation sticky notes) Execution Time: ~3-5 seconds per user API Calls: 3 external (VerifiEmail, HTMLcsstoPDF, Google Sheets) Email Format: HTML with binary PDF attachment Data Storage: Google Sheets (optional) --- License: MIT (Free to use and modify) --- π BONUS FEATURES: Comprehensive sticky notes explaining each step Beautiful, mobile-responsive email template Professional PDF styling with modern design Easily customizable for your branding Ready-to-use webhook endpoint Error handling guidelines included --- Perfect for: Developers, No-code enthusiasts, Business owners, SaaS platforms, Community managers, Event organizers Start automating your user verification process today! π
Generate influencer posts with GPT-4, Google Sheets, and Media APIs
This template transforms uploaded brand assets into AI-generated influencer-style posts β complete with captions, images, and videos β using n8n, OpenAI, and your preferred image/video generation APIs. --- π§ Who itβs for Marketers, creators, or brand teams who want to speed up content ideation and visual generation. Perfect for social-media teams looking to turn product photos and brand visuals into ready-to-review creative posts. --- βοΈ How it works Upload your brand assets β A form trigger collects up to three files: product, background, and prop. AI analysis & content creation β An OpenAI LLM analyzes your brand tone and generates post titles, captions, and visual prompts. Media generation β Connected image/video generation workflows create corresponding visuals. Result storage β All captions, image URLs, and video URLs are automatically written to a Google Sheet for review or publishing. --- π§© How to set it up Replace all placeholders in nodes: <<YOURSHEETID>> <<FILEUPLOADBASE>> <<YOURAPIKEY>> <<YOURN8NDOMAIN>>/form/<<FORM_ID>> Add your own credentials in: Google Sheets HTTP Request AI/LLM nodes Execute the workflow or trigger via form. Check your connected Google Sheet for generated posts and media links. --- π οΈ Requirements | Tool | Purpose | |------|----------| | OpenAI / compatible LLM key | Caption & idea generation | | Image/Video generation API | Creating visuals | | Google Sheets credentials | Storing results | | (Optional) n8n Cloud / self-hosted | To run the workflow | --- π§ Notes The workflow uses modular sub-workflows for image and video creation; you can connect your own generation nodes. All credentials and private URLs have been removed. Works seamlessly with both n8n Cloud and self-hosted setups. Output is meant for creative inspiration β review before posting publicly. --- π§© Why itβs useful Speeds up campaign ideation and content creation. Provides structured, reusable results in Google Sheets. Fully visual, modular, and customizable for any brand or industry. --- π§ Example Use Cases Influencer campaign planning Product launch creatives E-commerce catalog posts Fashion, lifestyle, or tech brand content --- β Security & best practices No hardcoded keys or credentials included. All private URLs replaced with placeholders. Static data removed from the public JSON. Follows n8nβs template structure, node naming, and sticky-note annotation guidelines. --- π¦ Template info Name: AI-Powered Influencer Post Generator with Google Sheets and Image/Video APIs Category: AI / Marketing Automation / Content Generation Author: Palak Rathor Version: 1.0 (Public Release β October 2025)
Automate financial transaction tracking with Gmail, GPT, Notion & Telegram alerts
π© Automatically Log Transactions from Gmail into Notion and Get Telegram Alerts Whoβs it for This workflow is for individuals or entrepreneurs who receive bank alerts, invoices, and payment emails in Gmail and want them to be automatically organized in Notion β while also receiving quick Telegram notifications for each transaction. If you manage personal or business finances and find it tedious to manually record every debit, credit, or invoice β this automation does it all for you. --- How it works The workflow acts as an AI-powered Accountant Agent that reads incoming Gmail messages and decides whether each email represents a Debit Transaction, Credit Transaction, Debit Invoice, or Credit Invoice. The Gmail Trigger watches your selected inboxes (like forwarding@bayesian-labs.com, support@bayesian-labs, anoop.karnik@bayesian-labs). The Classifier (GPT-5-nano) determines the correct transaction type. The appropriate Agent (GPT-5) then extracts amount, currency, and description details. The Agent uses Notion API tools to log structured data into your Personal Finance System Notion template (Financial Transactions & Income databases). Finally, a Telegram notification is sent summarizing the entry (From, To, Subject, Snippet). In short: every time your bank emails you β Notion gets updated, and you get notified. --- How to set up Duplicate the Personal Finance System Notion template into your workspace. Create a Telegram Bot with BotFather β copy the bot token and your chat ID. Generate an OpenRouter API key for GPT-5 / GPT-5-nano. Create a Notion Integration Token and connect it to your duplicated finance databases. Add your Gmail accounts (forwarding@, support@, and/or personal Gmail) under Gmail OAuth2 credentials in n8n. Import the workflow JSON into n8n β fill in the credential names as listed below: n8ncloudregular_usage β OpenRouter Notion account β Notion API Accountant AI β Telegram Bot Gmail OAuth2 for each inbox trigger Once active, n8n polls Gmail every minute, classifies emails, updates Notion, and sends Telegram updates. --- Requirements n8n instance (self-hosted or cloud) Gmail accounts connected via OAuth2 OpenRouter API key Telegram bot token & chat ID Notion integration token Your duplicated Personal Finance System Notion template --- How to customize the workflow You can extend this workflow to: Track credit card statements, subscriptions, or payroll notifications. Add Slack or WhatsApp alerts alongside Telegram. Include live FX rates for USDβINR conversion using an API node. Connect Google Sheets as a backup ledger or export target. Add error-handling branches to mark Gmail messages as processed or label them βLogged to Notionβ.