Orders

Analyze equipment from an email

Analyzes with AI the equipment list in an email and returns the items it detects with their catalogue match.

Action
orders.analyzeEmail
PropertyValue
Domainorders
Group in the editorOrders › Orders
Runs asThe owner of the workflow, with their permissions
PermissionEdit access to Orders. Administrators always pass; a module outside the plan blocks everyone.
Consumes AI creditsYes
DestructiveNot declared

Inputs

messageIdstringRequired

It is the «Id» published by the «Email received» and «Email sent» triggers. With another trigger, it comes from «Find emails» followed by «Iterate list» or «Find in list».

orderIdstring

**Related order.** Optional. The analyzed email is saved on this order. No equipment is added to it.

observationsstring

Outputs

detectedItemsobject[]

Show child attributes
detectedItems.namestring

detectedItems.quantitynumber

detectedItems.statusenum<string>

Available options: available, low_stock, unavailable, not_found

detectedItems.matchedItemIdstring | null

detectedItems.matchedItemNamestring | null

detectedItems.confidencenumber | null

detectedItems.alternativeCountnumber

detectedItems.notesstring | null

summaryjson

sourceFileUrlstring | null

messagesstring[]

warningsstring[]

Was this page helpful?