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

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • 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 👈
    Navigate AI with Us 👇
    linktr.ee/webcafe
    Free AI Automation Workshop 💬
    aitraining.web...
    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 @webcafeai
    • Twitter: / webcafeai
    • TikTok: / webcafeai
    -------------------------------------------------
    ▼ Extra Links of Interest:
    ☕ Submit Your AI Business
    www.webcafeai....
    💰 Become an Affiliate: webcafesoftwar...
    ⚙️ AI Automation Tutorials: • Zapier For AI: Bridgin...
    Welcome! I'm Corbin ai, the CEO behind the vision of Webcafe AI Nexus. While I lead our ventures into the vast world of AI-driven solutions, it's no secret that my fuel is a mix of tech enthusiasm and copious amounts of coffee. I’m on a mission to architect an ecosystem of AI-focused SaaS platforms, all destined to reshape the business landscape.
    Together, we chart the unknown, innovate the unimaginable, and always have a cup ready for the next big idea ☕

Komentáře • 51

  • @webcafeai
    @webcafeai  Před 10 měsíci +8

    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 Před 3 měsíci

      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 Před 9 měsíci +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

  • @webcafeai
    @webcafeai  Před 10 měsíci +6

    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] || ""
    };

    • @roberthudson9342
      @roberthudson9342 Před 10 měsíci

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

    • @webcafeai
      @webcafeai  Před 10 měsíci

      @@roberthudson9342 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 Před 10 měsíci +1

      @@webcafeai 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 !

    • @webcafeai
      @webcafeai  Před 10 měsíci

      ​@@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 Před 10 měsíci

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

  • @TheHealmobile
    @TheHealmobile Před dnem +1

    Great video!

  • @TheMrsSusso
    @TheMrsSusso Před 4 měsíci

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

  • @MyXRLearning
    @MyXRLearning Před 8 měsíci +1

    Thank you so much. Your videos are so helpful!

  • @user-dx9nz8ue3e
    @user-dx9nz8ue3e Před 10 měsíci

    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!

  • @webcafeai
    @webcafeai  Před 9 měsíci

    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 ✏️

  • @ziadnahdi4343
    @ziadnahdi4343 Před 10 měsíci

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

  • @webcafeai
    @webcafeai  Před 10 měsíci

    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

  • @nerdsdoitbettervid
    @nerdsdoitbettervid Před 2 měsíci +1

    Where is the javaScript?

  • @frederikblegvadandersen5151
    @frederikblegvadandersen5151 Před 10 měsíci

    Hey Corbin - thank you very much. Spoton 🙏

  • @learningstuff5679
    @learningstuff5679 Před 10 měsíci +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?

    • @webcafeai
      @webcafeai  Před 10 měsíci +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.

  • @hammadyounas2688
    @hammadyounas2688 Před 2 měsíci

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

  • @learningstuff5679
    @learningstuff5679 Před 10 měsíci

    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

  • @WolfTheatres362
    @WolfTheatres362 Před 3 měsíci

    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?

  • @ivanazima8118
    @ivanazima8118 Před 4 měsíci

    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?

  • @grant-taleck
    @grant-taleck Před 8 měsíci +2

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

    • @webcafeai
      @webcafeai  Před 8 měsíci

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

    • @grant-taleck
      @grant-taleck Před 8 měsíci

      actually, I figure the better way to do this now is through the method you mention in this video? czcams.com/video/bnCDtIYCTsA/video.html

  • @joshuabowman442
    @joshuabowman442 Před 10 měsíci +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?)

    • @webcafeai
      @webcafeai  Před 10 měsíci +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 Před 5 měsíci +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

  • @rehatvirk1807
    @rehatvirk1807 Před 6 měsíci

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

  • @masdeia
    @masdeia Před 7 měsíci +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.

    • @webcafeai
      @webcafeai  Před 7 měsíci

      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 Před 7 měsíci

      @@webcafeai 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

  • @user-tj9po8yr1z
    @user-tj9po8yr1z Před 10 měsíci

    The java script gives me an Error. Help.

  • @learningstuff5679
    @learningstuff5679 Před 10 měsíci

    Also would love to start seeing timestamps in your videos.

  • @jacksandra1
    @jacksandra1 Před 9 měsíci

    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?

    • @webcafeai
      @webcafeai  Před 9 měsíci

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

  • @marcink79
    @marcink79 Před 10 měsíci

    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

    • @webcafeai
      @webcafeai  Před 10 měsíci

      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 Před 9 měsíci

      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 Před 9 měsíci

      Once I upgraded to a paid subscription the code worked