Skip to main content
Question

javascript text request

  • May 6, 2024
  • 1 reply
  • 20 views

My zap is  (txt) google docs > java (to read file) > input to openai custom gpt > google spreads

 

i am having trouble with my code. It is below, all help is appreciated.

 

(ps I have no experience with Java)

 

const response = await fetch(inputData["text"]);

const text - avait response.text();

const words = text.split(* *);

output - { result: words-slice([, 10000)-join(* ") );

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

fiona819
Forum|alt.badge.img+3
  • New
  • 111 replies
  • May 8, 2024

@Auxo Can you show the screenshots of your flow or explain more what you are trying to achieve with the text file?