Build an Action Button in AppSheet: Close a Job in One Tap, With Time and User Logged
Stop opening the form and editing field by field. Build a "Close job" button that changes the status, records the time and saves who tapped it, all in one tap.
Kumron Boonget4 Dec 2026 · 4 min read
Most AppSheet apps start with a data entry form. But once the team uses the app every day, the task they repeat most is changing a status: closing a repair job, approving a request, or receiving stock. If that means tapping Edit, opening the form, picking a status and saving every time, people stop bothering and the data goes stale.
An Action is a button that makes the app do something for you in one go. In this article, we'll build a "Close job" button that does three things with a single tap:
- Changes the status to "Done"
- Records when the job was closed
- Records the email of the person who tapped it
What you need
An AppSheet app with a table (called Jobs in this example) that has at least these columns:
| Column | Type | Purpose |
|---|---|---|
| Status | Enum (options: Waiting, In progress, Done) | Job status |
| ClosedAt | DateTime | When the job was closed |
| ClosedBy | Who closed the job |
Caution The columns your action writes to must be plain columns: no spreadsheet formula, no App formula, and not a virtual column. Otherwise the action can't set their values.
1. Create a new action
- Open your app in the AppSheet editor
- In the left menu, click Actions
- Click + at the top and choose Create a new action
2. Tell the button what to do
| Setting | Value |
|---|---|
| Action name | Close job |
| For a record of this table | Jobs |
| Do this | Data: set the values of some columns in this row |
Then under Set these columns, click Add for each column:
| Column | Value (expression) |
|---|---|
| Status | "Done" |
| ClosedAt | NOW() |
| ClosedBy | USEREMAIL() |
NOW()is the date and time when the button is tappedUSEREMAIL()is the email of the signed-in user, so you always know who closed the job
3. Choose where the button appears
The Position setting has three main options:
- Primary floats on screen and doesn't scroll away. On mobile it's a round floating button
- Prominent is a large button at the top of the detail view. This is the most common choice
- Inline is a small button next to a chosen column, and it also works in table views
For a close-job button, Prominent works well: anyone who opens the job details sees it right away.
Tip To close jobs straight from the table without opening each one, set Position to Inline and pick the
Statuscolumn under Attach to column. Each row in the table view then shows a small button in its status cell.
4. Hide the button when it shouldn't be used
A job that is already closed shouldn't show the button again. Under Behavior, set Only if this condition is true to:
[Status] <> "Done"To show the button to a supervisor only, add an email check:
AND([Status] <> "Done", USEREMAIL() = "boss@company.com")5. Ask for confirmation
Under Behavior, turn on Needs confirmation? and add a message like Close this job? so nobody taps it by accident.
6. Polish the button and test it
- Under Icon, pick a check mark so people understand it at a glance
- Display name sets the label on the button. Leave it empty to use the action name
- Click Save, then try it in the preview on the right: open a job that isn't done and tap "Close job"
If everything is set up correctly, the status changes to "Done", the time and email are written to your sheet, and the button disappears from that job.
Taking it further: other common actions
| What you want | Choose in "Do this" |
|---|---|
| Call a customer | External: start a phone call |
| Open a map or a link | External: go to a website |
| Jump to another screen in the app | App: go to another view within this app |
| Create a row in another table (e.g. a parts request from a repair job) | Data: add a new row to another table using values from this row |
| Do several things with one tap | Grouped: execute a sequence of actions |
Note If you also want to send a notification (email or Telegram) after a job is closed, an action can't do that on its own. You need Automation: see AppSheet Automation: Email Your Manager the Moment a Job Is Closed.
Summary
An action button turns 4–5 taps into one. The app gets easier for the team, and your data gets more complete because the time and the person are recorded automatically every time. Start with the button your team taps most, and add others later.
Comments
No comments yet. Be the first to share your thoughts or ask a question.