Qualify inbound leads from homepage content with Apify, Gemini, and TypeSafe
UnknownWhat this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets, Google Gemini Chat Model, Slack and Apify (community) and 1 more. It also calls web-fetch.apify.actor over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Get past leads (Google Sheets): uses Google Sheets
- Set lead website (Edit Fields (Set)): sets 1 field: Website
- Build crawler start URLs (Code): runs custom JavaScript code
- Apify Web Fetch (HTTP Request): calls web-fetch.apify.actor
- Scrape homepages (Website Content Crawler) (Apify): run actor and get dataset
- Get qualification questions (Google Sheets): uses Google Sheets
- Label pages by conversion (Code): runs custom JavaScript code
- Prepare TypeSafe input (Code): runs custom JavaScript code
- Generate qualification questions (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Questions output parser
- Score lead with TypeSafe (Type Safe Ai): uses Type Safe Ai
…plus 4 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Google Gemini + Google Sheets templates (819) · Other Apify + Google Sheets templates (402)
HTTP calls to: web-fetch.apify.actor
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Scrape homepages (Website Content Crawler)).
- Check that @typesafe-ai/n8n-nodes-typesafe-ai is verified or supports 3.0 (used in Score lead with TypeSafe).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Apify
@apify/n8n-nodes-apify.apify - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Type Safe Ai
@typesafe-ai/n8n-nodes-typesafe-ai.typeSafeAi - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This template learns lead-fit signals from past customers in Google Sheets by scraping their homepages with Apify and generating yes/no qualification questions with Google Gemini, then scores new inbound leads with TypeSafe and alerts your…