Automated PDF Analysis: Using ChatGPT & Zapier For Any Industry | Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • Automate your PDF document processing with ChatGPT and Zapier. In this comprehensive tutorial, we delve deep into the integration of ChatGPT with Zapier, showcasing how you can set up an efficient automated flow for extracting, analyzing, and structuring responses directly from your PDFs. Say goodbye to the limitations of traditional ChatGPT plugins and embrace this new, streamlined method that promises accuracy, speed, and cost-effectiveness.
    SUBSCRIBE for more! 👉 bit.ly/3zlUmiS 👈
    Key Takeaways:
    ✩ Deep Dive into ChatGPT and Zapier Integration: Explore the intricacies of connecting ChatGPT with Zapier, two of the most influential tools in the automation landscape, and understand their combined potential in revolutionizing PDF document processing.
    ✩ Detailed Guide on Automated Flow Creation: Walk through a comprehensive, step-by-step tutorial on designing and implementing a flow that seamlessly extracts structured responses from PDFs, ensuring accuracy and minimizing manual intervention.
    ✩ Comparative Analysis - New Method vs. Traditional Plugins: Dive into a detailed comparison, highlighting the advantages of using ChatGPT and Zapier for PDF analysis over conventional ChatGPT plugins. Understand the cost benefits, efficiency gains, and why this method is the future of PDF processing.
    -------------------------------------------------
    ➤ follow other places I exist
    • 🤠 2nd Channel (digital nomad): / @corbinwander
    • ✖️ X: x.com/corbin_b...
    • 🥾 Instagram: / corbin_braunlich
    • 🎧 Bräunlich: / braunlich
    -------------------------------------------------
    ▼ Extra Links of Interest:
    automate everything. 👇
    linktr.ee/_cafe_
    My Setup To Record Content (amazon storefront) 📷
    amzn.to/4d8Qkg2
    Become an Early Adopter 🍻
    / @corbin_brown
    My name is Corbin, creator of bumpups.com and investor behind _cafe_.
    I build things for fun 🤠

ความคิดเห็น • 55

  • @Corbin_Brown
    @Corbin_Brown  ปีที่แล้ว +10

    Very important, everyone! Make sure you save the new file from Google Docs in a new folder. This will ensure that you don't create a loop where it gets triggered again when the document is formed and goes through the same process.

    • @wookawsh
      @wookawsh 8 หลายเดือนก่อน

      Very helpful content. To clarify, to make this process repeat for every new file that is created it needs to go into its own new folder as well. So do we need an extra step to create a new folder >> File goes into that new folder? Thanks so much.

  • @humphuk
    @humphuk ปีที่แล้ว +2

    Corbin - These are excellent tutorials. I came here with a specific user case that I thought of today. You have answered it directly - and given me inspiration for so much more. Once I have digested and tried - I will be back for more. Thank you

  • @Corbin_Brown
    @Corbin_Brown  ปีที่แล้ว

    Navigate to key moments👇
    made via tubestamp.com
    01:32 - Demonstrating automation process with a legal PDF example.
    09:20 - Testing code and showing output of chunking a legal document.
    13:50 - Showing compressed output of a legal contract using GPT-
    15:41 - Explanation on getting a one-sentence summary using GPT-
    21:05 - Creating sections and summaries for larger documents.
    24:17 - Live demonstration of the process with successful results.
    26:11 - Recap of the automated process for compressing and finding data within PDFs.
    Recap by TubeStamp ✏️

  • @TheMrsSusso
    @TheMrsSusso 9 หลายเดือนก่อน

    Thank you very much. You just made my business much more efficient. God bless you and your journey!

  • @MyXRLearning
    @MyXRLearning ปีที่แล้ว +1

    Thank you so much. Your videos are so helpful!

  • @EricHardek
    @EricHardek ปีที่แล้ว

    This is very cool I like how you used 3.5 16k to compress and the GPT 4 to compress again. This is great content!

  • @ziadnahdi4343
    @ziadnahdi4343 ปีที่แล้ว +1

    شكرا جزيلا هذا كلام من احسن الفيديوهات التي رايتها شكرا وتابع العمل

  • @Corbin_Brown
    @Corbin_Brown  ปีที่แล้ว +8

    Here's the code we used in today's tutorial:
    Word Output:
    const response = await fetch(inputData["text"]);
    const text = await response.text();
    const words = text.split(" ");
    output = { result: words.slice(0, 20000).join(" ") };
    Chunk Maker:
    const wordLimit = 5000;
    const words = inputData.text.split(/\s+/); // Split by whitespace
    const chunks = [];
    let currentChunk = [];
    for (let word of words) {
    if (currentChunk.length + 1 > wordLimit) {
    chunks.push(currentChunk.join(' '));
    currentChunk = [];
    }
    currentChunk.push(word);
    }
    if (currentChunk.length > 0) {
    chunks.push(currentChunk.join(' '));
    }
    // Prepend unique identifiers
    const identifiedChunks = chunks.map((chunk, index) => `ID${index + 1}_${chunk}`);
    // Return the chunks with identifiers
    output = {
    chunk1: identifiedChunks[0] || "",
    chunk2: identifiedChunks[1] || "",
    chunk3: identifiedChunks[2] || ""
    };

    • @Trebor3676
      @Trebor3676 ปีที่แล้ว

      I keep getting a Failed to run JavaScript code error. Can you advise on this?

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      @@Trebor3676 Go ahead and reply to this comment with the exact error so I can provide better insight. Typically, errors could be associated with how you named your input data. Make sure it's called 'text,' and the data point is 'File txt' (Exists but is not shown)

    • @Omar-AI
      @Omar-AI ปีที่แล้ว +1

      @@Corbin_Brown Hi, I got the same error "Failed to run your JavaScript code
      2023-11-03T17:26:31.834Z 8cc47817-727d-4f01-b110-9e7982e09ea4 Task timed out after 1.00 seconds"
      Even If i use same inputs as you did in the video (Input Data = Text and 2. File Txt: Exits but not shown.
      Can you advice on this please ?
      Thanks a lot !

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      ​@@Omar-AI Hey! Make sure that for the input data, you spell it like this 'text'. Capitalization is important in the context of code, as it won't be able to read the data point if you put 'Text'. Hope this helps!

    • @Omar-AI
      @Omar-AI ปีที่แล้ว

      @@Corbin_Brown I just double checked the spelling and It seems good. I'm really stuck because of this error :(

  • @TheHealmobile
    @TheHealmobile 5 หลายเดือนก่อน +2

    Great video!

  • @joshfire8812
    @joshfire8812 4 หลายเดือนก่อน +1

    This is so cool!

  • @Corbin_Brown
    @Corbin_Brown  ปีที่แล้ว +1

    Hi all! Exciting news - we've integrated a PDF Reader right into ChatGPT. It's built to handle large PDFs with ease and is completely free for you to use.
    👉 GPT [PDF Reader] - chat.openai.com/g/g-QSh6KHL3S-pdf-reader

    • @drew_scottsdale
      @drew_scottsdale 5 หลายเดือนก่อน +1

      are we able to use this with over zapier

  • @frederikblegvadandersen5151
    @frederikblegvadandersen5151 ปีที่แล้ว

    Hey Corbin - thank you very much. Spoton 🙏

  • @nerdsdoitbettervid
    @nerdsdoitbettervid 7 หลายเดือนก่อน +3

    Where is the javaScript?

  • @SKTeuber
    @SKTeuber 4 หลายเดือนก่อน

    I simply can not take my results from the Chat GPT Conversation and put it into a Google Sheet or Excel. Keeps saying invalid image.

  • @WolfTheatres362
    @WolfTheatres362 8 หลายเดือนก่อน

    Thank you for posting the video. Is it possible to create a ZAP that would allow the Chatbot PDF reader you created to automatically read a PDF after the initial trigger of say uploading the pdf is google drive?

  • @learningstuff5679
    @learningstuff5679 ปีที่แล้ว +1

    With all of the "Chat With PDF" ai platforms that are currently available, would you say that this is the safest way for sensitive documents like legal, finance etc?

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว +1

      Yes, when you use the ChatGPT front end, your data is not secure and can be accessed by either the Plugin or OpenAI. Therefore, using the OpenAI API is more secure, as they have stated that they do not have access to the prompts being used in this context.

  • @thestudentshuttledmv5090
    @thestudentshuttledmv5090 2 หลายเดือนก่อน

    Looks like the zapier code is giving this error for individuals running it: Failed to run your code
    Your code had an error. See details below:
    Error: Error: only absolute urls are supported
    at (line 1, column 28)
    Anyone having this same issue?

  • @ivanazima8118
    @ivanazima8118 9 หลายเดือนก่อน

    Hi Corbin, I have tried to repeat the steps with One Drive but I can not get the data out of the PDF. Can you please help me or make another video about One Drive integrations?

  • @hammadyounas2688
    @hammadyounas2688 7 หลายเดือนก่อน

    I have the pdf document. i dnt have the text extract from it. How can i do that?

  • @learningstuff5679
    @learningstuff5679 ปีที่แล้ว

    Corbin, can you make a video on setting up and onboarding an automation client? getting passwords, creating accounts, the process of onboarding them, reporting etc? thank you

  • @rehatvirk1807
    @rehatvirk1807 11 หลายเดือนก่อน

    im only getting the url instead of the text in the code result

  • @masdeia
    @masdeia ปีที่แล้ว +1

    Hello Corbin, do you have any video, or any suggest me about how to create a gpt that has the capability to review, it can be either 100 pdfs documents or more, and display important details of those pdfs files, those pdfs will be in google cloud, but will keep adding more and more, the output can be set in the same gpt, in a table or simple text no problem.

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      As of now, I do not have a video like the one you described, but I could consider making one in the future!

    • @masdeia
      @masdeia ปีที่แล้ว

      @@Corbin_Brown thanks, do You know if it is possible to pass a folder containing múltiple PDF files, instead of just one PDF in askyourpdf or any other plugin

  • @joshuabowman442
    @joshuabowman442 ปีที่แล้ว +1

    We receive password-protected PDFs. Our client does not provide the masterPDF password, only the password to open the document. Corbin, do you know if it is possible to add a step in the zap that will fill in the password (not necessarily remove the password, just fill it in so we can open the PDF and convert it to a google doc so we can read the data as you show in the tutorial?)

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว +1

      In this context, it may be possible, and it would all depend on whether the PDF software gives us access to their API documentation. If so, in theory, one could input a password and gain access to the data.

    • @Fadayko23
      @Fadayko23 10 หลายเดือนก่อน +1

      You can use a tool like Bardeen to create web scrape template for the content of the PDF via a web URL or a right-click action..from there sky is the limit

  • @jacksandra1
    @jacksandra1 ปีที่แล้ว

    Hi Corbin, I am getting an error with the first part of the javascript "Only absolute URLs are supported" can you help me resolve this error please?

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      This is typically associated with the formatting of the URL. Make sure to use the entire security measure of

  • @grant-taleck
    @grant-taleck ปีที่แล้ว +3

    You mind copying and pasting the javascript here? I couldn't find it in the comments?

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      Check out this alternative way to get text from a file now!
      th-cam.com/video/D8-6HELz6wA/w-d-xo.html&ab_channel=Corbinai

    • @grant-taleck
      @grant-taleck ปีที่แล้ว

      actually, I figure the better way to do this now is through the method you mention in this video? th-cam.com/video/bnCDtIYCTsA/w-d-xo.html

  • @AngieEspinal-c6r
    @AngieEspinal-c6r ปีที่แล้ว

    The java script gives me an Error. Help.

  • @learningstuff5679
    @learningstuff5679 ปีที่แล้ว

    Also would love to start seeing timestamps in your videos.

  • @stanTrX
    @stanTrX 4 หลายเดือนก่อน

    Whats Zapier, never heard that project before. İs it still active?

  • @marcink79
    @marcink79 ปีที่แล้ว

    In 3. step
    Failed to run your JavaScript code
    2023-11-07T21:25:10.320Z ea21f49d-ebf9-45de-bc6c-a57322b0de4c Task timed out after 1.01 seconds

    • @Corbin_Brown
      @Corbin_Brown  ปีที่แล้ว

      Usually correlated with misnaming of variables, if the issue persists, try to output lower amounts of text to see if everything else is correct.

    • @mariodemartino1097
      @mariodemartino1097 ปีที่แล้ว

      I faced the same issue as @marcink79 I typed this code const response = await fetch(inputData["text"]);
      const text = await response.text();
      const words = text.split(" ");
      output = { result: words.slice(0, 20000).join(" ") }; is it the correct one?

    • @jacksandra1
      @jacksandra1 ปีที่แล้ว

      Once I upgraded to a paid subscription the code worked