Skip to main content

Contentful Connector

Contentful Use the Contentful component to manage Spaces, Environments, Organizations and more.

Connections

OAuth 2.0

Connection to Contentful API using OAuth 2.0

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesSpace separated OAuth 2.0 permission scopes for the APIcontent_management_manage content_management_read
Client IDClient Identifier of your app for the API
Client SecretClient Secret of your app for the API

Triggers

Events Based

Get notified when events occur in your space

InputCommentsDefault
Connection
Space IDThe ID of the space
EventsThe events of the webhook

Webhook

Receive and validate webhook requests from Contentful for webhooks you configure.

InputCommentsDefault
Connection

Actions

Create Asset

Create a new asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
TitleThe title of the asset
{
"en-US": "Example Asset"
}
DescriptionThe description of the asset
{
"en-US": "Streamliner description"
}
FileThe file of the asset
{
"en-US": {
"contentType": "image/jpeg",
"fileName": "example.jpeg",
"upload": "https://example.com/example.jpg"
}
}
Debug RequestEnabling this flag will log out the current request.false

Create Content Type

Create a new content type

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Content Type NameThe name of the content type
Content Type FieldsThe fields of the content type
[
{
"id": "title",
"name": "Title",
"required": true,
"localized": true,
"type": "Text"
},
{
"id": "body",
"name": "Body",
"required": true,
"localized": true,
"type": "Text"
}
]
Display FieldField used as the main display field for Entries
DescriptionThe description of the content type
Debug RequestEnabling this flag will log out the current request.false

Create Environment

Create a new environment

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Environment NameThe name of the environment
Debug RequestEnabling this flag will log out the current request.false

Create Space

Create a new space

InputCommentsDefault
Connection
Organization IDThe ID of the organization
Space NameThe name of the space
Default LocaleThe default locale
Debug RequestEnabling this flag will log out the current request.false

Create Webhook

Create a new webhook

InputCommentsDefault
Connection
Space IDThe ID of the space
NameThe name of the webhook
URLThe URL of the webhook
EventsThe events of the webhook
Debug RequestEnabling this flag will log out the current request.false

Delete Asset

Delete an existing asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
Debug RequestEnabling this flag will log out the current request.false

Delete Environment

Delete existing environment

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Debug RequestEnabling this flag will log out the current request.false

Delete Instanced Webhooks

Delete all webhooks that point to a flow in this instance

InputCommentsDefault
Connection
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

Delete Space

Delete an existing space

InputCommentsDefault
Connection
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

Delete Upload

Deletes a file from temporary data storage

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Upload IDThe ID of the upload
Debug RequestEnabling this flag will log out the current request.false

Delete Webhook

Delete a webhook

InputCommentsDefault
Connection
Space IDThe ID of the space
Webhook IDThe ID of the webhook
Debug RequestEnabling this flag will log out the current request.false

Get Asset

Retrieve a single asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
Debug RequestEnabling this flag will log out the current request.false

Get Bulk Action

Retrieve a bulk action

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Bulk Action IDThe ID of the bulk action
Debug RequestEnabling this flag will log out the current request.false

Get Environment

Retrieve a single environment

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Debug RequestEnabling this flag will log out the current request.false

Get Organization

Retrieve an organization by ID

InputCommentsDefault
Connection
Organization IDThe ID of the organization
Debug RequestEnabling this flag will log out the current request.false

Get Space

Retrieve a single space

InputCommentsDefault
Connection
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

Get Upload

Retrieves an unmodified image

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Upload IDThe ID of the upload
Debug RequestEnabling this flag will log out the current request.false

Get Webhook

Retrieve a single webhook

InputCommentsDefault
Connection
Space IDThe ID of the space
Webhook IDThe ID of the webhook
Debug RequestEnabling this flag will log out the current request.false

List Assets

Retrieve all assets of a space

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

List Content Types

Retrieves all content types of a space

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

List Environments

Retrieve all environments in a space

InputCommentsDefault
Connection
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

List Organizations

Retrieve all organizations an account has access to

InputCommentsDefault
Connection
Debug RequestEnabling this flag will log out the current request.false

List Spaces

Retrieve all spaces an account has access to

InputCommentsDefault
Connection
Debug RequestEnabling this flag will log out the current request.false

List Webhooks

Retrieves all webhooks of a space

InputCommentsDefault
Connection
Space IDThe ID of the space
Debug RequestEnabling this flag will log out the current request.false

Process Asset

Process an asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
Debug RequestEnabling this flag will log out the current request.false

Publish an asset

Publishes an asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
Debug RequestEnabling this flag will log out the current request.false

Publish Bulk Action

Publish a bulk action

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
ItemsThe items of the bulk action
[
{
"sys": {
"linkType": "Entry",
"type": "Link",
"id": "<entry_id>",
"version": 2
}
},
{
"sys": {
"linkType": "Asset",
"type": "Link",
"id": "<asset_id>",
"version": 1
}
}
]
Debug RequestEnabling this flag will log out the current request.false

Raw Request

Send raw HTTP request to Contentful

InputCommentsDefault
Connection
URLInput the path only (/spaces), The base URL is already included (https://api.contentful.com). For example, to connect to https://api.contentful.com/spaces, only /spaces is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Unpublish an asset

Unpublishes an asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
Debug RequestEnabling this flag will log out the current request.false

Unpublish Bulk Action

Unpublish a bulk action

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
ItemsThe items of the bulk action
[
{
"sys": {
"linkType": "Entry",
"type": "Link",
"id": "<entry_id>"
}
},
{
"sys": {
"linkType": "Asset",
"type": "Link",
"id": "<asset_id>"
}
}
]
Debug RequestEnabling this flag will log out the current request.false

Update Asset

Update an existing asset

InputCommentsDefault
Connection
Environment IDThe ID of the environment
Space IDThe ID of the space
Asset IDThe ID of the asset
TitleThe updated title of the asset. Locale key must match the original locale of the asset to be updated
{
"en-US": "Example Asset"
}
New Asset DescriptionThe updated description of the asset. Locale key must match the original locale of the asset to be updated
{
"en-US": "Streamliner description"
}
Debug RequestEnabling this flag will log out the current request.false

Update Content Type

Update an existing content type

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Content Type IDThe ID of the content type
Content Type NameThe updated name for the content type
Content Type FieldsThe updated fields for the content type
[
{
"id": "title",
"name": "Title",
"required": true,
"localized": true,
"type": "Text"
},
{
"id": "body",
"name": "Body",
"required": true,
"localized": true,
"type": "Text"
}
]
Display FieldThe updated Field used as the main display field for Entries
DescriptionThe updated description for the content type
Debug RequestEnabling this flag will log out the current request.false

Update Environment

Edit an existing environment

InputCommentsDefault
Connection
Space IDThe ID of the space
Environment IDThe ID of the environment
Environment NameThe updated name for the environment
Debug RequestEnabling this flag will log out the current request.false

Update Organization

Update an organization security contact an admin or owner has access to

InputCommentsDefault
Connection
Organization IDThe ID of the organization
Security IDThe ID of the security contact
Debug RequestEnabling this flag will log out the current request.false

Update Space

Edit an existing Space

InputCommentsDefault
Connection
Space IDThe ID of the space
Space NameThe updated name for the space
Debug RequestEnabling this flag will log out the current request.false

Update Webhook

Update an existing webhook

InputCommentsDefault
Connection
Space IDThe ID of the space
NameThe updated name for the webhook
Webhook IDThe ID of the webhook
Debug RequestEnabling this flag will log out the current request.false

Upload File

Upload a file to temporary file storage

InputCommentsDefault
Connection
Space IDThe ID of the space
File ContentsThe contents to write to a file. This can be a string of text, it can be binary data that was generated in a previous step.
Debug RequestEnabling this flag will log out the current request.false