Generate personalized cold email icebreakers with GPT-4O-mini and Google Sheets
How it works
This workflow helps you supercharge your cold email campaigns by enriching leads in Google Sheets with AI-generated personalization.
For every lead in your sheet, the workflow:
- Fetches rows from Google Sheets
- Loops through each lead one by one
- Uses OpenAI to generate:
- A personalized cold email icebreaker
- A shortened version of the company name
- Saves the results back into your Google Sheet
The result: a lead list that’s instantly ready for highly personalized cold outreach.
Setup steps
- Connect your Google Sheets account and select the sheet with your leads.
- Your sheet should have columns like: first name, last name, company name, industry, city, etc.
- Adjust the column mapping in the “Update Row in Sheet” node to match your sheet’s structure.
- Connect your OpenAI account in the “Message a Model” node.
- Optionally, tweak the AI prompt to match your preferred tone of voice for icebreakers.
- Click Execute Workflow whenever you want to enrich your sheet with new personalized content.
Requirements
- OpenAI account (API key)
- Google Sheets account with a lead list
- n8n instance (self-hosted or cloud)
Generate Personalized Cold Email Icebreakers with GPT-4o Mini and Google Sheets
This n8n workflow automates the generation of personalized cold email icebreakers using OpenAI's GPT-4o Mini model and stores the results in a Google Sheet. It's designed to help sales teams, marketers, and outreach specialists quickly create unique and engaging opening lines for their cold emails, saving time and improving response rates.
What it does
This workflow streamlines the process of generating personalized icebreakers by:
- Manually Triggering the Workflow: The workflow is initiated manually, allowing you to control when the icebreakers are generated.
- Reading Data from Google Sheets: It fetches prospect data (e.g., company name, prospect name, website, recent news, etc.) from a specified Google Sheet.
- Looping Through Each Prospect: It processes each row (prospect) from the Google Sheet individually to generate a unique icebreaker.
- Generating Icebreakers with OpenAI (GPT-4o Mini): For each prospect, it sends a prompt to OpenAI's GPT-4o Mini model, incorporating the prospect's details to create a highly personalized and relevant icebreaker.
- Updating Google Sheets with Icebreakers: After generating an icebreaker, the workflow updates the original Google Sheet, adding the newly generated icebreaker to the corresponding prospect's row.
Prerequisites/Requirements
To use this workflow, you will need:
- n8n Account: A running instance of n8n (cloud or self-hosted).
- Google Sheets Account: A Google Sheet containing your prospect data.
- OpenAI API Key: An API key from OpenAI with access to the GPT-4o Mini model.
Setup/Usage
- Import the Workflow:
- Download the workflow JSON provided.
- In your n8n instance, click "Workflows" in the left sidebar.
- Click "New" -> "Import from JSON" and paste the workflow JSON.
- Configure Credentials:
- Google Sheets:
- Click on the "Google Sheets" node.
- Under "Credentials", click "Create New".
- Choose "Google Sheets API" and follow the instructions to authenticate your Google account. Ensure you grant access to your Google Sheets.
- OpenAI:
- Click on the "OpenAI" node.
- Under "Credentials", click "Create New".
- Choose "OpenAI API" and enter your OpenAI API Key.
- Google Sheets:
- Configure Google Sheets Node:
- In the "Google Sheets" node, specify the "Spreadsheet ID" of your prospect list.
- Ensure the "Sheet Name" is correct.
- Verify the "Read Range" and "Write Range" if you want to control which columns are read and where the icebreakers are written.
- Configure OpenAI Node:
- Review the prompt in the "OpenAI" node. Adjust it if necessary to fine-tune the icebreaker generation based on your specific needs and the data available in your Google Sheet.
- Ensure the "Model" is set to
gpt-4o-minior another suitable OpenAI model you prefer.
- Activate and Execute:
- Save the workflow.
- Click "Activate" to enable the workflow.
- Click "Execute Workflow" on the "Manual Trigger" node to run the workflow and start generating icebreakers.
The workflow will then read your prospect data, generate personalized icebreakers, and update your Google Sheet with the results.
Related Templates
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions
AI-powered code review with linting, red-marked corrections in Google Sheets & Slack
Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0–10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your team’s channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow — reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why it’s valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n — combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your team’s review history transparent and centralized.
Synchronizing WooCommerce inventory and creating products with Google Gemini AI and BrowserAct
Synchronize WooCommerce Inventory & Create Products with Gemini AI & BrowserAct This sophisticated n8n template automates WooCommerce inventory management by scraping supplier data, updating existing products, and intelligently creating new ones with AI-formatted descriptions. This workflow is essential for e-commerce operators, dropshippers, and inventory managers who need to ensure their product pricing and stock levels are synchronized with multiple third-party suppliers, minimizing overselling and maximizing profit. --- Self-Hosted Only This Workflow uses a community contribution and is designed and tested for self-hosted n8n instances only. --- How it works The workflow is typically run by a Schedule Trigger (though a Manual Trigger is also shown) to check stock automatically. It reads a list of suppliers and their inventory page URLs from a central Google Sheet. The workflow loops through each supplier: A BrowserAct node scrapes the current stock and price data from the supplier's inventory page. A Code node parses this bulk data into individual product items. It then loops through each individual product found. The workflow checks WooCommerce to see if the product already exists based on its name. If the product exists: It proceeds to update the existing product's price and stock quantity. If the product DOES NOT exist: An If node checks if the missing product's category matches a predefined type (optional filtering). If it passes the filter, a second BrowserAct workflow scrapes detailed product attributes from a dedicated product page (e.g., DigiKey). An AI Agent (Gemini) transforms these attributes into a specific, styled HTML table for the product description. Finally, the product is created in WooCommerce with all scraped details and the AI-generated description. Error Handling: Multiple Slack nodes are configured to alert your team immediately if any scraping task fails or if the product update/creation process encounters an issue. Note: This workflow does not support image uploads for new products. To enable this functionality, you must modify both the n8n and BrowserAct workflows. --- Requirements BrowserAct API account for web scraping BrowserAct n8n Community Node -> (n8n Nodes BrowserAct) BrowserAct templates named “WooCommerce Inventory & Stock Synchronization” and “WooCommerce Product Data Reconciliation” Google Sheets credentials for the supplier list WooCommerce credentials for product management Google Gemini account for the AI Agent Slack credentials for error alerts --- Need Help? How to Find Your BrowseAct API Key & Workflow ID How to Connect n8n to Browseract How to Use & Customize BrowserAct Templates How to Use the BrowserAct N8N Community Node --- Workflow Guidance and Showcase STOP Overselling! Auto-Sync WooCommerce Inventory from ANY Supplier