I'm creating an Action for Google Assistant with dialogflow. The tasks in background are handled in javascript in the fulfilment section. I'm a beginner, so I don't want to use my own server here.
However the fulfilment js-file is actually a firebase function. Because I need more than one js file (I want to use a library from github) I have to use another way to edit the files because in the dialogflow fulfilment section there is no availability to add more files. I installed the firebase SDK, used firebase init
and choose the existing project to initialize an empty folder on my computer. I thought this might download the existing function created by dialogflow, so I can edit it an push it again. But actually a hello world js was created in the folder, so this was the wrong way.
How can I download the firebase function so can edit it on my pc and push it again with more files?