All products

Work with Contentful entries using AI

Read a published entry, inspect a draft or make an authorised edit through the right Contentful API. Keep the environment, locale and access token for each task straight.

To work with Contentful entries using AI, first decide which version you mean. A catalogue description might be correct on the live website and wrong in the editor because the team has started next month’s draft.

The contentful-api skill distinguishes delivery, preview and management requests. It also covers linked entries, assets, localisation and pagination. An editor working with a developer can use it to explain what needs checking before anyone changes a record.

What it does

  • Read live catalogue entries of a particular type and locale.
  • Compare a draft headline with its published version before a launch.
  • Inspect the linked entry behind an author or product reference.
  • Prepare an asset upload separately from the management request that attaches it.
  • Read a longer collection a page at a time and keep track of the total.

Install and use

  1. Install the skill and provide an HTTP-capable agent or curl, with the correct token for the intended Contentful space and operation.
  2. Ask, “Show the preview and delivery values for this title in the selected locale, without editing either.”
  3. Check the environment and record version. If you approve a management change, reread the relevant entry afterwards.

FAQ

Source

Made by Contentful. Original skill: contentful-api, published on GitHub under the MIT licence.

View on GitHub