# How to redirect a query from text input to dialogflow webviewer for building app that includes a chatbot?

**URL:** <https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962>\
**Category:** Questions about Thunkable X\
**Created:** [May 30, 2021, 3:01am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962 "2021-05-30T03:01:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadowcrosser10](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shadowcrosser10](https://community.thunkable.com/u/shadowcrosser10)\
**Post date:** [May 30, 2021, 3:01am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/1 "2021-05-30T03:01:14Z")

</div>

Hi,  
I am trying to build an app that takes in text input for chat app but also redirects this text input to a chatbot using dialogflow. Please see the images below. Can I redirect the text to dialogflow using post message? Or is there a way to sync the text and chatbot messages so that the user dont need to type the same query twice. Appreciate your help. Thanks!  
 ![Screenshot 2021-05-29 at 10.48.52 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/4/34b6c13e39ec30c778a05e0ee3ce19d8d56eb930.png)

---

<div class="post-metadata">

**Author:** ![shadowcrosser10](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shadowcrosser10](https://community.thunkable.com/u/shadowcrosser10)\
**Post date:** [May 30, 2021, 3:04am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/2 "2021-05-30T03:04:18Z")

</div>

Adding the app design for reference:

 ![Screenshot 2021-05-29 at 10.47.22 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/7/17a4170180cae41b8d65a57f731f6acf1028cdb1.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 30, 2021, 3:09am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/3 "2021-05-30T03:09:06Z")

</div>

You can set a variable to a text input’s text and that way you can use the variable in as many places as you want.

---

<div class="post-metadata">

**Author:** ![shadowcrosser10](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shadowcrosser10](https://community.thunkable.com/u/shadowcrosser10)\
**Post date:** [May 30, 2021, 3:11am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/4 "2021-05-30T03:11:27Z")

</div>

But dialogflow has its own textbox that text content we have no access to. I want to send my text input to dialogflow box.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 30, 2021, 3:48am UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/5 "2021-05-30T03:48:01Z")

</div>

Okay, sorry, I’m not familiar with that.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/how-to-redirect-a-query-from-text-input-to-dialogflow-webviewer-for-building-app-that-includes-a-chatbot/1315962/6 "2024-11-08T13:22:15Z")

</div>


