Automatically setting review frequency based on tag

Hello, the title is pretty self-explanatory. I’d like to be able to automatically assign a “Review Every” time based on tags I assign at the project level. For example, if I give a project my “someday/maybe” tag, it should review every six months, but if I give it my “next” tag it should review every day.

Hint:

See OmniAutomation API. There is reviewInterval instance property of Project class.

var reviewIntervalProject.ReviewInterval

The object holding the review repetition properties for this project.