How to send ChatGPT a pre-defined message using user data?

Hi,

I've been using Flutterflow for about a month and still have a lot to learn. I've set up an API connection with ChatGPT and have watched tutorials but can't see any on how to send pre-defined messages. How can I do the below?

  1. Users clicks 'Generate' button on page.

  2. API call made to ChatGPT with pre-defined body using user data. E.g. "Provide me a list of items for userdata1, userdata2, userdata3..."

  3. Response is returned and displayed in a list in app. Returned list can have items removed or manually added.

Hoping someone can help.

Thanks!

Steve

1
2 replies