Home / DialogFlow ES / You can use only NodeJS in the inline editor of Dialogflow
DialogFlow ES | NodeJS | Webhooks

You can use only NodeJS in the inline editor of Dialogflow

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.)

Summary

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
In this free course, I provide some tips for managing large Dialogflow ES bots without compromising on accuracy.

Similar Posts

8 Comments

  1. “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 statement above is not true. You can connect to firebase database via inline editor.

    1. Thanks for the heads up. At one point the code connecting to the DB would not work (even though in theory it was possible) because of some limitation with the deployment process from the inline editor.

      Good to see this has been fixed. If you can give me a link to a working example, I am happy to update the post with your link.

      1. Hi Aravind,
        Could you plz exaplin as to why I get the below error

        “Billing account not configured. External network is not accessible and quotas are severely limited. Configure billing account to remove these restrictions.”

        1. I am not completely sure, but I think you need to move to one of Firebase’s paid tiers to be able to call external (to Google Cloud) services. If I am not mistaken, it still has a very generous free quota so you probably will not have to spend any money unless you exceed the quota, but I suppose you do need to give them credit card information up front.