I got this question on my Drift chatbot.
Yes, you can use any language for your webhook, and Python is a good choice considering that many beginners find it quite easy to learn.
Generally speaking, you should choose the language you are most comfortable with.
However, if you are building a Google Assistant app, I recommend using NodeJS because the documentation is much better for Node when compared to the other languages.
Don't forget to watch my mini-course which helps you understand the request-response cycle of a webhook. Learning this concept well will make it much easier for you to build your bot.
Also, check out my Dialogflow Webhooks course which will help you get started. 🙂 The code samples are in PHP, but the PHP code is very simple to read and you will probably won't find it difficult to port it to other languages.
- Using Collect.chat for preNLU bots
- Reader Question: How to get some sample training data for Dialogflow?
- Getting the top 3 (or top N) intents in Dialogflow: An experiment
- Dialogflow Regexp (regular expression) entity
- Using Dialogflow for educational bots
- Chatbot makes $3 million in sales in 1 hour
- Reader Question: Intent based FAQ bots vs knowledge based FAQ bots
- Should you use Dialogflow from scratch?
- 3 ways Airtable can speed up your Dialogflow prototype development
- Automatically generating a rich Dialogflow website chatbot