Re: condition to check if the field has specific keywords in the value

{"id":"321e053c-7e66-4cdb-83d9-fb1b7547eb0d","brandColor":"#8C3900","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline/connections/shared-sharepointonl-b959cb53-5ecb-4b41-805f-06e7795a0bd2"}}},"connectorDisplayName":"Control","icon":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KIDxwYXRoIGQ9Im0wIDBoMzJ2MzJoLTMyeiIgZmlsbD0iIzhDMzkwMCIvPg0KIDxwYXRoIGQ9Im04IDEwaDE2djEyaC0xNnptMTUgMTF2LTEwaC0xNHYxMHptLTItOHY2aC0xMHYtNnptLTEgNXYtNGgtOHY0eiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=","isTrigger":false,"operationName":"Scope_search_for_key_words","operationDefinition":{"type":"Scope","actions":{"Compose_key_words":{"type":"Compose","inputs":["learning","skills","development"],"runAfter":{}},"Compose_sample_text":{"type":"Compose","inputs":"This is a sample text to find key words like learning or so","runAfter":{"Compose_key_words":["Succeeded"]}},"Filter_key_words":{"type":"Query","inputs":{"from":"@outputs('Compose_key_words')","where":"@contains(toLower(outputs('Compose_sample_text')), item())"},"runAfter":{"Compose_sample_text":["Succeeded"]},"description":"toLower(outputs('Compose_sample_text'))"},"Compose_key_word_found":{"type":"Compose","inputs":"@if(equals(length(body('Filter_key_words')), 0), false, true)","runAfter":{"Filter_key_words":["Succeeded"]},"description":"if(equals(length(body('Filter_key_words')), 0), false, true)"}},"runAfter":{}}}
Of course you won't need the first 2 actions because one is the trigger where you receive the text and the other should be a global variable you use in filter array. The last action is just to show if the key word is found or not. Depending on your usecase this could be an update action or a condition or whatever.