I’m trying to build a workflow where I can block URLs and Domains from a Teams Message and I would like to be able to comments with the block request. Ideally, we would format the message so that when we block something in teams it looks like “[trigger] [url/domain] [comments]”.
I need a way to extract the comments from the message and not include the trigger or url.
I tried using the [trigger].[message].[words].[2:] variable since that’s the way to slice arrays in Python, however, that variable doesn’t return anything or appear to be valid.
I’ve also tried using a loop, but I can’t figure out how to set the starting point of the Loop to the value after the URL or use the output to only include iterations after the 2nd one.
The comments can contain multiple words so I’m at a loss of how to extract those comments from the words array but not include the first 2 words of the array.
Any help would be appreciated.