Functions are backend serverless functions that run on Contentful’s infrastructure and are enabled through the App Framework.
With Functions, you can enable serverless code to run in the path of GraphQL delivery requests and unlock the possibilities and power of what you can achieve when using Contentful.
NOTE: Functions are only available for Premium plans and Partners.
These functions allow custom backend logic to be executed within the App Framework, ideal for various integrations and custom workflows.
Specifically designed to run in the path of GraphQL delivery requests, enabling dynamic content manipulations and real-time data integrations.
AppEvent Functions
Integration with third-party services, complex workflow automation.
Functions on Delivery (GraphQL)
Real-time Data Integrations with:
Product Catalogs, E-commerce systems, Translation systems, Legacy CMS systems, Digital Asset Management platforms
Any other API
Content Enrichment: Enhance your content with additional information, metadata, or related data fetched from external sources to provide richer context.
Inline External Media: Include images from third-party systems inline to reduce network requests.
Dynamic Routing: Route your content requests to different sources or destinations based on conditions, enabling dynamic content delivery logic.
Feature | Purpose | Execution context | Typical Use Cases |
AppEvent Functions | Custom backend logic and integrations | AppEvents / App Framework | Workflow automation, service integration |
Functions on Delivery | Dynamic content integrations | GraphQL delivery path | Real-time data integration, content updates |
For more information and to get started, see our Developer Documentation for Functions.
View our Example Apps on GitHub.
To share your feedback, fill in this form.