it really help me! thank you for this very informational tips!
@alexandermercado17072 ай бұрын
Could you share the code for Java Script. The Zap Template wont work
@AIPr0ductivity20 күн бұрын
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 };
@AndreiGalis-c7m2 ай бұрын
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.
@AIPr0ductivity20 күн бұрын
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 };
@VitorDeCastro-g4d2 ай бұрын
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.
@HankScorpio94Ай бұрын
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?
@alexandermercado17072 ай бұрын
Did this help anyone, I could not get this to work
@AIPr0ductivity20 күн бұрын
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 };
@FrederikBlegvadAndersen-cu8fm4 ай бұрын
Great
@Corbin_Brown4 ай бұрын
😃
@Ms-b8t4 ай бұрын
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?
@japanlove82493 ай бұрын
It's much easy for people who don't know coding(like me)
@jonas39853 ай бұрын
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-b8t3 ай бұрын
@@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