input: def create_flask_app() -> Flask:
      """ Create a Python Flask app that listens for POST requests on the '/webhook' route. 
      Extract necessary parameters from the request, 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_flask_app()
      >>> client = app.test_client()
      >>> response = client.post('/webhook', json={"result":{"action":"productos.sura", "parameters":{"tipo_cliente":"Gold"}}})
      >>> response.get_json()['speech']
      'Buscando productos para Gold'
      """
output:     
      from flask import Flask, request, jsonify
  
      app = Flask(__name__)
  
      def makeWebhookResult(action, parameters):
          if action == "productos.sura":
              tipo_cliente = parameters.get("tipo_cliente", "")
              return {"speech": f"Buscando productos para {tipo_cliente}"}
          return {"speech": "Acción no reconocida"}
  
      @app.route('/webhook', methods=['POST'])
      def webhook():
          req = request.get_json(silent=True, force=True)
          result = req.get("result", {})
          action = result.get("action", "")
          parameters = result.get("parameters", {})
          response = makeWebhookResult(action, parameters)
          return jsonify(response)
  
      if __name__ == '__main__':
          app.run(port=5000, debug=True)
  