Order documents
Which order documents customers can send, what is read from them, how they appear in the preview, and where you find the original in Shopify admin.
- Last verified
- Product
- Vivid Relay for Shopify and Telegram
Instead of typing, a customer can send an order document to your bot. Its lines go through the same matching, questions, and preview as a text order.
Supported documents
| Format | Notes |
|---|---|
| Up to 10 pages. Text PDFs and scanned pages are both supported. | |
| Photo or image | JPEG, PNG, or WebP, sent as a photo or as a file. |
| Excel | .xlsx workbooks. .xls and .ods are not supported. |
| CSV | UTF-8, or UTF-16 with a byte-order mark. Comma, semicolon, tab, and vertical-bar separators are detected. |
Limits:
files up to 10 MB;
spreadsheets up to 1,000 non-empty rows and 30 columns;
up to 50 order lines per document;
up to 20 documents per customer per 24 hours.
Word files, archives, HEIC images, and videos are not supported. Reading a document always uses AI-powered matching and counts toward your plan's AI processing. Without AI-powered matching, the customer receives Document not read and can write the order as product codes with quantities.
Send a document
The customer sends the file in the private chat. The bot replies Document received, and the preview or a question follows shortly.
A caption sent with the file is read like a message:
"new order" replaces the open order, and "add to my order" adds to it;
a selection such as "only the first five lines" or a quantity such as "6 of each" is applied;
order details in the caption, such as "PO 4512", take precedence over the document's own details.
If the customer already has an open order with lines and the caption does not say what to do, the bot asks Add this document to your order? with Add to your order, Replace your order, and Keep your order.
What is read
order lines with product codes or descriptions and quantities, with the page, or the sheet and row, they came from;
the PO number, requested delivery date, and note, when present.
Prices, totals, addresses, and other parties printed on the document are ignored. Prices always come from Shopify.
The document preview
The preview states what was read, for example "Read from 1 document: PDF, 2 pages", and adds a Source column with the page or row of each line. When lines were read from a photo or a scanned page, the preview asks the customer to check those products and quantities before confirming.
When a document can't be used
The bot names the problem and what to do, for example:
Format not supported or Spreadsheet format not supported;
PDF too long, Spreadsheet too large, or Too many lines;
Document could not be opened or CSV file could not be read;
No order lines found or Document not read reliably;
Already in your order when the same file was already added to the open order;
Please wait after 20 documents in 24 hours.
A refused document does not change the open order.
While AI processing is used up
When your store's AI processing for the billing period is used up, documents are not read until it resets or Shopify confirms a plan with more AI processing. A document sent meanwhile receives Document not read: it says documents can't be read at the moment and lists product codes with quantities and /orders with Repeat as ways to keep ordering, without mentioning your plan.
The document is not downloaded or stored, and the open order doesn't change.
It doesn't count toward the 20 documents per 24 hours or the customer's hourly limit of messages and documents.
A document whose reading had already started is finished.
Customers aren't notified when reading resumes; to use the document, the customer sends it again.
See Plans, billing, and support for AI processing.
The Order source page in Shopify admin
Every Draft Order created by Vivid Relay for Shopify and Telegram carries:
the tag
Vivid Relay for Shopify and Telegram;the confirmed PO number, and the requested delivery date as a custom attribute;
the customer's note followed by a short provenance summary, starting "Created by Vivid Relay for Shopify and Telegram from a customer order confirmed in Telegram.", with the sources, how lines were matched, and differences from the documents;
an Order source custom attribute with a link to the app's Order source page.
The Order source page shows the Draft Order, the account, when the customer confirmed, the order details with where each came from, every line with how it was resolved and its source, document rows that did not make it into the order, and each document with its name, format, size, and the time it was received.
Original files are kept for 30 days, and line details for 90 days:
While a document's original file is kept, the page shows Download and the date until which the original is kept.
After 30 days, the original file is deleted and the page shows "Original file removed after 30 days". What was read from it, its name, and the source words of its lines stay on the page.
When your store's document storage is full, the oldest original files are removed earlier to make room for new documents, and the page shows "Original file removed early because document storage was full". See "Document storage" in Limits and troubleshooting.
After 90 days, the document's details and the line details read from it are deleted too. The provenance summary on the Draft Order shows the date until which the page shows them.
If an original is removed while the page is open, Download shows the reason beside the document. Download the originals you need to keep within 30 days.
VIVID INSIGHT