- This video follows one customer message through a workflow, so you can see what each part does.
Workflows
Understand the workflow
Follow one customer message, and see what each part does.
Email received
Sort the request: damaged item, delivery question, return or refund.
Draft a reply that follows the Returns policy.
Log damaged items for the warehouse team.
- Most of what you see on the canvas comes down to a few words. Event, job, action, and workflow.
- One more word, knowledge, gets its own series, Knowledge.
The words to know
Event
Something happened, with its details
Email received
Job
Waits for an event, then works
Sort the request
Action
The work a job does
LLM Call
Workflow
Jobs that work together
Knowledge
Start here · Give OAIZ your business knowledge
- It starts with an event. Maya's email arrives, and OAIZ records it with a type, Email received.
- The event also carries the details of the message. The sender, the subject, and the text. OAIZ calls these properties.
It starts with an event
The details are properties
Maya Chen
maya.chen@example.com
Cracked lamp shade
Hi, my order 4821 arrived today and the lamp shade is cracked. Could you send a new one?
Event type
Email received
Properties
{
"from": "maya.chen@example.com",
"subject": "Cracked lamp shade",
"text": "Hi, my order 4821 arrived today and the lamp shade is cracked. Could you send a new one?"
}
- A job waits for one type of event. When a matching event arrives, the job checks its filters, and then runs its action.
- Here, a model reads the email and decides what kind of request it is. OAIZ calls this action an LLM call.
- When it finishes, the job publishes a new event with its result. That event starts the next job.
A job waits, checks, then acts
The action does the work
Its result is a new event
Sort the request: damaged item, delivery question, return or refund.
EventRequest sorted
Route by category.
1Waits for
Email received
2Checks Filters
The email matches
3Runs its action
LLM Call
Reading the email
Result Damaged item
4Publishes an event
Request sorted
"category": "damaged item"
- A workflow is the group of jobs that work together. Information passes from one job to the next through these events.
- The lines on the canvas show which event each job listens for.
- Some jobs only run in certain cases. Their filters check each event first, for example that the message is about an order.
- When a shipping question comes in instead, that job does not run. The canvas shows Filters not met.
A workflow is jobs working together
Each line shows the event a job listens for
Filters decide when a job runs
The canvas shows Filters not met
Email received
Cracked lamp shade
Do you ship to Norway?
Sort the request: damaged item, delivery question, return or refund.
Route by category.
Log damaged items for the warehouse team.
Draft a reply that follows the Returns policy.
Sam approves the reply before it is sent.
Send the approved reply to the customer.
EventReply sent
EventIssue logged
EventTeam told
Cracked lamp shade
Do you ship to Norway?Listens forRequest sorted
Filters
Only when the message is about an order