🇹🇭 อ่านฉบับภาษาไทย →

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 BoongetKumron Boonget
4 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:

ColumnTypePurpose
StatusEnum (options: Waiting, In progress, Done)Job status
ClosedAtDateTimeWhen the job was closed
ClosedByEmailWho 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

  1. Open your app in the AppSheet editor
  2. In the left menu, click Actions
  3. Click + at the top and choose Create a new action

2. Tell the button what to do

SettingValue
Action nameClose job
For a record of this tableJobs
Do thisData: set the values of some columns in this row

Then under Set these columns, click Add for each column:

ColumnValue (expression)
Status"Done"
ClosedAtNOW()
ClosedByUSEREMAIL()
  • NOW() is the date and time when the button is tapped
  • USEREMAIL() 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 Status column 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:

code
[Status] <> "Done"

To show the button to a supervisor only, add an email check:

code
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 wantChoose in "Do this"
Call a customerExternal: start a phone call
Open a map or a linkExternal: go to a website
Jump to another screen in the appApp: 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 tapGrouped: 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.

#AppSheet#Action
Kumron Boonget
Kumron Boonget

Operations professional at a container and ISO tank depot in Thailand. He builds the systems his team uses every day with Google Sheets, Apps Script and AppSheet, from search pages to repair tracking and automatic alerts, and shares how to build them in plain language for non-programmers.

Comments

No comments yet. Be the first to share your thoughts or ask a question.

Leave a comment
Comments are reviewed before they appear.

Read next