This command under Cascade is available with Rules, Card Button and Due Date. It allows you to attach a host of Butler commands compared to
collect all cards into [links/items/linked items] in checklist [checklist name]
the report command is only available for Board Button and Calendar
create a report with all cards
Yet, scope to gather the cards for both are pretty much the same.
So the question is how to combine the power of scheduling (2nd case) with the powerful of Butler commands (1st case)?
Here's an example :
you attach this block to a calendar trigger like daily or month end run
create a report in variable "collected_items" with all cards with the yellow label using pattern "[{cardname}]({cardlink})", and post to url "https://25368.wayscript.io/butler/?registry=5f216a8...de5c6&module=5f6eae0479..f446e44" with payload "{\"card_id\" : \"5f6ebd43...7d0d813\", \"checklist_name\" : \"trigger_checklist\", \"collected_items\" : \"{$collected_items}\" }"
when checklist "trigger_checklist" is added to a card in list "Daily Run", for each card linked from an item in checklist "trigger_checklist", rename the card to "{cardname} - {date}", find a card titled "{triggercardname}" in list "Daily Run", and remove the "trigger_checklist" checklist from the card
The endpoint creates the checklist using the report variable and this triggers the card changes using Butler.
The original "A Powerful Combination" is available here.
@Iain Dooley Thanks for reading my post and inspecting it for correctness. The above is from a direct copy and paste from Butler screen for “collect cards” command. I will correct it.
I hope the method shared will be helpful for people who need to do more calendar based automation using native Butler commands.