In this article
Preserve the distinction between an omitted archive field and an explicit request to change it, from tool arguments through remote state.
Activepieces 0.93.0 includes a Trello fix for the agent-facing card update. When the agent leaves the Archived input out, an archived card should stay archived. This is a small example of how optional fields in a tool schema become consequential in a workflow with write access.
Represent user intent in the arguments
Updating a title and reopening a card are separate changes. If the task only asks for a title correction, the generated arguments should omit archive status. Trace that omission through validation, serialization and the request sent by the connector. A default false can turn a text edit into an unintended state transition.
Verify three behaviors with fixtures
Create an archived card in a test board, then perform a title-only update. Confirm the title changed and the card remained archived. Separately run an explicitly authorized archive change and a repeated title edit. Capture the before and after record and the emitted argument keys. Use a read-only observation to validate the final state.
Read the operator-visible outcome
Look for automations that run when a card returns to an active list. A mistaken archive toggle can create work for downstream staff even if the connector reports success. Test whether that event fires when only the title changes. Record any side effects next to the card audit so the operator can trace a regression.
Include older saved flows
A saved flow may already populate the field through an expression or a default from an earlier form. Inspect what those flows send after upgrading. Where users intentionally set the flag, the behavior should continue to follow that instruction. For an omitted value, test both an archived and an active card.
Keep the regression case small
Store a fixture with the exact update payload, the expected archive state and the event that should be emitted. Run it whenever the connector or tool schema changes. The fixture gives reviewers concrete evidence that optional fields preserve their original meaning.
Primary sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.