input: Write a function to create a Flask app that listens for POST requests on the '/webhook' route. Extract 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_app().post("/webhook").json()["speech"] == "Buscando productos para tipo_cliente"
  assert webhook_app().post("/webhook").json()["speech"] == "No encontrado"
  assert webhook_app().post("/webhook").json()["speech"] == "Buscando informacion del producto producto"
  assert webhook_app().post("/webhook").json()["speech"] == "Seguros Sura Colombia ofrece los siguientes planes de salud: \nPlan1\nPlan2\nPlan3"
  assert webhook_app().post("/webhook").json()["speech"] == "Los profesionales que coinciden con tu busqueda son: \nMedico1\nDireccion: Direccion1\nTelefono: Telefono1\nMedico2\nDireccion: Direccion2\nTelefono: Telefono2"
  assert webhook_app().post("/webhook").json()["speech"] == "Buscando coberturas del producto: producto"
output: 
  def webhook_app():
      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)
  
      return app
  