Agent optimizations to the automation creation

The same token improvements done for the App Builder, please do it for the Automations’ Engine too (agentic and compression)

What’s the feature?

Create an Agent specifically for automations, allow choosing model to limit tokens per need, optimize how the code is modified (right now it seems to rewrite THE COMPLETE script steps whenever a change is required, so it consumes a lot more tokens than needed). Also, modularize the scripts using the actual precoded steps available in the automation workflow, so far it seems to be relying a lot on doing almost everything with scripts, at least when it comes to external API calls.

Your use case

I’m pulling thousands of rows from our ERP/invoicing system to create business dashboards, to do so we are creating automations for the required endpoinds, to pull data at different frequencies, sometimes replacing the complete dataset (to avoid polling all the rows for changes), or simply upserting new rows.

Thanks for the detailed feedback!

Just wanted to flag — the Run Script step in Automations actually has its own built-in AI builder (separate from the chat-based AI). You can open the script editor and use the AI builder on the right panel to write or modify scripts directly within that step. This should give you more control over edits without rewriting the entire workflow.

For reuse across similar endpoints, a practical approach is to duplicate the Automation and make small adjustments to the copy — that way you avoid rebuilding from scratch each time.

Regarding model selection — that’s a great point and very valid feedback. We’ll definitely consider adding that option.

Feel free to reach out anytime if you have more feedback or run into anything else.

Thanks! This will be helpful. I had seen that but i thought it was the same as the chat (not sure how you could make it more clear, because I’ve played a lot in the platform and didn’t understand that it was a separate entity - the app builder chat overtakes cuppy, so it’s very clear, but for the automations they look exactly the same at first glance)

I will start using it like that (btw, I’ve been doing the cloning of automations, but because i was using cuppy it weas always rewriting the whole thing, i wasted too many tokens like that :upside_down_face::melting_face:)

1 Like