Webhooks

From publishing pages to orchestrating workflows

Webhooks provide a powerful way to connect Contentful to outside services and tools, creating automated workflows that help your teams stay productive, up-to-date, and focused on high-value tasks.

WEBHOOKS hero

Built for the needs of modern teams

Use cases powered by webhooks

Static sites

Trigger granular static site builds whenever content is published or archived.

CI/CD pipeline

Automate your deployments by integrating content changes into a CI/CD pipeline.

Notifications

Keep your team in the loop by notifying them of changes in the shared space.

Serverless functions

Leverage serverless backends to enrich data and automate menial tasks at scale.

Change log

Keep tabs on the activity in your space and document the changes in an external log.

Search index

Provide accurate search results by updating your search service/engine in real time.

webhooks-advanced-filtering
Advanced Filtering

Focus on the events that matter

Advanced filters allow you create customized triggers responsive to specific events (publish, delete, save, etc.), entities (entries, content types) or environments (master, sandbox). You can further refine the triggers by invoking logical operators (equals, includes), leveraging regular expressions or adding negations.
Webhook templates
Webhook Templates

Get started without writing code

Do more while limiting your technical debt. Webhook templates allow you to connect to popular third-party services without writing a single line of code. Simply paste an access token, choose a pre-defined preset and voila — your webhook is ready to use. Build new integrations faster by repurposing reference templates.
webhooks website bestofbreed V3-01
Webhook transformations

Tap into the API ecosystem

Combine best-of-breed services into one seamless application. Webhook calls can be transformed to use custom HTTP methods, `Content-Type` headers and payloads — as required by the target service. When customizing webhook payload, you can strip down default response to essential fields, add extra data and use placeholders to resolve dynamic values.
Amazon Web Services
AWS Services

Leverage the power of AWS services

Build sophisticated apps without maintaining custom API gateways. By natively supporting AWS signature version 4 authentication, Contentful enables a direct connection to 100+ AWS services, including popular services such as S3, Lambda and SQS.
Secret headers

Stay secure

Execute sensitive calls without exposing your credentials. Secret headers help you securely authenticate outgoing calls. Values marked as secret are only used by Contentful internal systems when calling the webhook target, and are hidden from the web app, API responses and activity logs.
Activity logs

Iterate quickly

Don't waste time testing and debugging your webhook setup. Activity logs provide detailed call information and can be viewed in the web app or fetched via the API. Webhooks purge cached content in real-time, supporting agile development processes.

Ready to get started?

Bring your tools to Contentful

Go further with automated workflows

Documentation

The ABCs of building your first webhook

Blog Post

Five workflows loved by digital teams

Tutorial

Getting started with serverless functions