Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configure Order Intake

Configure and verify an Order workflow in the Document Intake Cockpit, from extracted fields and validation through approval and the Inbox queue.

Use this walkthrough to configure an Order (ORDER_INTAKE) workflow in the Document Intake Cockpit. When you finish, an incoming order can be validated, corrected, submitted for approval, approved or rejected, and found in the Orders queue.

This is a reference configuration for an already provisioned Document Intake tenant, not a built-in template or deployment guide. Create the values described on these pages in your tenant.

Prerequisites

Before you start, you need the following:

  • A provisioned Document Intake tenant with the current base schemas, including documentMetadata support for approval-matrix selection and approval history.

  • Administrator access to the Document Intake Cockpit configuration pages.

  • One active employee who can act as the test approver, plus a way to sign in as that employee for the approval test.

  • An order PDF that contains a buyer or company name, at least one line item, and a total.

  • The invoice-save-action, business-rules-supervisor, invoice-approval-engine, and document-status-state-machine cloud functions deployed in the tenant. They must appear in cloud-function selectors.

  • The approved approval-matrix-rule source supplied by the team that provisions your tenant.

  • Customer and Product sources configured in Master Data if you want to follow the worked Auto Matching setup.

  • A mailbox and Document Intake Value Streams to create the first document from an email, including post-parse automation that invokes document-status-state-machine after the Order mixin is persisted. These are configured outside the cockpit; see Document Intake Process.

Configuration flow

Follow these pages in order. Each page ends with a checkpoint; continue only after it passes.

  1. Document Type – Create Order and all fields used later.

  2. Auto Matching – Match customers by email and products by SKU, name, or an AI-assisted fallback.

  3. Business Rules – Generate, test, deploy, and activate the required-company rule.

  4. Approval and Rejection – Bind Company ID and Total, create a usable approval matrix, and add a rejection reason.

  5. State Transitions – Create the six statuses and connect validation and approval outcomes.

  6. Form Layout – Build the form and header actions used beside the PDF.

  7. Orders Queue – Create the Orders entry under Inbox.

For this walkthrough, intake persists the Order mixin, runs the matching configured in your tenant flow, and invokes document-status-state-machine so the document reaches Parsed. Validation starts when Revalidate is selected. The diagram summarizes the resulting workflow rather than one automatic function chain.

Verifying the result

1

Process a test order

Send the test PDF through the configured mailbox and Value Streams. If you are validating only the cockpit configuration, your implementation team can instead provide an existing Order test document.

2

Confirm validation

Open Inbox → Orders, open the document, and select Manage. Confirm that its status is Parsed. If it remains Start, stop and ask the implementation team to verify the post-parse document-status-state-machine invocation.

Select Revalidate. If Company ID or Company Name is empty, the document must move to Validation Errors and list the missing-field issues.

3

Correct and revalidate

Select Edit, enter or select the company, and select Save. Then select Revalidate. The document must move to Pending Approval, select the matrix you created, and assign its first approver.

4

Complete approval

Sign in as the assigned approver, open the document from Inbox → Orders, select Manage, then select the Approval header action. Approve or reject the order. An approval moves the document to Approved. A rejection moves it to Rejected and records the selected rejection reason in History.

5

Check the queues

Confirm that the terminal document leaves Needs attention but remains on All documents.

Optional extensions

Add these integrations only when the core flow above works:

  • Replace manual form fields with Customer and Product controls from Lookups and Dropdowns.

  • Restrict the Orders queue, Order documents, and configuration pages in Access Configuration.

  • Add order-specific folders and classification instructions under Configuration → Email Configuration. See Email Configuration.

  • Add a custom post-approval cloud function only if your implementation creates a sales order or starts another downstream process.

For the review workflow and troubleshooting information, see Managing Documents. The screens on the Configuration pages are the same editors this walkthrough uses. These example pages add the Order field values, function names, and checkpoints.

Last updated

Was this helpful?