Framer icon

Framer

Read and write Framer CMS, publish previews, deploy to production

Collection → Set Fields

AI-generated

Summary

Replaces the field schema of a Framer CMS collection managed by this integration. Supply the collection ID and a JSON array of field definitions; the operation returns the result from Framer’s setFields call.

Inputs

  • Collection ID (required) — ID of the CMS collection to update.
  • Fields (JSON) (required) — JSON array of field definitions, such as objects with id, name, and type. The collection must be managed by this integration.

Output shape

One output item containing resource, operation, and data, where data is the result of the setFields call (or null if it returns no value).

An invalid JSON value or a value that is not an array causes an error. An unknown collection ID or an unmanaged collection also causes an error; with Continue On Fail enabled, the item instead contains an error field.

Links

Discussion