Templates / Track competitor risk from Gmail and webhooks with Groq, Slack and Sheets

Track competitor risk from Gmail and webhooks with Groq, Slack and Sheets

Ready for 3.0

by WeblineIndia ✓ · 9 views · created 2026-07-31 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Gmail, Groq Chat Model, Slack and Google Sheets and 1 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Normalize - Webhook Data (Edit Fields (Set)): sets 5 fields: source, unique_id, raw_content…
  2. Normalize - Email Data (Edit Fields (Set)): sets 5 fields: source, unique_id, raw_content…
  3. Slack: uses Slack
  4. Deduplicate - Webhook Events (Remove Duplicates): removes duplicate items
  5. Merge: merges the data from its input branches
  6. AI Agent: runs an AI agent, with model: Groq Chat Model; output parser: Competitor Intelligence Schema
  7. Validate - AI Output (If): checks a condition and branches into true / false
  8. Enrich - Add Source Context and Risk Score (Edit Fields (Set)): sets 10 fields: competitors, context, deal_stage…
  9. Log - Invalid AI Output (Edit Fields (Set)): sets 3 fields: status, reason, logged_at
  10. Gate - Competitors Detected? (If): checks a condition and branches into true / false

…plus 8 more steps. See the full node list below.

Services it uses

GmailGroq Chat ModelSlackGoogle SheetsSalesforce

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail - New Email Received).

Nodes used (14)

From the author

Quick Overview This workflow monitors Gmail and a webhook for sales notes, uses Groq (Llama 3.3) to extract competitor intelligence, then routes confirmed competitor signals to Salesforce, Slack, and Google Sheets for real-time alerting and logging. How it…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.