Qencode + Contentful

Trigger video transcoding from your Contentful CMS and write playback URLs back automatically.

Overview

What This Integration Does

Qencode integrates with Contentful through webhooks to automate video transcoding as part of your content publishing workflow. When an editor publishes a video asset in Contentful, a webhook triggers a Qencode transcoding job. Once encoding completes, Qencode calls back your middleware, which writes the HLS, DASH, or MP4 playback URLs back to the Contentful entry using the Content Management API. No manual encoding steps, no copy-pasting URLs.

Architecture

How the Integration Works

Publish

Publish event

An editor publishes or updates a video asset in Contentful.

Trigger

Serverless function

Contentful fires a webhook to your middleware, which creates a Qencode transcoding job.

Encode

Transcode & deliver

Qencode transcodes the video and writes output to your storage destination.

Write Back

URLs to Contentful

Qencode sends a callback. Your middleware updates the Contentful entry with playback URLs.

Getting Started

Setup Steps

  1. Create a webhook in Contentful

    In the Contentful web app, go to Settings → Webhooks and create a new webhook. Set the trigger to fire on Entry.publish for your video content type. Point the webhook URL to your middleware endpoint.

    This step is completed in the Contentful web app — see Contentful webhooks documentation

  2. Build your middleware

    Create a serverless function (AWS Lambda, Cloudflare Workers, or similar) that receives the Contentful webhook payload, extracts the video asset URL, and submits a Qencode transcoding job via the Qencode API. Set the Qencode callback URL to another endpoint on your middleware.

  3. Map Contentful fields to Qencode parameters

    In your middleware, map the Contentful asset URL to the Qencode source parameter. Configure the output format, destination storage, and any additional features (thumbnails, captions, etc.).

  4. Write playback URLs back to Contentful

    In your callback handler, parse the Qencode job result and use the Contentful Content Management API to update the original entry with the playback URLs (e.g., hls_url, dash_url, thumbnail_url fields).

    You need a Content Management API token with write access to the target content type.

For a step-by-step walkthrough, see Tutorial: Contentful Integration

We love creating powerful solutions that are aligned with the needs of your business.

Please send us a message if you have a question or Schedule a call for a demo to discuss your integration.

Let's talk

First Name
Last Name
Company
Email
Your Message

Contact us with any questions. We'd love to help.

Los Angeles, CA - (HQ)

San Francisco, CA

New York, NY