Kaizen

Kaizen Add Todos

Add todos to buckets and/or user libraries with flexible destination and user selection

The Kaizen Add Todos block adds todos to buckets, user libraries, or both. It works with the Kaizen Todos block to automate todo organization: fetch todos first, then add them to one or more buckets and/or to users' libraries. Supports workflow owner, workspace members, or specific users.

Block Type

kaizen_add_todos

Input Fields

Todo Selection

FieldOptionsDescription
todoInputModereference, manualHow to specify which todos to add
todoIdsReferencestringRequired when mode is reference. Block output reference like <block_id.todoIds>
todoIds(manual)Select todos via todo-selector when mode is manual

When using todoInputMode: reference, you MUST set todoIdsReference using the <block_id.todoIds> syntax (e.g. <kaizen_todos_1.todoIds>).

Destination

FieldOptionsDescription
destinationbuckets, library, bothWhere to add the selected todos

Bucket Selection (when destination is buckets or both)

FieldOptionsDescription
bucketInputModereference, manualHow to specify target buckets
bucketIdsReferencestringBlock output like <block_id.bucketIds>
bucketIds(manual)Select buckets via bucket-selector

User Selection

FieldOptionsDescription
userSelectionModeworkflow_owner, workspace_members, specific_users, input_referenceWhich users to apply the action to
specificUserIds(when specific_users)Select users via creator-selector
userIdsReferencestringBlock output like <workspace_permission_1.userId> when using input_reference

Options

FieldDefaultDescription
skipErrorstrueContinue processing if individual operations fail
createNotificationstrueSend notifications when adding to library (only for library/both)
reason(optional)Reason for adding (e.g. "Added by weekly challenge workflow")

Outputs

OutputTypeDescription
successbooleanWhether the overall operation succeeded
messagestringHuman-readable result message
summaryobjectStatistics (totalTodos, totalUsers, successfulBucketAdditions, etc.)
userResultsarrayDetailed results per user

Common Use Cases

Add Fetched Todos to Buckets

inputs:
  todoInputMode: reference
  todoIdsReference: "<fetch_todos.todoIds>"
  destination: buckets
  bucketInputMode: reference
  bucketIdsReference: "<kaizen_buckets_1.bucketIds>"
  userSelectionMode: workflow_owner
  skipErrors: true

Add to User Libraries (Challenge / Assignment)

inputs:
  todoInputMode: reference
  todoIdsReference: "<kaizen_todos_1.todoIds>"
  destination: library
  userSelectionMode: workspace_members
  createNotifications: true
  reason: "Weekly challenge assignment"

Complete Workflow: Fetch Random Todos Then Add to Bucket

# 1. Fetch todos
- type: kaizen_todos
  name: Fetch Random Incomplete
  inputs:
    collectionFilter: library
    completionStatus: NOT_COMPLETED
    sortOrder: random
    limit: 5

# 2. Add to bucket(s)
- type: kaizen_add_todos
  name: Add to Challenge Bucket
  inputs:
    todoInputMode: reference
    todoIdsReference: "<fetch_random_incomplete.todoIds>"
    destination: buckets
    bucketIds: "<your_bucket_id_or_reference>"
    userSelectionMode: workflow_owner
    skipErrors: true

Referencing Outputs

Use block output references for todos and buckets:

todoIdsReference: "<kaizen_todos_1.todoIds>"
bucketIdsReference: "<kaizen_buckets_1.bucketIds>"
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