Skip to content

[Feature]: Event-triggered automations (auto-create tasks/notes) #395

@CodeWithInferno

Description

@CodeWithInferno

Problem

Recurring meetings often require preparation tasks or note creation. Users have to manually create these every time. For example, before every "Weekly 1:1" meeting, you need to prepare an agenda.

Solution

Allow users to define automation rules that trigger actions based on calendar events.

Features

  • Create rules: "When event matches X, do Y"
  • Triggers: event starts, N days/hours before event, event created
  • Actions: create task, create note from template
  • Match conditions: title contains, calendar equals, recurring

Example Rules

rules:
  - name: "1:1 Prep"
    match:
      title_contains: "1:1"
    trigger: "1d_before"
    action:
      type: "create_task"
      title: "Prepare agenda for {{event.title}}"
      
  - name: "Auto Meeting Notes"
    match:
      calendar: "Work"
    trigger: "on_start"
    action:
      type: "create_note"
      template: "meeting-note"

Implementation Tasks

  • Design automation rule schema
  • Create automation rules settings UI
  • Implement event matching logic
  • Implement time-based trigger checking
  • Create task action handler
  • Create note action handler
  • Background service to check upcoming events
  • Template variable support in actions

Priority

Low - Nice to have

Complexity

Complex - Major feature or architectural change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions