Automate Invoice Data Extraction with Zapier & ChatGPT in 5 steps

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 16

  • @junmarmirantes8864
    @junmarmirantes8864 3 месяца назад

    it really help me! thank you for this very informational tips!

  • @VitorDeCastro-g4d
    @VitorDeCastro-g4d 3 месяца назад

    Great Content. I couldn't use because it says that I achieved my limit with API. Since I never used. I guess it is because my invoice contains more values to extract.

  • @AndreiGalis-c7m
    @AndreiGalis-c7m 2 месяца назад +2

    Hey Corbin.the code is not working ,The error "ReferenceError: Cannot access 'text' before initialization" occurs because the variable text is being used before it is declared. In your code, you are trying to access inputData[text] before text is initialized. To fix this, declare and initialize text before using it.

    • @AIPr0ductivity
      @AIPr0ductivity 26 дней назад +1

      const response = await fetch(inputData["text"]);
      const text = await response.text();
      const words = text.split(" ");
      const result = words.slice(0, 3000).join(" ");
      output = { result: result };

  • @alexandermercado1707
    @alexandermercado1707 2 месяца назад +2

    Could you share the code for Java Script. The Zap Template wont work

    • @AIPr0ductivity
      @AIPr0ductivity 26 дней назад +1

      const response = await fetch(inputData["text"]);
      const text = await response.text();
      const words = text.split(" ");
      const result = words.slice(0, 3000).join(" ");
      output = { result: result };

  • @HankScorpio94
    @HankScorpio94 2 месяца назад

    When I go to do this I get the result output as a bunch of random characters / code that starts with hydrate|||
    how do I get it to be the plain text of the doc?

  • @FrederikBlegvadAndersen-cu8fm
    @FrederikBlegvadAndersen-cu8fm 4 месяца назад

    Great

  • @alexandermercado1707
    @alexandermercado1707 2 месяца назад +1

    Did this help anyone, I could not get this to work

    • @AIPr0ductivity
      @AIPr0ductivity 26 дней назад

      const response = await fetch(inputData["text"]);
      const text = await response.text();
      const words = text.split(" ");
      const result = words.slice(0, 3000).join(" ");
      output = { result: result };

  • @Corbin_Brown
    @Corbin_Brown 4 месяца назад

    😃

  • @Ms-b8t
    @Ms-b8t 4 месяца назад +1

    I recently automated PDF data extraction for the company I work for. I used Python, selenium and Fidz (pdf processing library).
    Is this approach of using chatgpt and zapier to automate PDF data extraction not overkill?

    • @japanlove8249
      @japanlove8249 4 месяца назад

      It's much easy for people who don't know coding(like me)

    • @jonas3985
      @jonas3985 3 месяца назад +1

      Hey, i am working on the same task right now for my company and i got a little stuck. i want all of the Items to be in seperat fields, but that doesnt seem to work with Zapier. Could you maybe elaborate a little how you did yours? That would be very helpful!

    • @Ms-b8t
      @Ms-b8t 3 месяца назад +1

      @@jonas3985 Yhh so having zapier and chatgpt thrown into the mix would add unnecessary complexity in my opinion.
      Prompt 4o about using python and its libraries called selenium and fids. Much more straightforward. Here you’ll only be working on one script as opposed to a couple different layers