I got this question in a comment recently:
I have been asked this question a few times, so this might be a good opportunity to clarify.
The inline editor uses Firebase cloud functions
The code editor inside the Dialogflow console, also called as the Inline Editor, is actually used only for writing Firebase cloud functions. And even the type of code you can write within the inline editor using cloud functions is a bit limited. (For example, right now, if you want to write code that saves to a database you cannot do so from the inline editor, to the best of my understanding. You need to go to the regular webhook in that case.)
The inline editor in Dialogflow is intended to be a very simple, quickstart tool and can only be used for writing NodeJS code at the time of this writing.
In all likelihood, you will graduate to using the regular webhook fairly quickly once you get an understanding of how webhooks work.
This website contains affiliate links. See the disclosure page for more details.
Check out my free YouTube courses Dialogflow CX Beginner Tutorial Dialogflow ES vs CX using a Decision Tree Bot Intro to NLU for technical non-programmers Better Dialogflow ES Bots Using the CTFS Framework Search the autogenerated transcripts of all my YouTube videos
"The magic key I needed as a non-programmer" The custom payload generator was the magic key I needed (as a non-programmer) to build a good demo with rich responses in DialogFlow Messenger. I've only used it for 30 minutes and am thrilled. I've spent hours trying to figure out some of the intricacies of DialogFlow on my own. Over and over, I kept coming back to Aravind's tutorials available on-line. I trust the other functionalities I learn to use in the app will save me additional time and heartburn. - Kathleen R Cofounder, gathrHealth