--- title: "Execute Code" slug: "execute-code" updated: 2023-12-13T10:26:13Z published: 2023-12-13T10:26:13Z canonical: "help.mail-and-deploy.com/execute-code" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Execute Code ### General This type of action can be used to execute code (e.g. a method contained in a Global Module or a Module of a Report). ### Properties This type of action has the following properties: | Name | Description | | --- | --- | | Code | An Expression that contains the code to be executed. | ### Example Suppose you have created a Global Module that contains a function named WriteDebugFile; that function takes a single string parameter and writes that string to a file in the file system. The following Expression can be used to call that function to write the string Hello World to a file: Mail & Deploy Expression WriteDebugFile("Hello World")