Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Email Automation

Email Automation

Analyze Incoming Gmail Messages With OpenAI And Send Audit Reply

Analyzes each new Gmail message with an AI agent and replies to the sender with an audit report summarizing the results.

What it does

### 3. AI Agent write and sends an audit report to the send This summarize the results of the analysis in an email sent as a reply to the sender. #### How to setup? - Gmail Node: set up your Gmail API credentials Learn more about the Gmail Trigger Node* 2. Adapt the system prompt to the format of emails you want to send [Learn more about the AI Agent Node]({{ $env.WEBHOOK_URL }}

The steps

  1. If Node
  2. Check the format
  3. AI Agent
  4. OpenAI Chat Model
  5. Structured Output Parser
  6. Reply
  7. Extract the HTML
  8. HTML from binary
  9. Email Trigger
  10. Download Attachment
  11. Error Handler

Similar automations