Productive icon

Productive

Interact with the Productive API

Actions508

Document Styles → Create a document_style

AI-generated

Summary

Create a new document style in Productive by specifying its Name and Styles properties.

Inputs

  • Name (required) — The name of the document style to create.
  • Styles (required) — The styles definition for the document style as a string.

Output shape

a single record representing the created document style

The output contains the created document style details. If multiple items are processed, outputs are aggregated into a single array.

Examples

Example 1: Create a document style called 'Formal' with custom CSS styles.

Set 'Name' to 'Formal' and 'Styles' to the CSS styles string.

Discussion