Contentful
Productivity Access token, space and environmentRead and write Contentful entries and assets from any Windmill script, flow or app.
Set up in 3 steps
Get your credential
In Contentful, open Settings then API keys. Use a Content Management token to write; the delivery token only reads published content. Note the space id and the environment — master unless you use others.
Add the resource in Windmill
Open Resources, add a resource of type contentful, and fill it in.
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Resource type
contentful — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| accessToken | string | Yes | Access token for Content Management API (CMA). |
| environment | string | Yes | Environment (e.g. master). |
| spaceId | string | Yes | Unique identifier of the space. |
Questions
My change is not visible
Writes land in the environment you named, as drafts. Contentful only serves them once published, which is a separate call.
Is my credential stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.