title: Why to use actions in Dialogflow
body: <p>I am new to Dialogflow so my question may be too simple. However, I do not understand what is the purpose of naming <code>actions</code> in Dialogflow. I have watched videos on youtube and people in them are using <code>actions</code> when they have a webhook. For example they may have an if condition in their source code 
  (e.g. in python </p>
  
  <pre><code>if action == 'action_name':
  ...
  </code></pre>
  
  <p>)
  which executes something particular in this case.</p>
  
  <p>However the json output which is retrieved by the source code has the following form: </p>
  
  <pre><code>{
    "id": "123d9e8e-314f-451b-8b15-5e3b55baa980",
    "timestamp": "2018-03-16T17:03:05.987Z",
    "lang": "en",
    "result": {
      "source": "agent",
      "resolvedQuery": "Hello",
      "action": "input.welcome",
      "actionIncomplete": false,
      "parameters": {},
      "contexts": [],
      "metadata": {
        "intentId": "effe6b2b-3372-4f89-882f-ff937b2b2abb",
        "webhookUsed": "false",
        "webhookForSlotFillingUsed": "false",
        "intentName": "Welcome"
      },
      "fulfillment": {
        "speech": "Hello, how can I help you?",
        "messages": [
          {
            "type": 0,
            "speech": "Hello, how can I help you?"
          }
        ]
      },
      "score": 1
    },
    "status": {
      "code": 200,
      "errorType": "success",
      "webhookTimedOut": false
    },
    "sessionId": "491d57cb-0af2-45ac-a658-9e47ec6658ce",
    "alternativeResultsFromKnowledgeService": {}
  }
  </code></pre>
  
  <p>Since the json data contains the <code>IntentName</code> why to bother naming an unique <code>action</code> for this specific <code>intent</code> when you can get directly the name of the <code>intent</code> in your json?</p>