Kaizen Goals
Fetch and filter goals from Kaizen for AI-driven planning and goal-aligned todo selection
The Kaizen Goals block fetches goals with filtering by bucket, category, priority, and completion status. Use it when a workflow needs goal context for AI-driven decision making—for example selecting todos aligned with user goals, curating daily focus lists, or tracking progress. Combine with Agent, Kaizen Todos, or Kaizen Create Todos blocks.
Block Type
kaizen_goalsInput Fields
Pagination
| Field | Default | Description |
|---|---|---|
page | 1 | Page number for pagination |
limit | 20 | Results per page (max: 100) |
Filters
| Field | Description |
|---|---|
bucketId | Filter goals belonging to a specific bucket. Use bucket-selector or <block_id.bucketIds>. |
category | Filter by category name (e.g. Health, Career, Learning). |
priority | Filter by priority: LOW, MEDIUM, HIGH, URGENT. |
isCompleted | Filter by completion: empty (all), false (active only), true (completed only). |
Sorting
| Field | Options | Default |
|---|---|---|
sortBy | createdAt, updatedAt, title, priority | createdAt |
sortOrder | desc, asc | desc |
Outputs
| Output | Type | Description |
|---|---|---|
goals | array | Array of goals matching the filter criteria |
goalIds | array | Array of goal IDs. Use for referencing in other blocks. |
activeCount | number | Number of active (not completed) goals in the result set |
pagination | object | Pagination info: page, limit, total, totalPages, hasMore |
Common Use Cases
Get active goals for daily planning
Set Completion Status to Active (Not Completed) and use the goals (or goalIds) as context for an Agent or Kaizen Todos block to curate a daily focus list.
Filter by bucket
Use Bucket to fetch goals for a specific bucket. Reference from another block: <kaizen_buckets_1.bucketIds>.
Provide goal context to an Agent block
Fetch goals and pass goals or goalIds into an Agent block so the model can suggest todos or actions aligned with the user's goals.
Referencing Outputs
goalIds: "<kaizen_goals_1.goalIds>"Filter by isCompleted=false to get only active goals for daily planning. Use pagination (page and limit) for large result sets.