What happened to Sync Functions?

Hi,

I need to create a reusable function that does some data cleaning on a number of `changesetArrays` before persisting them in the db. So I was really happy to read about Sync Functions, but they seem to be discontinued?

Has the idea been dropped?

Thanks!"

1 Like

From what I’ve seen, Sync Functions were more of an experimental/internal concept and the direction seems to have shifted toward using standard JS transformers, shared queries, or utility modules instead. The idea itself doesn’t appear completely abandoned, but it likely evolved into other reusable workflow patterns.
For your use case, a shared transformer/helper function for cleaning changesetArrays before persistence is probably the most practical approach right now.

Hey @dakes, thanks for checking in! Sync Functions have been discontinued and are no longer being enabled for new organizations. You can find more details in the Legacy: Resource and Sync Functions docs.

For building apps going forward, I would recommend checking out Retool's new App Builder, it's a significant shift in how Retool apps are built and may address your use case! :rocket:

Hi @ChiEn , thanks for the info!

Could you elaborate a bit how the new app builder replaces sync functions?

Hey @dakes, great question! We're essentially folding the previous sync functions project into the scope of the new app builder. The new app builder introduces serverless functions, which support the execution of multi-step, server-side logic. In your particular use case, this means defining the data transformation and persistence as a single atomic operation. It's not currently possible to reuse serverless functions across apps, but that functionality is on the roadmap and coming soon!

1 Like