input: Write a function to create a Python Flask app that listens for POST requests on the '/webhook' route. When a request is received, extract the necessary parameters from the request and call the 'makeWebhookResult' function to generate a response. The response should be a JSON object containing a 'speech' field with the text to be spoken by the voice assistant. The app should be started on port 5000 and run in debug mode.
  assert webhook_response == {
      "speech": "Buscando productos para cliente_type",
      "displayText": "Buscando productos para cliente_type",
      "source": "apiai-onlinestore-shipping"
  }
  assert webhook_response == {
      "speech": "No encontrado",
      "displayText": "No encontrado",
      "source": "apiai-onlinestore-shipping"
  }
  assert webhook_response == {
      "speech": "Seguros Sura Colombia ofrece los siguientes planes de salud: \nPlan 1\nPlan 2",
      "displayText": "Seguros Sura Colombia ofrece los siguientes planes de salud: \nPlan 1\nPlan 2",
      "source": "apiai-onlinestore-shipping"
  }
  assert webhook_response == {
      "speech": "Los profesionales que coinciden con tu busqueda son: \nMedico 1\n Direccion: Direccion 1\n Telefono: Telefono 1",
      "displayText": "Los profesionales que coinciden con tu busqueda son: \nMedico 1\n Direccion: Direccion 1\n Telefono: Telefono 1",
      "source": "apiai-onlinestore-shipping"
  }
  assert webhook_response == {
      "speech": "Buscando coberturas del producto: producto_type",
      "displayText": "Buscando coberturas del producto: producto_type",
      "source": "apiai-onlinestore-shipping"
  }
output: from flask import Flask, request, jsonify
  
  app = Flask(__name__)
  
  @app.route('/webhook', methods=['POST'])
  def webhook():
      req = request.get_json(silent=True, force=True)
      res = makeWebhookResult(req)
      return jsonify(res)
  
  if __name__ == '__main__':
      app.run(port=5000, debug=True)