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.
Field Options Description todoInputModereference, manualHow to specify which todos to add todoIdsReferencestring Required 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>).
Field Options Description destinationbuckets, library, bothWhere to add the selected todos
Field Options Description bucketInputModereference, manualHow to specify target buckets bucketIdsReferencestring Block output like <block_id.bucketIds> bucketIds(manual) Select buckets via bucket-selector
Field Options Description userSelectionModeworkflow_owner, workspace_members, specific_users, input_referenceWhich users to apply the action to specificUserIds(when specific_users) Select users via creator-selector userIdsReferencestring Block output like <workspace_permission_1.userId> when using input_reference
Field Default Description skipErrorstrue Continue processing if individual operations fail createNotificationstrue Send notifications when adding to library (only for library/both) reason(optional) Reason for adding (e.g. "Added by weekly challenge workflow")
Output Type Description successboolean Whether the overall operation succeeded messagestring Human-readable result message summaryobject Statistics (totalTodos, totalUsers, successfulBucketAdditions, etc.) userResultsarray Detailed results per user
inputs :
todoInputMode : reference
todoIdsReference : "<fetch_todos.todoIds>"
destination : buckets
bucketInputMode : reference
bucketIdsReference : "<kaizen_buckets_1.bucketIds>"
userSelectionMode : workflow_owner
skipErrors : true
inputs :
todoInputMode : reference
todoIdsReference : "<kaizen_todos_1.todoIds>"
destination : library
userSelectionMode : workspace_members
createNotifications : true
reason : "Weekly challenge assignment"
# 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
Use block output references for todos and buckets:
todoIdsReference : "<kaizen_todos_1.todoIds>"
bucketIdsReference : "<kaizen_buckets_1.bucketIds>"