Skip to main content
How to manage your Functions:
  • Navigate to the AI Pilots from the left menu bar
  • Click on the AI Pilots
Screen Shot 2025-06-09 at 4.45.08 PM.png
  • Select the AI Pilot from the drop-down.
  • Move to the Functions.
mceclip1.png You’ll see a list of functions (if any exist) with the following columns:
  • Function Name : Name of the function for the identification
  • **Deployment Status : **Indicates if the function is Ready to Use , Failed, or In Progress.
    • Hover over the error icon to view error details if the status is Failed.
  • Description : A summary of the function’s purpose.
  • **Last Modified By : **The user who last updated the function.
  • Last Modified Date : When the function was last modified.
How to configure a new Function
  • Click the New button.
Screen Shot 2025-06-10 at 5.42.46 PM.png
  • The Function Editor opens, divided into:
    • Left Panel: Code editor
    • Right Panel: Configuration panel.
**Configuration Panel Details ** Function Details:
  • **Function Name : **Name of the function for identification.
  • **Description : **A summary of what the function does.
  • **Thumbnail Image : **
    • Supports .png, .jpeg, .jpg under 1 MB.
    • Appears in selection lists where this function is referenced.
Input Variables:
  • **Variable Name **: Used within the function code.
  • **Description **: Details about the expected input.
  • Click + Add to add multiple inputs.
**Output Variables: **
  • Variable Name: Identifier variable for the output.
  • Description: Details about the expected output.
  • Click + Add to define more outputs.
Note: These variables are limited to that function only. The data type for these variables will be defined in the code snippet on the left side.
Paths:
  • Path Name: Logical route (e.g., Success, Failure).
  • Canvas Label: Label displayed in the flow builder.
  • Click +Add to define additional paths.
Writing Function Logic:
  • Use the left-side code editor to write your function using the supported language
  • Choose from:
    • Primary runtime (first launch): Node.js 22
    • Supported by Monaco Editor (for syntax): JavaScript, Python, Go, PHP, HTML, CSS, Java, C++, etc.
mceclip4.png To edit an existing Function
  • Go to AI Pilots> Choose your Pilot >Functions.
  • Click the function name or hover and select Hit Action.
mceclip6.png
  • Click on Edit, make your changes, then click Update.
Steps to Delete a Function
  • Go to AI Pilots> Choose your Pilot >Functions.
  • Find the function you wish to delete.
mceclip7.png
  • Hover and select Delete from the action menu.