Bot should trigger the CHATGPT during an unrecognized queries scenario

The client has raised a client for the requirement,
Bot should trigger the CHATGPT during an unrecognized queries scenario**
can you please help me can this is achievable?

  1. Perform the GPT-3 integration
  2. Create a Fallback flow (whenever a query is unknown, this flow will trigger).
    2.1 In this flow, store the unrecognised query in a string variable using {{data.message}}
    2.2 pass this variable as the prompt into the gpt-3 node
  3. Print the output

@Shilpa_Shree

thanks @gautham , will try as you mentioned