Productive icon

Productive

Interact with the Productive API

Actions508

Widgets → Create a widget

AI-generated

Summary

Create a new widget on a specified dashboard in Productive by providing its grid position, size, widget type, and optionally a filter.

Inputs

  • Column (required) — The column position (x-axis) of the widget on the dashboard grid.
  • Row (required) — The row position (y-axis) of the widget on the dashboard grid.
  • Height (required) — The height of the widget in grid units.
  • Width (required) — The width of the widget in grid units.
  • Widget Type ID (required) — The identifier of the widget type to create.
  • Dashboard ID (required) — The identifier of the dashboard where the widget will be created.
  • Filter ID — Optional filter identifier to apply to the widget.

Output shape

A single record representing the newly created widget, including its properties and identifiers.

The operation returns the created widget object. If multiple items are input, each will create a widget and be returned in sequence. Errors per item can be returned if 'Continue On Fail' is enabled, otherwise execution stops on first error.

Discussion