๐ Rotation Rules
Rotation rules let you define a single key with multiple values that Nota rotates on a schedule.Use them for expiring tokens, limited-use test accounts, promo codes, or any data that should change over time.
Key Concepts
| Setting | Description | Example |
|---|---|---|
| Key | The name you reference in workflows. | API_KEY, QA_USER_EMAIL |
| Values | A list of values Nota cycles through. | ["sk_test_a", "sk_test_b", "sk_test_c"] |
| Start Date | When rotation begins; nothing rotates before this date. | 2025-06-01 |
| Interval | How often Nota advances to the next value. | Hourly, Daily, Weekly, Monthly, Custom |
Supported Intervals
| Interval | When it advances |
|---|---|
| Hourly | At the top of each hour |
| Daily | Every calendar day |
| Weekly | Every 7 days |
| Monthly | Same day each month |
| Custom | Specify the number of days between rotations |
๐ Start Date Matters: Nota uses the start date as the anchor point when calculating which value should be active at runtime.
Create or Edit a Rule
- Go to Settings โ Rotation Rules.
- Click โ Add Rule or select an existing rule to adjust.
- Enter the Key, list of Values, Start Date, and Interval.
- SaveโNota immediately begins serving the correct value based on the schedule.
Bulk Upload via JSON
Upload multiple rules at once using a JSON file. Each rule follows this structure:Real-World Example

Best Practices
- Pair with Environment Variables: Store the rotation key once, then consume it via environment variables in workflows.
- Test ahead of time: Use a closer start date in staging to validate behavior before mirroring in production.
- Document ownership: Note who maintains each rule so rotations stay coordinated with downstream systems.

