Custom Action or Custom Component?

Hi,

I have a situation where I would like to detect a date entity in an utterance, if a date appears I want to remove it from utterance and pass the remaining utterance to the service that sent it.

What’s the best approach for this? Is it best done as a custom action or component?

Thanks Qamir

Custom action.

A custom action is a way to extend the functionality of SharePoint, through adding new functionality to the UI and customizing the functionality of existing pages, while a custom component is a way to extend the functionality of SharePoint, through developing new functionality that is integrated with SharePoint pages.