Email Automation
Analyze competitor marketing emails with Claude and log results to Google Sheets
Each morning reads competitor newsletters from Gmail, has Claude extract the offer, tactics, and a response idea, then logs each analysis as a Sheets row.
What it does
## Analyze competitor marketing emails with Claude and log insights to Google Sheets ### How it works Every morning this workflow reads the competitor newsletters that arrived in your Gmail inbox, sends each one to Claude, and logs the analysis as a row in Google Sheets. For each email Claude identifies the competitor, the email type, the offer or hook, the tactics used, and one concrete idea for how your brand could respond. Processed emails are labeled and marked as read, and any email that fails is retried on the next run. ### Setup steps - Subscribe to competitor newsletters, then create two Gmail labels: Competitors and Analyzed. Add a Gmail filter that applies Competitors to those senders. - Create a Google Sheet with this header row: MessageId | Date | From | Subject | Snippet | Competitor | Email Type | Summary | Offer/Hook | Key Tactics | Brand Response Idea - Add your Gmail, Google Sheets, and Anthropic credentials to the matching nodes. - Select your spreadsheet and tab in both Google Sheets nodes, and select the Analyzed label in Add Analyzed Label. - Open Set Analysis Settings and describe your brand in brandContext. ### Customization Using an inbox dedicated to competitor emails? Remove label:competitors from gmailQuery. You can also change the schedule, raise maxBodyChars for longer emails, or edit the Claude prompt to track other details such as pricing or subject line style.
The steps
- Run Daily at 9 AM
- Set Analysis Settings
- Get Logged Message IDs
- Collect Logged IDs
- Get Competitor Emails
- Filter and Prepare New Emails
- Analyze Email with Claude
- Parse Claude Analysis
- Log Insights to Google Sheets
- Mark Email as Read
- Add Analyzed Label
Similar automations
Web Scraping & ResearchLog competitor Google Ads snapshots from Apify into Google Sheets18 stepsReports, Analytics & DashboardsAnalyze Competitor Content Performance and Email Insights9 stepsReports, Analytics & DashboardsAnalyze Facebook Ads Competitor Creatives and Email Recommendations with OpenAI24 stepsReports, Analytics & DashboardsTrack Competitor LinkedIn Announcements with Claude15 steps