Issue with Multiple ChatGPT API Calls in One Page


I am working on a project in Adalo where I need to make multiple API calls to ChatGPT and display the responses sequentially on the same page. Here is the workflow I am trying to achieve:

  1. Input 1: User enters text.
  2. Prompt 1: Combine the input with a specific prompt and send it to ChatGPT.
  3. Output 1: Display ChatGPT’s response in Output 1 field.
  4. Input 2: User enters another text after scrolling down on the same page.
  5. Prompt 2: Combine the second input with a different prompt and send it to ChatGPT.
  6. Output 2: Display ChatGPT’s response in Output 2 field.

I want to repeat this process about five times.

The problem I’m facing is that while the first API call works perfectly and the response is shown in Output 1, the second API call does not display the response in Output 2.

Could anyone help me understand what might be going wrong and how to ensure that each subsequent ChatGPT response is displayed in the correct output field?

Thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.