Workflow JSON (Public GitHub Gist): https://gist.github.com/Galhali/ee1ea4475685bf4dec372babf4518c28
Built a ready-to-import n8n workflow that monitors competitor 1–3 star reviews across G2 and Capterra, filters out cross-platform duplicates, scores churn intent without burning LLM tokens, and splits the output into two branches:
- Branch 1 (High-Churn Triggers): Filters
recordType === "REVIEW" where churnIntentScore >= 48, ready to route into Slack, CRM, or Clay via icpLookupQuery and personalizedFirstLine.
- Branch 2 (Battlecard Summary): Extracts
BATTLECARD_SUMMARY rows aggregating topPainTags, topCompetitorsMentioned, migrationEdges, and 30-day churn velocity spikes.
How to run it
- Import the JSON below into n8n.
- Open the
Scrape G2 + Capterra Intent (Apify) HTTP Request node and replace YOUR_APIFY_TOKEN (it calls galhali/g2-capterra-buying-intent-scraper in 128 MB RAM).
- Swap
"Slack", "HubSpot CRM" in products with your competitors.
- Optionally replace the Manual Trigger with a Schedule Trigger (weekly/daily) —
onlyNewReviews: true keeps runs incremental.
{
"name": "G2 & Capterra Competitor Churn Intent -> High-Intent Leads (Apify + n8n)",
"nodes": [
{
"parameters": {},
"id": "manual-trigger",
"name": "When clicking 'Test workflow'",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [220, 300]
},
{
"parameters": {
"method": "POST",
"url": "https://api.apify.com/v2/acts/galhali~g2-capterra-buying-intent-scraper/run-sync-get-dataset-items",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "token",
"value": "YOUR_APIFY_TOKEN"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{\n \"products\": [\"Slack\", \"HubSpot CRM\"],\n \"platforms\": [\"g2\", \"capterra\"],\n \"maxReviewsPerProduct\": 25,\n \"maxRating\": 3,\n \"lookbackDays\": 30,\n \"onlyNewReviews\": true,\n \"deduplicateSyndicatedReviews\": true,\n \"emitBattlecardSummary\": true\n}",
"options": {
"timeout": 240000
}
},
"id": "apify-g2-capterra-intent",
"name": "Scrape G2 + Capterra Intent (Apify)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [480, 300]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "is-review",
"leftValue": "={{ $json.recordType }}",
"rightValue": "REVIEW",
"operator": {
"type": "string",
"operation": "equals"
}
},
{
"id": "high-churn-score",
"leftValue": "={{ $json.churnIntentScore }}",
"rightValue": 48,
"operator": {
"type": "number",
"operation": "gte"
}
}
],
"combinator": "and"
}
},
"id": "filter-high-churn",
"name": "Filter High-Churn Buyers (Score >= 48)",
"type": "n8n-nodes-base.filter",
"typeVersion": 2,
"position": [760, 220]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "is-battlecard",
"leftValue": "={{ $json.recordType }}",
"rightValue": "BATTLECARD_SUMMARY",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
}
},
"id": "filter-battlecards",
"name": "Extract Competitor Battlecards",
"type": "n8n-nodes-base.filter",
"typeVersion": 2,
"position": [760, 420]
},
{
"parameters": {
"operation": "toJson",
"options": {
"fileName": "high_intent_churn_triggers.json"
}
},
"id": "export-intent-leads",
"name": "Export High-Intent Triggers",
"type": "n8n-nodes-base.convertToFile",
"typeVersion": 1.1,
"position": [1040, 220]
},
{
"parameters": {
"operation": "toJson",
"options": {
"fileName": "competitor_battlecards.json"
}
},
"id": "export-battlecards",
"name": "Export Battlecard Summary",
"type": "n8n-nodes-base.convertToFile",
"typeVersion": 1.1,
"position": [1040, 420]
}
],
"connections": {
"When clicking 'Test workflow'": {
"main": [[{ "node": "Scrape G2 + Capterra Intent (Apify)", "type": "main", "index": 0 }]]
},
"Scrape G2 + Capterra Intent (Apify)": {
"main": [[
{ "node": "Filter High-Churn Buyers (Score >= 48)", "type": "main", "index": 0 },
{ "node": "Extract Competitor Battlecards", "type": "main", "index": 0 }
]]
},
"Filter High-Churn Buyers (Score >= 48)": {
"main": [[{ "node": "Export High-Intent Triggers", "type": "main", "index": 0 }]]
},
"Extract Competitor Battlecards": {
"main": [[{ "node": "Export Battlecard Summary", "type": "main", "index": 0 }]]
}
},
"settings": { "executionOrder": "v1" }
}