Templates / Triage brand deal emails with Gmail, OpenAI, Tavily, Google Sheets and Slack

Triage brand deal emails with Gmail, OpenAI, Tavily, Google Sheets and Slack

Ready for 3.0

by Rahul Joshi ✓ · 5 views · created 2026-09-28 · Lead Nurturing, 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 20 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI, Google Sheets and Slack. It also calls api.tavily.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Normalize Email (Code): runs custom JavaScript code
  2. AI: Classify Email (OpenAI): uses OpenAI
  3. Parse Classification (Code): runs custom JavaScript code
  4. Is Sponsorship? (If): checks a condition and branches into true / false
  5. Label: Brand Deals (Gmail): add labels
  6. Research: Funding (HTTP Request): calls api.tavily.com (POST)
  7. Research: Past Campaigns (HTTP Request): calls api.tavily.com (POST)
  8. Compile Research (Code): runs custom JavaScript code
  9. AI: Brand Profile (OpenAI): uses OpenAI
  10. Parse Brand Profile (Code): runs custom JavaScript code

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

Services it uses

GmailOpenAIGoogle SheetsSlack

HTTP calls to: api.tavily.com

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 Trigger).

Nodes used (10)

From the author

Quick overview This workflow monitors unread Gmail inbox emails, uses OpenAI to identify brand deal opportunities, researches the brand via Tavily, calculates a suggested rate, and creates a Gmail draft reply while logging the deal to Google Sheets and…

Excerpt from Rahul Joshi'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.