Productive icon

Productive

Interact with the Productive API

Actions508

Approval Workflows → Creates the approval workflow

AI-generated

Summary

Create an approval workflow in Productive by specifying the event, approval policy, target type, approval requirement, and optional approvers and subscribers.

Inputs

  • Event ID (required) — Numeric ID of the event to associate with the approval workflow.
  • Approval Policy ID (required) — Numeric ID of the approval policy to apply.
  • Target Type ID (required) — Numeric ID of the target type; for example, 1 represents an event.
  • Approval Requirement ID (required) — Numeric ID describing the approval requirement (1: None, 2: Any of, 3: All of).
  • Dynamic Approver IDs — String of IDs representing dynamic approver options, such as '1' for Manager.
  • Dynamic Subscriber IDs — String of IDs representing dynamic subscriber options, such as '1' for Manager.
  • Approver IDs — Comma-separated string of user IDs who must approve the request.
  • Subscriber IDs — Comma-separated string of user IDs who will receive notifications about the request.

Output shape

a single record containing the created approval workflow details

The output will include the JSON response from Productive API representing the newly created approval workflow.

Discussion