オートメーションでタスクを自動処理する
オートメーション機能を使って、条件に合うタスクの期限変更、タグ操作、ステータス変更などを自動化する方法を説明します。
この記事では、オートメーション機能を使ってタスクを自動的に更新する方法を説明します。条件に合うタスクに対して、期限の変更、タグの追加・削除、ステータスの変更、スリープの設定を自動実行できます。
オートメーションパネルを開く
- サイドバーの 「オートメーション」 をクリックします。
- オートメーション管理パネルが開きます。
パネルは左側にルール一覧、右側に編集エリアが表示されます。
新しいルールを作成する
- ルール一覧の 「ルール追加」 ボタンをクリックします。
- 右側に編集フォームが表示されます。
- 以下のセクションを設定します。
基本情報を設定する
基本情報 セクションを展開して設定します。
- ルール名: ルールの名前(例: 「期限切れタスクを明日に延期」)
- トリガー(実行タイミング): ルールを実行するタイミング
- 説明: ルールの説明(オプション)
トリガーの種類
| トリガー | 説明 |
|---|---|
| 手動 | 「実行」ボタンをクリックした時のみ実行 |
| アプリ起動時 | kakikoを起動した時に自動実行 |
| 毎日 | 日付が変わった時とアプリ起動時に自動実行(1日1回) |
フィルター条件を設定する
フィルター セクションを展開して、対象タスクの条件を設定します。
フィルターで指定できる条件:
- ステータス(未着手、進行中、中断、完了)
- タグ(特定のタグを含む/含まない)
- 期限(今日、今週、期限なし、期限切れなど)
- プロジェクト
- スリープ状態
複数の条件を組み合わせると、すべての条件に一致するタスクが対象になります。
アクションを設定する
アクション セクションを展開して、実行する処理を追加します。
- 「アクション追加」 ボタンをクリックします。
- アクションの種類を選択します。
- 必要なパラメータを入力します。
複数のアクションを追加すると、上から順に実行されます。
期限に関するアクション
| アクション | 説明 |
|---|---|
| 期限を指定日に設定 | 特定の日付を期限に設定 |
| 期限を相対日に設定 | 今日、明日、今週末、来週などを期限に設定 |
| 期限をずらす | 現在の期限から指定日数分移動 |
タグに関するアクション
| アクション | 説明 |
|---|---|
| タグを追加 | 指定したタグを追加 |
| タグを削除 | 指定したタグを削除 |
| タグを置換 | 特定のタグを別のタグに置き換え |
その他のアクション
| アクション | 説明 |
|---|---|
| ステータスを変更 | タスクのステータスを変更 |
| スリープを設定 | タスクをスリープ状態に設定 |
| スリープを解除 | スリープ状態を解除 |
プレビューで確認する
プレビュー セクションを展開すると、ルールの実行結果を事前に確認できます。
- 条件に一致するタスクの一覧が表示されます。
- 各タスクに適用される変更がバッジで表示されます。
- 「対象 X 件 / 変更あり Y 件」と件数が表示されます。
変更内容を確認してから実行または保存してください。
ルールを保存する
- 設定が完了したら 「保存」 ボタンをクリックします。
- ルールが保存され、トリガーに応じて実行されます。
ルールを手動で実行する
- ルール一覧から実行したいルールを選択します。
- 「実行」 ボタンをクリックします。
- フィルター条件に一致するタスクにアクションが適用されます。
トリガーが「手動」以外のルールも手動実行できます。
ルールを無効化(有効化)する
オートメーションルールは一時的に無効にすることができます。
- ルール一覧の有効/無効切り替えのトグルスイッチを切り替える
ルールの順序を変更する
複数のルールがある場合、実行順序を変更できます。
- ルール一覧の 「順序変更」 ボタンをクリックします。
- 上下矢印 でルールを移動します。
- 順序変更モードを終了します。
アプリ起動時や毎日のトリガーでは、ルールが順序通りに実行されます。
ルールを削除する
- ルール一覧で削除したいルールを選択します。
- 「削除」 ボタンをクリックします。
- 確認ダイアログで 「削除」 をクリックします。
ルールを無効にする
- ルール編集エリアの 「有効」 チェックボックスをオフにします。
- 「保存」 をクリックします。
無効なルールは自動実行されませんが、手動実行は可能です。
活用例
期限切れタスクを明日に延期
- フィルター: 期限 = 「期限切れ」
- アクション: 期限を相対日に設定 = 「明日」
完了タスクのタグを整理
- フィルター: ステータス = 「完了」、タグ = 「作業中」を含む
- アクション: タグを削除 = 「作業中」
特定プロジェクトのタスクをスリープ
- フィルター: プロジェクト = 「一時保留プロジェクト」
- アクション: スリープを設定 = 「来月」
相対日付について
「今日」「明日」などの相対日付は、ルール実行時の日付を基準に計算されます。
- 保存時ではなく実行時に評価されます。
- 毎日トリガーのルールでは、毎日異なる日付が設定されます。
Automate Task Processing with Automation
Learn how to use the Automation feature to automatically change due dates, manage tags, update statuses, and more for tasks that match specific conditions.
This article explains how to use the Automation feature to automatically update tasks. You can automatically change due dates, add or remove tags, update statuses, and set Sleep for tasks that match specified conditions.
Open the Automation Panel
- Click “Automation” in the sidebar.
- The Automation management panel will open.
The panel displays a list of rules on the left and an editing area on the right.
Create a New Rule
- Click the “Add Rule” button in the rule list.
- An editing form will appear on the right side.
- Configure the following sections.
Set Basic Information
Expand the Basic Information section to configure it.
- Rule Name: The name of the rule (e.g., “Postpone overdue tasks to tomorrow”)
- Trigger (Execution Timing): When to execute the rule
- Description: A description of the rule (optional)
Trigger Types
| Trigger | Description |
|---|---|
| Manual | Runs only when you click the “Run” button |
| On App Launch | Runs automatically when kakiko starts |
| Daily | Runs automatically when the date changes and on app launch (once per day) |
Set Filter Conditions
Expand the Filter section to set conditions for target tasks.
Available filter conditions:
- Status (Not Started, In Progress, Paused, Completed)
- Tags (include/exclude specific tags)
- Due date (Today, This week, No due date, Overdue, etc.)
- Project
- Sleep status
When multiple conditions are combined, only tasks matching all conditions will be targeted.
Set Actions
Expand the Action section to add the operations to perform.
- Click the “Add Action” button.
- Select the action type.
- Enter the required parameters.
When multiple actions are added, they are executed from top to bottom.
Due Date Actions
| Action | Description |
|---|---|
| Set due date to specific date | Set a specific date as the due date |
| Set due date to relative date | Set Today, Tomorrow, This weekend, Next week, etc. as the due date |
| Shift due date | Move the current due date by a specified number of days |
Tag Actions
| Action | Description |
|---|---|
| Add tag | Add a specified tag |
| Remove tag | Remove a specified tag |
| Replace tag | Replace a specific tag with a different tag |
Other Actions
| Action | Description |
|---|---|
| Change status | Change the task status |
| Set Sleep | Set the task to Sleep mode |
| Remove Sleep | Remove Sleep mode |
Preview the Results
Expand the Preview section to see the rule’s execution results before running it.
- A list of tasks matching the conditions is displayed.
- Changes to be applied to each task are shown with badges.
- The count is displayed as “Target: X items / Changes: Y items”.
Review the changes before running or saving the rule.
Save a Rule
- When configuration is complete, click the “Save” button.
- The rule is saved and will run according to its trigger.
Run a Rule Manually
- Select the rule you want to run from the rule list.
- Click the “Run” button.
- Actions will be applied to tasks matching the filter conditions.
Rules with triggers other than “Manual” can also be run manually.
Disable (Enable) a Rule
Automation rules can be temporarily disabled.
- Toggle the enable/disable switch in the rule list.
Change Rule Order
When you have multiple rules, you can change the execution order.
- Click the “Reorder” button in the rule list.
- Use the up/down arrows to move rules.
- Exit reorder mode.
For On App Launch and Daily triggers, rules are executed in order.
Delete a Rule
- Select the rule you want to delete in the rule list.
- Click the “Delete” button.
- Click “Delete” in the confirmation dialog.
Disable a Rule
- Uncheck the “Enabled” checkbox in the rule editing area.
- Click “Save”.
Disabled rules will not run automatically, but can still be run manually.
Usage Examples
Postpone Overdue Tasks to Tomorrow
- Filter: Due date = “Overdue”
- Action: Set due date to relative date = “Tomorrow”
Clean Up Tags on Completed Tasks
- Filter: Status = “Completed”, Tag = includes “In Progress”
- Action: Remove tag = “In Progress”
Sleep Tasks in a Specific Project
- Filter: Project = “On Hold Project”
- Action: Set Sleep = “Next month”
About Relative Dates
Relative dates like “Today” and “Tomorrow” are calculated based on the date when the rule is executed.
- They are evaluated at execution time, not at save time.
- For rules with a Daily trigger, a different date is set each day.