How to handle dynamic ChatGPT prompts

What’s the best way to set up a node to process a prompt generated by my front-end? Can I send the text of each prompt via a POST to the same node and then submit it to an AI model, like ChatGPT?

Hello! Just create a webhook to which you’ll send requests from the frontend of your application.


The request text will come as a variable, and you’ll simply be able to insert it into the prompt field.

1 Like