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

  • 13 December 2023
  • 1 reply


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 or another app extract the data from the pdf? seems to ask for an PDF file URL, but not sure where that is in the gmail contents.



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
    (view larger)

Zap 2:

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

Hopefully, this helps.