async processActions(intent, input) {
    const actionList = this.findActions(intent);
    if (input && typeof input === 'object') {
      input.actions = actionList.map((x) => ({
        action: x.action,
        parameters: x.parameters,
      }));
    }
    let processedAnswer = input;

    for (const { fn, parameters } of actionList) {
      if (fn) {
        const newProcessedAnswer = await fn(
          processedAnswer,
          ...(parameters || [])
        );
        if (newProcessedAnswer) {
          if (typeof processedAnswer === 'object') {
            if (typeof newProcessedAnswer === 'object') {
              processedAnswer = newProcessedAnswer;
            } else {
              processedAnswer.answer = newProcessedAnswer;
            }
          } else {
            processedAnswer = newProcessedAnswer;
          }
        }
      }
    }

    return processedAnswer;
  }
Returns a processed answer after execute a list of given actions.
@param {String} intent Name of the intent.
@param {String|Object} input original answer data structure