Last updated on Jun 27

1 min read

Code Functions

Overview

Serverless functions are specialized, programmable functions that run on managed infrastructure without requiring you to provision or manage any servers. They serve a single purpose and are often used to trigger actions such as pushing data to a CRM system or displaying a pop-up URL. By utilizing serverless functions, you can streamline your development process and reduce the operational overhead of managing server resources.

Creating and Accessing Function Logs

To create a function, follow these steps:

Step 1: Click on the "Settings" icon and select "Functions" under the Developer section.

Step 2: Click the plus icon to create a new function, and then fill in the required fields on the screen. Give your function a name and, if desired, provide a description (this step is optional).

Step 3: Click "Save" to finalize your changes.

To access the logs for your functions, navigate to the "Logs" tab in the function's details page. From here, you can view and analyze the logs to troubleshoot any issues with your function.