Question

How do I get email content & attachments to ChatGPT for summarizing?

  • 13 December 2023
  • 1 reply
  • 178 views

Hi,

Here is what I want to do.  I want to get the content of an email, and up to 2 attachments in the email (both pdf’s), and put all of these into chatgpt to summarize.  What’s the best way to do that?

 

  1.  Is there a way to pull all of the attachments from an email?
  2. How do I have pdf.co or another app extract the data from the pdf?  PDF.co seems to ask for an PDF file URL, but not sure where that is in the gmail contents.

Thanks,

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +6

Hi there @gkong,

Welcome to the Community! 🎉

You will probably need 2 Zaps to achieve this. 1 Zap is for parsing the PDF contents and the other Zap to feed into ChatGPT.

Here is how I see the Zap for the workflow that you have in mind:

Zap 1:

  1. Trigger: Gmail - New Email
  2. Action: Docparser - Upload Document
    30f55fa70caeaf884af2ffe68db76584.png
    (view larger)

Zap 2:

  1. Trigger: Docparser - Parsed Document Data Available
  2. Action: ChatGPT - Summarize Text

Hopefully, this helps.