Update: App Functions Beta

New Features
Thank you to everyone who is participating in our App Functions Beta! In addition to the updates we made at the end of 2024, we're excited to announce that we're now extending App Functions to include the ability to execute logic on your resources

  • Now an App Function can call SQL, REST or any other resource.
  • Your logic can now reference parameters, for example in a REST URL or within a SQL query.
  • You can call a Resource function from JavaScript code, from a new Function Call query, or from an event handler.

Please refer to the docs for more information. We would love to hear your feedback either in this forum post or via a call with us to share any feedback (book an appointment).

We’re really happy with the interest + excitement this feature has received over the last year; your response has validated that Functions are an important logic primitive for Retool to support. The team is fully committed to realizing this goal, and will be actively working on even more improvements.

We want to reiterate that App Functions is in active development, meaning that we are likely to introduce a slightly different iteration of the feature when the feature moves to general access. Because of this we are not accepting more orgs to the App Functions beta, but if you are interested please sign up via the waitlist.

Please keep this in mind when building, and we will keep members of the beta up to date on any major changes.

3 Likes

Is there a way to access these types of functions globally in multiple apps or do these need to be created per app?

1 Like

Only per app right now - for cross app usage you could try Query Library | Retool Docs

2 Likes

Will JS Sync Functions be available in query library or some way to re-use parameterized JS function?

Hi there,
I'm super interested in this, this will really help clean up the code.
Could you please add my workspace assoconnect.retool.com to the Beta program?
Thanks!

Hi @skim-rgare like mentioned in the post, we are in active development of this feature and we're still determining how it can be reused across multiple apps. It would actually be really useful if you could share what you are trying to reuse across multiple apps. Do you mind scheduling a call via the Calendly link above or share the JS function you want to reuse in this thread or a DM?

Hi @Florian_Baron , like mentioned in the post, we are in active development of this feature and it is likely going to go through a slightly different iteration of the feature as it moves to general access. To limit the disruption of this to only a subset of customers, we're keeping the Beta small, but please fill out the waitlist!

2 Likes

These sound like wonderful improvements, and may be the changes I was looking for.
Will test them out.

1 Like