title: DialogFlow Parameter value
body: <p>In Dialogflow I have a Intent called GetLocation. The user can input a phrase like: I want to look at India, and the Parameter "<strong>Location</strong>", stores that location. For my Paramater, its name is "<strong>Location</strong>" and its entity is <code>sys.location</code>. Dialog Flow is able to recognize my location. </p>
  
  <p>Next, Dialog Flow writes to my Firebase database and writes to the location parameter of the database (location: (location from DialogFlow). The problem is, instead of normally writing to the location parameter of the database, it also changes the "<strong>location</strong>" to admin-area: (location from DialogFlow). How do I stop it from renaming the location parameter in the firebase database?</p>
  
  <p>Here is my Fulfillment code: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function yourFunctionHandler(agent) {
  
         const location = agent.parameters.Location; 
  
      
  
      return admin.database().ref('locations').transaction((locations) =&gt; {
      if(locations !== null) {
  
        locations.place = location;
        
        
        agent.add(`Our recorded locations ` + location);
  
      }
  
      return location;
    }, function(error, isSuccess) {
      
    });
      
    //  return admin.database().ref('/locations/place').set(location);
    }</code></pre>
  </div>
  </div>
  </p>