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

AppSheet Automation: Email Your Manager the Moment a Job Is Closed, No Code

Build your first AppSheet bot that sends an email every time someone closes a job, with the job name, time and who closed it. Builds on the "Close job" button from the previous article.

Kumron BoongetKumron Boonget
5 Dec 2026 · 4 min read

In Build an Action Button in AppSheet we made a button that sets a job to "Done" and records the time and the person in one tap. That leaves the question teams always ask next: "How does the manager know the job is closed?"

If someone has to open the app every hour to check, it isn't automated. In this article we'll build a bot in AppSheet Automation that sends an email the moment a job is closed, without writing a single line of code.

How automation works

An AppSheet bot has three parts. Think of them as "when → what → with what".

PartMeaningIn this example
EventWhat makes the bot startThe status changes to "Done"
ProcessThe steps the bot runs (one or more)One step: send an email
TaskThe work done in a step, such as sending an email or calling a webhookSend an email

What you need

The Jobs table from the previous article, with at least these columns:

ColumnTypePurpose
JobNameTextJob name
StatusEnum (Waiting, In progress, Done)Job status
ClosedAtDateTimeWhen the job was closed
ClosedByEmailWho closed the job

1. Create a new bot

  1. Open your app in the AppSheet editor
  2. In the left menu, click Automation, then the Bots tab
  3. Click + (New bot) and choose Create a new bot
  4. Give the bot a clear name, such as Notify when job closed

Tip When you click New bot, you can type what you want to do and AppSheet suggests ready-made bots, such as "When Jobs record is updated, send an email". That works too, but here we'll build it step by step so every setting makes sense.

2. Set the event: run when the status becomes "Done"

Click Configure event and set:

SettingValue
Event nameStatus changed to Done
Event sourceData change
Data change typeUpdates (only)
TableJobs

The most important setting is the Condition:

code
AND(
  [_THISROW_BEFORE].[Status] <> "Done",
  [_THISROW_AFTER].[Status] = "Done"
)
  • [_THISROW_BEFORE] is the row before the edit
  • [_THISROW_AFTER] is the row after the edit

Caution If you only use [Status] = "Done", the bot emails again every time anyone edits a finished job, even just a note. Checking "wasn't Done before, is Done now" sends exactly one email, when the job is actually closed.

3. Add a step: send the email

  1. Under the event, in the process, click Add a step
  2. Name the step, for example Email manager
  3. Choose Run a task, then the Send an email task
  4. Set Email Type to Custom template so you can write your own subject and body
SettingValue
ToThe manager's email, e.g. "boss@company.com"
Email SubjectJob closed: <<[JobName]>>
Email BodySee below

Example email body:

code
<<[JobName]>> has been closed.

Closed by: <<[ClosedBy]>>
Time: <<TEXT([ClosedAt], "DD/MM/YYYY HH:MM")>>

Open the app for the details.
  • <<[Column]>> inserts that row's value into the email
  • TEXT([ClosedAt], "DD/MM/YYYY HH:MM") formats the date so it is easy to read

Tip To email the person who requested the job instead, and your table has a column with their email (for example RequestedBy), set To to [RequestedBy]. The bot then emails the right person for each job.

4. Save and test

  1. Click Save at the top right
  2. In the preview, open a job that isn't done and tap Close job
  3. Wait a moment, then check your inbox

If no email arrives, open the Automation monitor (under Manage → Monitor in the editor). It shows whether the bot ran and which step failed.

Bot not running? Check these 4 things

  1. Editing the sheet directly doesn't trigger the bot. Bots only run for changes made through the AppSheet app. Typing "Done" straight into Google Sheets sends nothing.
  2. The condition text doesn't match. If the app uses "Completed" but the condition says "Done", it never fires. The text must match exactly.
  3. Data change type isn't set to Updates. Closing a job edits an existing row; it doesn't add one.
  4. The app isn't deployed. While an app is still a prototype, sending email may be limited. Deploy the app before your team relies on it.

Going further: notify Telegram instead of email

If your team lives in chat rather than email, change the task from Send an email to Call a webhook and send the message to a Telegram bot. How to create the bot and find your chat ID is in Send Telegram alerts from Google Sheets.

SettingValue
Urlhttps://api.telegram.org/bot<TOKEN>/sendMessage
HTTP VerbPost
HTTP Content TypeJSON
BodySee below
code
{
  "chat_id": "<CHAT_ID>",
  "text": "✅ Job closed: <<[JobName]>> by <<[ClosedBy]>>"
}

Caution The token in the URL is visible to everyone who can edit this app. If others co-edit the app, use a separate Telegram bot just for this, and if the token leaks, generate a new one in BotFather straight away.

Summary

This first bot uses Event → Process → Task, the same pattern behind every AppSheet automation. Once it clicks, you can build the next ones quickly, such as a morning summary of open jobs with a Schedule event, or a PDF job sheet attached to the email.

One last tip: keep conditions as narrow as possible. A bot that only emails when it matters keeps your team reading the alerts instead of deleting them unread.

#AppSheet#Automation#Bot
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