ifs(
!prop("Subject"), "",
prop("Subject").test("Health|Personal Finances"), "Personal",
"Work"
)
ifs(
!prop("Subject"), "",
prop("Subject").test("One|Two|Three"), "Category 1",
prop("Subject").test("Four|Five|Six"), "Category 2",
prop("Subject").test("Seven|Eight|Nine|Ten"), "Category 3"
)
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1649d2f9-1b45-478a-86b4-341fbe27e06f/benny.png" width="40px" /> By Ben • Latest • Was this helpful? Please consider buying me a coffee. Cheers!
</aside>