
Connectors / Documents and e-signature · HTTP Connector
Automate Contentful with Tray.ai
Create an entry, create an asset and create a content type in Contentful, and start a workflow when Contentful sends “Entry published”.
What can you do with Contentful on Tray.ai?
Contentful is a headless content management system where teams model structured content, store entries and media, and deliver them to websites and apps through APIs. Tray.ai connects to Contentful through the HTTP Connector, so your workflows can call the Contentful API alongside the rest of your stack.
- When Contentful sends “Entry published”, clear the matching pages from your CDN cache so the new content shows.
- When Contentful sends “Entry unpublished”, remove the page from your site search index.
- Create an entry for each product added to your product information system.
- Publish an entry once legal signs it off in your review tracker.
- Connects through
- HTTP Connector
- Authentication
- A bearer token or OAuth 2.0
Set it up
Connect Contentful to Tray.ai
Each step uses Contentful's own API details, from its documentation.
Step 1
Save Contentful's API token
Save the token Contentful issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.
Step 2
Import a request from Contentful's docs
Add an HTTP Client step and paste a cURL example from Contentful's API docs. Tray.ai fills in the method, URL, headers, and query.
Step 3
Start with “Get all entries”
It's one of 24 documented actions, under Entries. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Contentful events
Give Contentful the URL of a Tray.ai webhook trigger. “Entry published” can then start a workflow, and so can 5 other events.
Workflows to build with Contentful
Each one uses actions and events from Contentful's own API documentation.
Post newly published Contentful entries to Slack
When
Entry published
Then
- Post the entry title and link to the content channel in Slack
- Add a row to the publishing log in Google Sheets
With Slack and Google Sheets
Create Contentful entries from approved Airtable briefs
When
A brief is approved in Airtable
Then
- Create an entry with the brief's fields
- Post the draft link to the writer in Slack
Upload Box assets to Contentful
When
A file is added to a folder in Box
Then
- Create an asset from the file
- Process an asset
- Publish an asset
With Box
Apps you can build on Contentful data
Internal tools your team can build with an AI assistant, each one using Contentful calls from its API documentation.
Publishing review queue
Lists saved entries by content type and lets an editor publish or unpublish each one.
Asset library check
Lists assets and lets a content team process and publish new uploads.
Publish activity log
Records entries and assets as they are published or deleted so the team can see recent changes.
Give your AI agents Contentful tools
Build an MCP server on Contentful in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Get all entries
- Get all assets
- Get all content types
- Get all environments
- Get all locales
- Get all webhooks
- Create an entry
- Patch an entry
What the Contentful API covers
6 resources and 24 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Entries
- Get all entries
- Create an entry
- Patch an entry
- Delete an entry
- Publish an entry
- Unpublish an entry
Assets
- Get all assets
- Create an asset
- Process an asset
- Publish an asset
- Delete an asset
Content types
- Get all content types
- Create a content type
- Get a content type
- Delete a content type
Environments
- Get all environments
- Create an environment
- Delete an environment
Locales
- Get all locales
- Create a locale
- Delete a locale
Webhooks
- Get all webhooks
- Create a webhook
- Delete a webhook
Events Contentful can send to a Tray.ai webhook trigger
- Entry published
- Entry unpublished
- Entry saved
- Entry deleted
- Asset published
- Asset deleted
Checked against Contentful's own documentation on 2026-10-22
How Tray.ai makes this work
Contentful plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Contentful — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Contentful actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Contentful data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More documents and e-signature apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every documents and e-signature connector →
Frequently asked questions
What can a Tray.ai workflow do in Contentful?
+
The Contentful API documents 24 actions across 6 resources (Entries, Assets, Content types, Environments, Locales, Webhooks). For example: Get all entries; Get all assets; Get all content types. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Contentful?
+
The Contentful API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Contentful events can start a Tray.ai workflow?
+
Contentful sends 6 events to a webhook URL, for example: Entry published; Entry unpublished; Entry saved; Entry deleted; Asset published; Asset deleted. A Tray.ai webhook trigger receives them and starts a workflow.
See Contentful working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.