input: from flask import Flask, request, make_response, jsonify
  
  def create_webhook_app() -> Flask:
      """
      Create a 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.
      
      >>> app = create_webhook_app()
      >>> app.run(debug=False)
       * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
      """
      app = Flask(__name__)
  
      @app.route('/webhook', methods=['POST'])
      def webhook():
          req = request.get_json(silent=True, force=True)
          res = makeWebhookResult(req)
          return jsonify(res)
  
      def makeWebhookResult(req):
          result = req.get("result")
          parameters = result.get("parameters")
          
          if req.get("result").get("action") == "productos.sura":
              cliente = parameters.get("tipo_cliente")
              speech = "Buscando productos para " + cliente
              
          elif req.get("result").get("action") == "producto.info":
              producto = parameters.get("producto")
              if (producto == "hogar"):
                  speech = "No encontrado"  # Assuming the content is not found for simplicity
              else:
                  speech = "Buscando informacion del producto " + producto
              
          elif req.get("result").get("action") == "planes.salud":
              speech = "Seguros Sura Colombia ofrece los siguientes planes de salud: \nPlan 1\nPlan 2\nPlan 3"  # Mock response for simplicity
          
          elif req.get("result").get("action") == "info.especialistas":
              speech = "Los profesionales que coinciden con tu busqueda son: \nMedico 1\nMedico 2"  # Mock response for simplicity
          
          elif req.get("result").get("action") == "coberturas.producto":
              producto = parameters.get("productos")
              speech = "Buscando coberturas del producto: " + producto
          
          else:
              speech = " "
  
          return {
              "speech": speech,
              "displayText": speech,
              "source": "apiai-onlinestore-shipping"
          }
  
      return app
output:     app.run(port=5000, debug=True)