All templates

Automated Appwrite Function Failure Triage

Every morning, WebRun opens Appwrite, walks the executions list for every function across your projects, separates the runs that failed overnight, pulls the error out of each log, posts a grouped triage list to Microsoft Teams, and pings the on-duty developer in Telegram.

Runs on WebRun · Strict Lockdown policy
Every day at 8:00 AM WebRunorchestrates each step
1 Appwrite find overnight failed executions
2 Microsoft Teams post the triage list
3 Telegram ping the developer on duty
In short

How do I triage Appwrite function executions that failed overnight?

Every morning, WebRun opens Appwrite, reads the executions list for each function across your projects, and separates the runs that failed overnight from the rest. It pulls the error from each failing execution's log, posts a grouped triage list to Microsoft Teams, and pings the on-duty developer in Telegram.

  • Failing functions and their errors are grouped before standup
  • Repeat failures are reported once, not hundreds of times
  • Nothing is retried or redeployed without a developer deciding

Built for backend developers · on-call engineers · startup engineering teams · indie app builders

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens cloud.appwrite.io in a real browser with your saved login - no setup, no API keys.

  2. 1
    Appwrite - find overnight failed executions
    appwrite.io
    WebRun in Appwrite: find overnight failed executions
    WebRun opens Appwrite to find overnight failed executions.
    • Open Appwrite and select each project you want covered
    • Go to Functions and open the executions list for each function
    • Filter to executions from the last twelve hours and separate the failed status from the rest
    • Open the log on each failed execution and capture the error and the duration

    Done when Every overnight failed execution is captured with its function, project and error.

  3. 2
    Microsoft Teams - post the triage list
    microsoft.com
    WebRun in Microsoft Teams: post the triage list
    WebRun opens Microsoft Teams to post the triage list.
    • Post the triage list to your engineering channel
    • Group the failures by function, with a count and the shared error at the top of each group
    • Put functions that failed every run above functions that failed once
    • Note any function that ran clean all night, so the list is not read as the whole picture

    Done when The channel has this morning's failures grouped by function with their errors.

  4. 3
    Telegram - ping the developer on duty
    telegram.org
    WebRun in Telegram: ping the developer on duty
    WebRun opens Telegram to ping the developer on duty.
    • Send the developer on duty a one-line summary with the failure count
    • Name the worst function first and link back to the Teams post
    • Stay quiet on a morning when nothing failed

    Done when The on-duty developer knows the overnight state before opening the console.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
cloud.appwrite.io
ScheduleRuns automatically on this cadence
Every day at 8:00 AM
DeliveryHow each run's result reaches you
Failure triage · Microsoft Teams
OutputWhat each run produces - Overnight failed executions grouped by function, each with its project, error message, run count and duration.
Text
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will it redeploy or retry anything?

No. WebRun only reads executions and logs. Retrying a function, changing code or redeploying stays a human action inside Appwrite.

Does it cover every project?

Yes, every project you list. WebRun opens the Functions executions list in each one, so a failure in a side project is not missed.

What if the same function fails hundreds of times?

It is reported once, as a group with the run count and the shared error, so the list stays readable instead of flooding the channel.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.