Get pdf from gmail

Hie everyone i want to download pdf files from gmail i have total 12 pdf and these pdf have 3 same data format so the pdf split like 3x4=12 after downloading the pdf i want to move this pdf into 4 folder


You can use gmail related activities for that install the gsuite package

And to move between folders and renaming we can use move file/Folder and rename file activities

Hope this helps


1 Like

Hi @singh_sumit ,

  1. Use the “Get IMAP Mail Messages” activity to retrieve the PDF files from your Gmail account. You can filter the messages by subject or sender if needed.
  2. Use a “For Each” loop to iterate through each email message.
  3. Use the “Save Attachment” activity to save the PDF file attachment from the email to a local folder.
  4. Use the “Read PDF Text” activity to read the content of the PDF file.
  5. Use a series of “If” activities to check the content of the PDF file and move the file to the appropriate folder based on its content. You can use the “Move File” activity to move the PDF file to the desired folder.