Kaizen

Kaizen Manage Todo-Buckets

Add or remove todos from a bucket

The Kaizen Manage Todo-Buckets block adds todos to a bucket or removes them. Use it to organize todos into buckets, move them between buckets, or remove them from a bucket. Works with Kaizen Todos and Kaizen Buckets blocks for workflow automation.

Block Type

kaizen_manage_todo_buckets

Input Fields

Operation

FieldOptionsDescription
operationadd, removeAdd todos to the bucket or remove them from it

Target Bucket

FieldDescription
bucketIdBucket ID or block reference like <block_id.bucketId>

Todo Selection

FieldDescription
todoIdsComma-separated todo IDs or block reference like <block_id.todoIds>

Reference todo IDs from a Kaizen Todos block: <kaizen_todos_1.todoIds>. Reference bucket ID from a Kaizen Buckets block: <kaizen_buckets_1.bucketId> or use the bucket-selector in the UI.

Outputs

OutputTypeDescription
successbooleanWhether the operation succeeded
messagestringHuman-readable summary
addedCountnumberNumber of todos added (only for add operation)

Common Use Cases

Add Fetched Todos to a Bucket

inputs:
  operation: add
  bucketId: "<kaizen_buckets_1.bucketId>"
  todoIds: "<kaizen_todos_1.todoIds>"

Remove Todos from a Bucket

inputs:
  operation: remove
  bucketId: "<my_bucket.bucketId>"
  todoIds: "<kaizen_todos_1.todoIds>"

Organize Incomplete Todos into a “Today” Bucket

# 1. Fetch incomplete todos
- type: kaizen_todos
  name: Fetch Incomplete
  inputs:
    collectionFilter: library
    completionStatus: NOT_COMPLETED
    limit: 10

# 2. Add them to a bucket (use bucket ID or reference)
- type: kaizen_manage_todo_buckets
  name: Add to Today Bucket
  inputs:
    operation: add
    bucketId: "<your_bucket_id_or_reference>"
    todoIds: "<fetch_incomplete.todoIds>"

Referencing Outputs

Use block output references in downstream blocks:

todoIds: "<kaizen_todos_1.todoIds>"
bucketId: "<kaizen_buckets_1.bucketId>"

Complete Workflow Example

# 1. Fetch random incomplete todos
- type: kaizen_todos
  name: Fetch Random Todos
  inputs:
    collectionFilter: library
    completionStatus: NOT_COMPLETED
    sortOrder: random
    limit: 3

# 2. Add them to a bucket
- type: kaizen_manage_todo_buckets
  name: Add to Bucket
  inputs:
    operation: add
    bucketId: "<bucket_block.bucketId>"
    todoIds: "<fetch_random_todos.todoIds>"
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started