# Recurrence Rules (RRule)

Recurrence rules are a [standardized](https://datatracker.ietf.org/doc/html/rfc2445#section-4.8.5.4) way to define the schedule for a recurring event like an <code class="expression">space.vars.automation</code> Trigger. <code class="expression">space.vars.Kizen\_company\_name</code> provides a simple, easy to use UI set up recurring events, but for advanced or complex cases you may enter RRULEs directly.

For example, if you wanted your <code class="expression">space.vars.automation</code> to run on the second Monday and last Friday of each month:

```apache
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2MO,-1FR
```

There are a number of community-maintained and official [tutorials](https://www.nylas.com/blog/calendar-events-rrules/), [calculators](https://icalendar.org/rrule-tool.html), and [validators](https://balsoftware.net/rrule/) you can use to create advanced schedules.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.kizen.com/docs/concepts/agentic-workflows/automation-code-steps/recurrence-rules-rrule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
