An Backend Function is a small serverless function in Superdev that runs logic on the backend, such as processing custom API calls, or integrating with external services such as Monday.com.
How is it different from the built-in integrations?
Superdev does have a list of built-in integrations for sending emails, integrating with AI, extracting data from files and images, and more, but backend integrations give you more flexibility and control.
To learn more about the built-in integrations, you can check the Built-in Integrations section.
Sometimes your app needs custom backend logic beyond basic data CRUD (Create, Read, Update, Delete).
Superdev’s backend functions are serverless functions (similar to AWS Lambda) that let you run code on the backend triggered by events or requests.
It means you can define desired backend behavior in plain language, and Superdev will write and deploy the necessary Backend Function code for you.
To add a backend function, simply describe what you need in the Superdev chat. For example: “When a user submits text, convert it to speech using OpenAI’s text-to-speech API and return an audio file URL.” Superdev will generate the code for this logic as a backend function (in this case, calling the OpenAI TTS API) and deploy it to your project. It will also update your Superdev app to call this function at the right time (e.g., when the user clicks a “Convert to Speech” button) and handle the response.
You can find and monitor your backend functions in the Superdev dashboard under the “Backend Functions” section. Each function will have logs that show recent executions and any output or errors. Superdev automatically monitors these functions and will surface error messages in the chat to help you troubleshoot when something goes wrong. Of course, you can always check the function logs yourself for more details or for peace of mind.