- This video explains what an OAIZ app is, and when to build one.
Apps
Build an app on your data
A small web page your team opens to see and change what OAIZ keeps.
Open refund requests3 open
OrderCustomerReason
4805Lena OrtizArrived lateApprove
4812Klara VogelWrong sizeApprove
4821Maya ChenCracked shadeApproveApproved
- Fjord Living keeps refund requests in a database. Maya's request for order 4821 is one row.
- Every morning, Sam's team checks the open requests and approves them.
- They want one page that lists only the open requests, with an Approve button beside each.
- In OAIZ, that page is an app. It has its own web address, and it works with your OAIZ data.
Requests live in a database
The team checks the open ones
They want one page
That page is an app
Refund requestsrefund_requests
OrderCustomerstatus
4790Jonas Bergapproved
4805Lena Ortizopen
4812Klara Vogelopen
4799Omar Haddadapproved
4821Maya Chenopen
Sam and the support teamApprove open refund requests each morning
The page Sam wants
Open refund requests
4805Lena OrtizApprove
4812Klara VogelApprove
4821Maya ChenApprove
Your OAIZ data
- In the Library, New, then App, starts one from the OAIZ app starter. Sam calls it Refund approvals.
- The app opens with Chat beside a live preview. Sam describes the page in plain words.
- Chat changes the app's files, and the preview shows the result.
- Each turn saves a version in a draft. People who use the app see none of it until Sam publishes.
New, then App
Describe the page to Chat
The preview shows the result
Changes stay in a draft
LibraryNew
NameType
SupportFolder
Customer requestsWorkflow
Returns policyKnowledge document
Refund requestsDatabase
Create app
Start from the OAIZ app starter. It signs in to OAIZ, and you can build it in chat beside a live preview.
App name
Refund approvals
Create app
Refund approvals
List the open refund requests, newest first, with an Approve button that sets the status to approved.
Working
Completed · 4 steps
Saved Refund approvals version 2 to Open refund requests
src/App.tsx and 2 more files
Open draftUndo this turn
Home
Nothing here yet.
Open refund requests3 open
OrderCustomerReason
4821Maya ChenCracked shadeApprove
4812Klara VogelWrong sizeApprove
4805Lena OrtizArrived lateApprove
Only people with Can change see drafts
- An app reaches only what is shared with it. In Settings, Sam adds the Refund requests database.
- Read only lets the app show rows. Read and change also lets it update them, so the Approve button can work.
- Everyone who uses the app works through the app's own access. Their personal access does not count here.
Share a database with the app
Read and change to update rows
The app's own access
Settings
Name
Refund approvals
Who can use it
Only owners can use it
Databases
Everyone who uses the app works with the app’s access, not their own.
The app uses no databases yet.
Refund requests
Read only
Read and change
Refund requests
Add database
The teamCan use the app
Refund approvalsApp
Refund requestsDatabase
Read only
Read and change
Personal access
does not count
does not count
- When the draft looks right, Publish makes it live at the app's address.
- Share decides who can use it. Sam gives the support team Can use.
- A teammate opens the address and signs in with OAIZ. Only people in your organisation who can use the app get in.
Publish makes it live
Share decides who can use it
Sign in with OAIZ
Publish your draft
Everyone who uses Refund approvals gets these changes.
List open refund requests with an Approve button
Address
refund-approvals-k3m7qa.oaiz.app
Only owners can use it
Publish
Published. Everyone sees it in a moment.
Share
Choose who can use Refund approvals, change it or own it.
SamYouOwner
SupportTeamCan use
Refund approvals
Sign in with your OAIZ account to continue.
Sign in with OAIZ
Open refund requests3 open
OrderCustomerReason
4821Maya ChenCracked shadeApprove
4812Klara VogelWrong sizeApprove
4805Lena OrtizArrived lateApprove
Sign in checks
A member of your organisation
Can use the app, or more
- Next morning, Sam approves Maya's refund. The app sets the row's status to approved.
- Like any saved change to a table, that publishes a Rows changed event.
- A live workflow listens for it, and drafts the refund email to Maya.
One click changes the row
The change is an event
A workflow follows
Open refund requests3 open2 open
4821Maya ChenApproveApproved
4812Klara VogelApprove
4805Lena OrtizApprove
refund_requests · 4821 · status = approved
Event typeRows changed
Rows changed
Draft the refund confirmation to the customer.
A live workflow starts from the event
- Build an app when a workflow or a table needs a screen of its own. A list to review, a form to fill in, or a button that starts work.
- You can now tell when a page on your data is worth building. To go deeper, read the Apps page in the docs.
A screen for your work
A list to review
Rows from a database, with an action on each
A form to fill in
Each entry adds a row that workflows can react to
A button that starts work
Runs a workflow shared with the app