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

Website Name Change

I have changed the name of this website from Mining Business Data to BotFlo. I am offering a 70% off discount on my Dialogflow CX course (till April 15th 2021) for people who can help me spread the word about my new website.

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.

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.