AI Agent Action in workflows: Token Usage Optimization

Apr 17, 2026

What's New

The AI Agent action now uses significantly fewer tokens per execution with no impact on output quality. Since usage is billed per token, this directly translates to lower costs and more room to scale.

87b732f3da014c4fc28229805bd89e7f

What Changed

  • Cleaner context — Duplicate and internal data that was being sent to the model on every turn has been stripped out. Raw database internals, redundant contact data, and unnecessary workflow metadata are no longer included.
  • Smarter tool responses — Tool outputs previously included dozens of irrelevant fields per record (e.g., 30+ permission fields per user). Now only relevant fields like name, email, and phone are passed to the model.
  • Conversation memory management — Long-running agents now automatically summarize older conversation steps while keeping recent ones in full detail, instead of sending the entire history every turn.
  • Structured output optimization — The final extraction step no longer duplicates the entire context, saving thousands of tokens per execution.

Results

Tested on the same workflow and contact with zero quality loss:

First LLM call: 36% token reduction

Total execution: 20% token reduction

Why This Matters

Every workflow execution is now leaner. Same output quality, fewer tokens, lower cost — meaning you can run more automations without increasing spend.