Follow one stuck order from a Databricks table to a shared case queue, and see how to use Databricks Apps to replace the manual work that starts after an export.
Monday, 8:12 a.m. Mariana Costa wants to know where her order is. She paid $2,340 three days ago. The money left her account. The order still says “processing.”
Ana, who works in operations, opens the file the team uses to track exceptions: mismatches_FINAL_v3 (2).xlsx. There are 47 rows. Mariana’s order is on row two, highlighted in yellow. Someone typed “check w/ finance!!” in the notes. A sticky note on Ana’s monitor asks whether Pedro saw it.

How the spreadsheet became the workflow
The pipeline had already compared orders with payments, flagged the mismatch, and written it to a Databricks table. The operations team exported that table to Excel and added its own columns for status and notes. That’s how Mariana’s order ended up on row two.
The pipeline did its job. The gap opened after the export, when the team started coordinating the follow-up in a file. Ana could find the order, but she still had to find out whether anyone had called Finance and who was supposed to answer Mariana.
The spreadsheet was a reasonable first answer. The team could add a column the moment it needed one. “Assigned to” gave someone a place to put a name. “Notes” gave the next person somewhere to look. Over time, those extra columns became the team’s record of what it had done. A fresh export could bring in the latest exceptions. Someone still had to carry the notes and assignments over.
For an internal talk at Qubika, we built a demo with Databricks Apps around that moment. What would Ana’s morning look like if the exception and the follow-up lived in the same place? Ana and Mariana are fictional. The queue and the case history are features we built for the demo.
Give row two an owner
Rewind to 8:12. This time, Ana opens the app. The queue shows the exceptions the pipeline detected. She sorts by amount and opens case #48213 at the top of the list.

[Figure 2. The demo queue, sorted by amount. Mariana’s $2,340 order is at the top, open and unassigned.]
On the case screen, the order, payment, and stock details sit side by side. The provider shows that the payment was captured, while the order still says “processing.” Ana assigns the case to herself and follows up with Finance. When Pedro opens the queue, he can see who’s handling it and pick up another case.
After confirming the payment, Ana marks the case as resolved and leaves a note asking the team to proceed with shipping. When a teammate opens it later, the history shows who closed it, when, and why. If Mariana writes back, the next person can pick up the conversation from there. That history also helps at the end of the week. When the team reviews similar exceptions, it has the reasons people recorded as they worked, while the details were still fresh.

Figure 3. The resolved case in the demo, with order, payment, and stock details alongside the resolution and activity history.
How the queue gets its data
The pipeline still writes exceptions to the Databricks table. In the demo, those records sync to Lakebase, the database the app reads to fill the queue. When Ana assigns a case or records a resolution, the app saves that update in Lakebase too. The queue brings the detected exception and the team’s latest action together on the same screen.
Databricks Apps runs the interface that Ana and Pedro use. We built the screens around the work the team needed to do: find an exception, investigate it, assign it, and record the outcome. Other teams can build their own screens around different decisions.
The important design choice was where to save those decisions. The pipeline’s records tell us what the order and payment systems reported. The app’s records tell us what the operations team did about it. When Ana clicks Resolve, the app saves her decision in the case history. The order and payment records still reflect what their source systems reported. If the business needs that button to release a shipment too, that’s a separate action to design with the system that controls shipping.
What it takes to give Ana that button
For Ana, taking ownership is one click. For the team building the app, that click needs a screen, a signed-in user, and somewhere to save the decision. We sketched two ways to build the same workflow. In both, the pipeline already finds the exceptions in Databricks.

Figure 4. Example AWS architecture. The app runs on AWS and queries the data already in Databricks through a SQL warehouse.

Figure 5. Databricks Apps architecture used in the demo. Delta exceptions sync to Lakebase, where the app also stores case state and history.
The AWS sketch uses CloudFront and S3 for the interface, Cognito for sign-in, and ECS Fargate for the API. RDS stores case state. The API also needs a network path and credentials to query Databricks. In the demo architecture, Databricks Apps hosts the interface and API, and Lakebase serves the synced exceptions and stores the team’s decisions. We still designed the queue and configured access and the sync.
Figure 4 counts 12 AWS services, including supporting infrastructure. In the demo, two components handle the app and its case state: Databricks Apps and Lakebase. We built the demo in two days. We’d pick AWS for a team that already runs its apps there. When the data and the people using it are already in Databricks, we’d pick Databricks Apps because the demo architecture leaves fewer separate components to secure.
What else can Ana do from the same screen
The demo uses Lakebase for a specific purpose. It gives the app a place to read the exceptions and remember what people did about them. Databricks Apps can also connect to other platform resources when the workflow calls for them.
Suppose Ana asks, “Can I recheck last month’s orders?” The app could start a Lakeflow Job and show its status while the job runs. Ana could go back to the queue and check the result later.
Say she asks, “Is this happening to more orders today?” The app could query recent exceptions through a SQL warehouse. If the questions change from case to case, a team could add Genie so operators can ask follow-up questions in plain language.
Start with one spreadsheet and one decision
Pick a file the team already works from. Look for a spreadsheet that starts with an export and comes back with new columns. If people are adding owners, statuses, or comments every week, those edits tell you what the app needs to remember.
Follow one row from start to finish. Sit with someone who uses the file and ask them to work through a real case. What do they open to make a decision? Who takes over if they’re out tomorrow? In our demo, that walkthrough fits in two screens: a shared queue and a case detail view with the order, payment, and stock side by side.
Decide what belongs on the first screen. A queue needs enough information for someone to choose a case. In our example, that means the type of exception, the amount, and whether someone is already working on it. Keep the details people use to investigate on the case screen, where they have a reason to read them.
Make the handoff visible. Choose the first action your app needs to save. It might be claiming a case, approving a request, or marking a record for review. Give that action a clear result. For example, when someone claims a case, everyone using the queue should be able to see the owner.
Try it with two people. Have one person work a case and the other pick it up later. Ask the second person to explain what happened using what they can see in the app. If they still need to open a spreadsheet or ask in chat who owns the case, you’ve found the next thing to improve.
When Databricks Apps makes sense
Build an app when the row needs an action. If an internal team already works from Databricks data and keeps adding owners, decisions, or notes to an export, give those actions a place to live. The same approach works for an inventory team reviewing stock discrepancies or a finance team following up on unmatched payments.
Use a dashboard when the job is to monitor. If the operations lead only wants to see how many orders are stuck and whether the backlog is growing, a dashboard can answer both questions. The dashboard and the app can also work together. A manager can monitor the size of the backlog while operators work through individual exceptions in the queue.
Evaluate a separate customer-facing app when the audience changes. In this story, the app is for Ana and Pedro. If Mariana also needs to sign in, track her order, and open a support request, consider that experience alongside your customer identity and support systems.
Fix the data first when the team disputes the rows. Suppose operators spend their mornings checking whether the export flagged the right orders. Trace a few false alarms back to the source with them. Clarify the rules the pipeline uses to detect an exception before asking the team to work from an app.
Monday morning again
At 8:12, Mariana’s message still needs an answer. Ana opens the case and takes it. Pedro can see that she’s on it. By the time someone asks what happened, there’s a record they can both read.
mismatches_FINAL_v3 (2).xlsx didn’t get a v4.
-
What does Databricks Apps replace in this example?
It replaces the spreadsheet a team builds after exporting pipeline exceptions. Instead of adding owners, statuses and notes in Excel, operators work from a shared queue and a case screen where every decision is saved.
-
What role does Lakebase play next to Databricks Apps?
Exceptions detected in Delta tables sync to Lakebase, which the app reads to fill the queue. Lakebase also stores case state and history, so the source records and the team’s decisions stay separate.
-
When should a team build an app instead of a dashboard?
Build an app when a row needs an action, such as an owner, a decision or a note. Use a dashboard when the job is only to monitor volume or backlog. Both can work together.
-
How does this compare with building the same workflow on AWS?
The AWS sketch uses 12 services including supporting infrastructure. The Databricks demo uses two components, Databricks Apps and Lakebase. AWS makes sense for teams that already run their apps there.
-
How should a team start?
Pick one spreadsheet that starts with an export and comes back with new columns. Follow one real row from start to finish, then choose the first action the app needs to save.
Databricks data and AI professional services.
Qubika is a Databricks Gold Partner with 250+ Databricks-certified engineers. Our Data Studio helps enterprise teams evaluate Lakehouse RT and Lakebase, define a governed semantic layer in Unity Catalog, and set budgets, guardrails and traces for AI agents before they scale.




