> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Function Architecture ## Article: Function Architecture ## Article Link: https://dev.wix.com/docs/api-reference/business-management/functions/function-architecture.md ## Article Content: # Function Architecture Several components work together to provide additional capabilities for Wix sites through Functions. Understanding these components helps you create and manage functions effectively.
Tip: To get the most out of this article, first [create a function](https://support.wix.com/en/article/wix-functions-creating-a-function#creating-a-function) in a site's [dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Ffunctions/manage).
## Function types and templates When you create a function in the dashboard, you choose a **type of function** from the **Function catalog**. These are function types created by Wix that define: - When the business solution calls your function. - What parameters the function accepts. - What the function returns. Function templates provide pre-configured automation logic that you can customize for specific function types. This makes function development more efficient by providing a starting point for common use cases. With the Functions APIs, just as in the dashboard, you can create a function from a function type (**start from scratch**) or a function template. Apps made by Wix create function types and templates that are only available on sites with the app installed. Use the [Function Types](https://dev.wix.com/docs/api-reference/business-management/functions/function-types/introduction.md) and [Function Templates](https://dev.wix.com/docs/api-reference/business-management/functions/function-templates/introduction.md) APIs to retrieve the list of available function types and templates for a site. ## Function components A working function requires several components that work together. You need to define the function's logic and, for functions built from some function types, its [service plugin configuration](https://dev.wix.com/docs/api-reference/business-management/functions/about-wix-functions-apis.md#terminology). ### Function logic An [automation](https://dev.wix.com/docs/api-reference/business-management/automations/introduction.md) defines function logic, and a function method attaches it to a function. You only need to set up the connection once, and to update the function logic, you only need to update the automation. ### Service plugin configuration Manage your functions' service plugin configurations using the [Function SPI Configuration API](https://dev.wix.com/docs/api-reference/business-management/functions/function-spi-configurations/introduction.md). Learn more about [service plugins and Wix Functions](https://dev.wix.com/docs/api-reference/business-management/functions/about-service-plugins-and-wix-functions.md). ## See also - [About Function Creation and Activation](https://dev.wix.com/docs/api-reference/business-management/functions/about-function-creation-and-activation.md) - [About Wix Functions APIs](https://dev.wix.com/docs/api-reference/business-management/functions/about-wix-functions-apis.md) - [About Service Plugins and Wix Functions](https://dev.wix.com/docs/api-reference/business-management/functions/about-service-plugins-and-wix-functions.md) - [Supported Function Types](https://dev.wix.com/docs/api-reference/business-management/functions/supported-function-types.md) - [Sample Flows](https://dev.wix.com/docs/api-reference/business-management/functions/sample-flows.md)