📊 Auto-generate competitive battle cards from websites with Zoho CRM and Gemini AI

⚡ 156 views · 📊 Market Research & Insights

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Zoho CRM → AI‑Generated Competitive Battle Card

This workflow automatically analyzes competitor websites, which inseted in description field and generates a clean, structured AI‑powered Battle Card for every new Zoho CRM deal. It reads the competitor URL from the deal Description, scrapes the site, runs an AI analysis pipeline and updates the deal with pricing, differentiators, pros/cons and a concise sales battle summary — all fully automated.

Quick Implementation Steps

  1. Add Zoho CRM + Gmail OAuth2 + AI API credentials.
  2. Import workflow into n8n.
  3. create a new deal in zoho CRM.
  4. While creating Deal,Add a competitor URL inside the Zoho deal Description.
  5. Activate the workflow.
  6. Wait 5 minutes → Deal updates with AI‑generated Battle Card.

What It Does

This workflow removes the manual effort of researching competitors during a sales cycle. Every time a new deal is created, it checks the Description field for a competitor name and website. After validating both, it automatically fetches the competitor webpage and feeds the content into an AI analysis pipeline powered by LangChain.

The AI transforms the messy, unstructured webpage HTML into a readable, structured and ready‑to‑use Battle Card — including pricing overview, differentiating features, advantages, disadvantages and a compact sales battle summary. This data is pushed directly into the Deal Description and emailed to the sales team. No web research, no copy‑pasting, no manual formatting — the AI does everything.

Who’s It For

Requirements

How It Works & Setup

Step 1 — Cron Trigger

Runs every 5 minutes → pulls newly created deals and last run time.

Step 2 — Fetch Deals

Retrieves deals sorted by Created_Time.

Step 3 — Identify New Deals

Filters deals created after the last workflow run.

Step 4 — Validate Deal Description

Ensures the Description has:

Step 5 — Extract Competitor Info

Regex identifies and extracts the name + first valid URL in the Description.

Step 6 — Scrape Competitor Website

HTTP Request downloads the competitor webpage’s HTML.

Step 7 — AI‑Generated Battle Card Creation

The AI pipeline (LangChain + your chosen LLM) transforms HTML into a structured JSON output containing:

Step 8 — Update Zoho Deal

The script saves the formatted AI Battle Card directly into the Deal Description.

Step 9 — Notify Sales

Gmail node sends a summary email to the sales team.

How to Customize Nodes

Change the AI Output

Edit LangChain prompt to:

Change Where Battle Card Is Stored

Modify the Zoho Update node to store data in:

Email Customization

Update subject, body, recipients, etc.

Filtering Logic

Modify filters to:

Add‑Ons (Optional Enhancements)

Use Case Examples

  1. Instant competitor breakdown when a new lead or deal is created.
  2. Rapid sales call preparation with AI summarizing the competition.
  3. Automated enrichment of CRM records with meaningful intelligence.
  4. Internal competitive intelligence dashboards fed by AI outputs.
  5. Pitch deck automation where Battle Cards update slides automatically.

There are many more possible use cases depending on your CRM setup and AI strategy.

Troubleshooting Guide

IssuePossible CauseSolution
No Battle Card generatedNo URL found in DescriptionAdd valid http/https competitor URL
Deal skippedTime filtering excluded itAdjust lookback window in code
AI output incompleteHTML unreadable or blockedTry different competitor URL
Zoho update failsOAuth scope missingReconnect Zoho with full CRM access
Email not sentGmail OAuth expiredReconnect Gmail
AI output wrong formatPrompt mismatchedUpdate output schema and prompt

Need Help?

If you need help customizing prompts, enhancing automations or building full‑scale AI workflows, then our n8n automation developers at WeblineIndia can support:

🔗 Nodes Used

Cron, HTTP Request, Zoho CRM, Gmail, Basic LLM Chain, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup