Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

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

  1. Run Daily at 9 AM
  2. Set Analysis Settings
  3. Get Logged Message IDs
  4. Collect Logged IDs
  5. Get Competitor Emails
  6. Filter and Prepare New Emails
  7. Analyze Email with Claude
  8. Parse Claude Analysis
  9. Log Insights to Google Sheets
  10. Mark Email as Read
  11. Add Analyzed Label

Similar automations