Hi,
I'm looking for a way to set automation so that if a page contains a certain word, it adds a certain label, in this case a label of that same word
For example:
"We are in a house and there is a chair and a table"
I want it to add a rule for each of the underlined so that it adds a "chair" label, and a "table" label.
In the working scenario, these would be names of systems being mentioned.
I have managed to get it to do it once with the title, because the wording for it is the default in the field (even though when I tried to do it a second time, it didn't work. I think i'm in the right place but I don;t know what the wording would be; {{page.content}}, {{page.body}} - contains... etc
I'd also like to query whether "When: page published" is JUST for the initial first publishing of a page, or whether it would trigger when the page is re-published / updated.
Thanks
I played for a while longer and managed to answer my own question with
WHEN: Page edit
CQL
IF: space = "spacename" and text ~ "batman"
THEN: Add label - thelabel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.