Overview
Build an n8n workflow that reads each prospect's website from a Google Sheets lead list, asks a model for a short opening line based only on that page, and writes the draft back to the sheet for a person to review.
Problem or Objective
- Which agents draft personalised outreach to prospects for a person to approve before sending?
- Which agents research inbound business leads, score them or draft replies for a person to review?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Google Sheets
- Prerequisites
- An n8n instance, a Google Sheets credential, a model API key for the Basic LLM Chain, and a lead sheet that already lists each company's website.
How It Works
Keep your leads in a Google Sheet with columns for company, website, contact name, a draft opener, the source sentence and a review status. In n8n, read the rows that have no draft yet with the Google Sheets node, fetch each company's homepage with the HTTP Request node, and pass the page text to a Basic LLM Chain with a prompt that asks for one opening line of under 30 words and the exact sentence from the page it relied on. Write both back to the row with the Update Row operation and set the status to needs review. A person reads each opener against the quoted sentence, edits or rejects it, and only then copies it into an email sent from their own account.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Google Sheets.
- Check the prerequisitesAn n8n instance, a Google Sheets credential, a model API key for the Basic LLM Chain, and a lead sheet that already lists each company's website.
- Gather your detailsCollect what the prompt asks for: Prospect company, What you sell, Who you write to, Homepage text passed in by the workflow.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Write one grounded opening line from a company homepage
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Below is the text of [Prospect company]'s homepage. We sell [What you sell] to [Who you write to]. Write one opening line for a sales email, under 30 words, that refers to one specific fact from this page and connects it to our offer. Then quote, word for word, the single sentence from the page that the fact comes from. If the page has nothing specific enough, reply NO_OPENER. Do not invent details. A person will review and approve the line before any email is sent. Page text: [Homepage text passed in by the workflow]Run it on five rows first. Review every opener against its quoted sentence in the sheet, and send emails yourself from your own account.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs cover reading and updating Google Sheets rows, making HTTP requests and setting a prompt for a model in a Basic LLM Chain. They do not cover how well a model writes openers, and some sites load their text with scripts, so the fetched page may be thin; test on a few rows first.
Limitations and Considerations
Nothing in this workflow sends email; keep it that way and review every opener against the quoted source sentence, since models can invent details. Check each site's terms before fetching it automatically and keep the request rate low. Follow the rules on unsolicited sales email in your country and your recipients'. Model calls cost money per row. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Google Sheets | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- n8n has built-in support for a wide range of Google Sheets features, including creating, updating, deleting, appending, removing and getting documents.
- HTTP Request | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:35 UTC
What this source supports
- The HTTP Request node is one of the most versatile nodes in n8n.
- Basic LLM Chain | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 15:23 UTC
What this source supports
- Use the Basic LLM Chain node to set the prompt that the model will use along with setting an optional parser for the response.

