Contentful with YAML

YAML parameters for Contentful CLI

Name Type Description
action Required String The ID of the action.
type Required String The type of the action. Should be set to CONTENTFUL_CLI.
environment Required String The environment where the action will be executed.
integration Required String The ID of the integration. Should be set to contentful.
execute_commands Required String The commands that will be executed.
space Required String The Contentful space ID where the operations will be performed.
setup_commands String[] The command that will be executed only on the first run.

YAML example for Contentful CLI

yaml
actions: - action: contentful space list type: CONTENTFUL_CLI environment: master integration: contentful execute_commands: - contentful space list setup_commands: - apt-get install python3 space: Blank

Last modified on Sep 17, 2025