post https://app.docupanda.io/workflow/on-submit-document
Use this endpoint to create a workflow that triggers when a document is submitted.
The workflow can be configured to either:
- Always run the specified schema(s) on the document, set via the
standardizeStep
input. - Conditionally run one or more schemas based on the document's
classId
, set via theclassifyStandardizeStep
input.
Note: You must provide one of these inputs, but not both.
To run the workflow, use the POST /document
endpoint with the workflowId
that gets returned from this endpoint.