WorkflowChatGPTOpen

Readpdf Workflow

Triggered manually or by an app event. Connects Code, Condition, Google Drive, OpenAI, Read Pdf, Stop And Error. Send specific PDF attachments from Gmail to Google Drive using OpenAI DISCLAIMER: You may have varying success when using this workflow so be prepared to validate the correctness of OpenAI's results. This workflow reads PDF textual content and sends the text to OpenAI. Attachments of in

Front matter
name: Readpdf Workflow
description: Triggered manually or by an app event. Connects Code, Condition, Google Drive, OpenAI, Read Pdf, Stop And Error. ## Send specific PDF attachments from Gmail to Google Drive using OpenAI _**DISCLAIMER**: You may have varying success when using this workflow so be prepared to validate the correctness of OpenAI's results._ This workflow reads PDF textual content and sends the text to OpenAI. Attachments of interest will then be uploaded to a specified Google Drive folder. For example, you may wish to send invoices received from an email to an inbox folder in Google Drive for later processing. This workflow
category: Automation
kind: Workflow
software: Code|Condition|Google Drive|OpenAI|Read Pdf|Stop And Error

Readpdf Workflow

Triggered manually or by an app event. Connects Code, Condition, Google Drive, OpenAI, Read Pdf, Stop And Error. ## Send specific PDF attachments from Gmail to Google Drive using OpenAI

_DISCLAIMER: You may have varying success when using this workflow so be prepared to validate the correctness of OpenAI's results._

This workflow reads PDF textual content and sends the text to OpenAI. Attachments of interest will then be uploaded to a specified Google Drive folder. For example, you may wish to send invoices received from an email to an inbox folder in Google Drive for later processing. This workflow

Steps

  • Read PDF (readPDF)
  • Sticky Note (stickyNote)
  • Configure (set)
  • Is PDF (if)
  • Not a PDF (noOp)
  • Is matched (if)
  • This is a matched PDF (noOp)
  • This is not a matched PDF (noOp)
  • Iterate over email attachments (code)
  • OpenAI matches PDF textual content (openAi)
  • Merge (merge)
  • Upload file to folder (googleDrive)
  • On email received (gmailTrigger)
  • Note5 (stickyNote)
  • Ignore large PDFs (noOp)
  • Is text within token limit? (if)
  • Has attachments? (if)
  • There are no attachments (noOp)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/0298_Code_Readpdf_Send_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.