# Bot should trigger the CHATGPT during an unrecognized queries scenario

**URL:** <https://community.yellow.ai/t/bot-should-trigger-the-chatgpt-during-an-unrecognized-queries-scenario/4061>\
**Category:** Studio\
**Tags:** builder\
**Created:** [April 10, 2023, 9:05pm UTC](https://community.yellow.ai/t/bot-should-trigger-the-chatgpt-during-an-unrecognized-queries-scenario/4061 "2023-04-10T21:05:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shilpa\_Shree](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/shilpa_shree/32/1121_2.png) [@Shilpa\_Shree](https://community.yellow.ai/u/Shilpa_Shree)\
**Post date:** [April 10, 2023, 9:05pm UTC](https://community.yellow.ai/t/bot-should-trigger-the-chatgpt-during-an-unrecognized-queries-scenario/4061/1 "2023-04-10T21:05:32Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gautham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/gautham/32/1593_2.png) [@gautham](https://community.yellow.ai/u/gautham)\
**Post date:** [April 11, 2023, 4:50am UTC](https://community.yellow.ai/t/bot-should-trigger-the-chatgpt-during-an-unrecognized-queries-scenario/4061/2 "2023-04-11T04:50:50Z")

</div>

1. [Perform the GPT-3 integration](https://docs.yellow.ai/docs/platform_concepts/appConfiguration/gpt3#docusaurus_skipToContent_fallback)
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

---

<div class="post-metadata">

**Author:** ![Shilpa\_Shree](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.yellow.ai/shilpa_shree/32/1121_2.png) [@Shilpa\_Shree](https://community.yellow.ai/u/Shilpa_Shree)\
**Post date:** [April 14, 2023, 9:45am UTC](https://community.yellow.ai/t/bot-should-trigger-the-chatgpt-during-an-unrecognized-queries-scenario/4061/3 "2023-04-14T09:45:04Z")

</div>

thanks @gautham , will try as you mentioned
