Sign In

/How to auto-summarize long emails using ChatGPT and Make

Automation:

How to auto-summarize long emails using ChatGPT and Make

Used Tools:

Managing a flood of lengthy emails can be overwhelming, but with ChatGPT and Make, you can set up an automation that delivers concise TL;DRs straight to your inbox. In just 30 minutes, even beginners can create a workflow that connects Gmail to ChatGPT via Make, automatically summarizing incoming emails. This setup not only saves time but also ensures you never miss key information. Ready to streamline your email management? Let’s dive in!
How to auto-summarize long emails using ChatGPT and Make

Managing a flood of lengthy emails can be overwhelming, especially when you’re trying to stay on top of your inbox. Wouldn’t it be great if you could get concise summaries of your emails without reading through each one? Well, you’re in luck! In this guide, I’ll walk you through setting up an automation that uses ChatGPT and Make (formerly Integromat) to generate short TL;DRs of your incoming emails. No coding skills required, and you’ll have it up and running in about 30 minutes.

Introduction

As a solo startup founder, time is your most valuable asset. Sifting through long emails can eat into your productivity. By automating email summarization, you can quickly grasp the essence of each message and decide which ones need your immediate attention. We’ll use Gmail to receive emails, Make to orchestrate the automation, and OpenAI’s ChatGPT to generate the summaries.

Step-by-Step Guide

Step 1: Set Up a New Scenario in Make

First, let’s create a new scenario in Make to handle the automation.

  1. Log in to your Make account.
  2. Click the + Create a new scenario button.
  3. In the scenario editor, click the + button to add a new module.

Step 2: Add the Gmail Module

We’ll configure Make to watch for new emails in your Gmail inbox.

  1. Search for and select the Gmail module.
  2. Choose the Watch Emails trigger.
  3. Connect your Gmail account by following the authentication prompts.
  4. Configure the module:
    • Folder: Select the inbox or label you want to monitor.
    • Criteria: Set to Unread to process only new emails.
    • Mark as read: Enable this to avoid processing the same email multiple times.

Step 3: Add the OpenAI Module

Next, we’ll set up the OpenAI module to generate summaries using ChatGPT.

  1. Click the + button to add another module.
  2. Search for and select the OpenAI module.
  3. Choose the Create a completion action.
  4. Connect your OpenAI account by entering your API key.
  5. Configure the module:
    • Model: Select gpt-4 or the latest available model.
    • Prompt: Enter the following prompt:

      “Please summarize the following email in a concise TL;DR format:\n\n{{1.text}}”

      Here, {{1.text}} maps to the body of the email from the Gmail module.

    • Temperature: Set to 0.5 for balanced creativity and coherence.
    • Max tokens: Set to 100 to limit the length of the summary.

Step 4: Convert Markdown to HTML

ChatGPT’s responses may include Markdown formatting. We’ll convert this to HTML for better readability.

  1. Click the + button to add another module.
  2. Search for and select the Markdown module.
  3. Choose the Convert Markdown to HTML action.
  4. Configure the module:
    • Input: Map to the Choices Text output from the OpenAI module.

Step 5: Send the Summary via Email

Finally, we’ll send the generated summary to your email.

  1. Click the + button to add another module.
  2. Search for and select the Gmail module.
  3. Choose the Send an email action.
  4. Configure the module:
    • To: Enter your email address.
    • Subject: Set to Summary: {{1.subject}} to include the original email’s subject.
    • Body: Map to the HTML output from the Markdown module.

Optional Enhancements

To further refine your automation, consider these quick-win ideas:

  • Filter Emails by Sender or Subject: Add a filter module after the Gmail trigger to process only emails from specific senders or with certain keywords in the subject.
  • Store Summaries in a Google Sheet: Instead of sending summaries via email, use the Google Sheets module to append each summary to a spreadsheet for easy reference.
  • Notify via Slack: Integrate the Slack module to send summaries to a designated Slack channel, keeping your team informed in real-time.

By following these steps, you’ll have an efficient system that keeps you updated with concise summaries of your emails, allowing you to focus on what truly matters. Happy automating!

Get to know the latest in AI

Join 2300+ other AI enthusiasts, developers and founders.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related AI Automations

How to automate customer feedback collection with AI

How to automate customer feedback collection with AI

How to send AI-crafted thank-you messages after purchases

How to send AI-crafted thank-you messages after purchases

How to turn support tickets into FAQs with AI

How to turn support tickets into FAQs with AI

How to Alert Support Team on Slack for Failed Mailchimp Sends

How to Alert Support Team on Slack for Failed Mailchimp Sends

How to Route Live Chat Leads from Intercom to Salesforce

How to Route Live Chat Leads from Intercom to Salesforce

How to build a customer support chatbot using ChatGPT and Zendesk

How to build a customer support chatbot using ChatGPT and Zendesk

Related AI Tools