So when the email arrives, it will look something like this in the HTML to Text:
Case 123456789 arrived in the queue
SLA due in 3h 57m
--- Open in Tool
Open in Tool
Customer: Some Customer
Case Title: Some Title
Some will have more text, but what I care about is what is in blue above.
I want to remove EVERYTHING after the time, which will vary, but the three dashes are always there ---
So maybe keep everything before that.
How do I do that?
Use Split function to extract the value before '---'
Expression --> trim(first(split(triggerBody()['text'],'---')))"
If you like my response, please give it a Thumbs Up.
If this helps, please Accept as solution.
Regards
Kaif
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492