AGENT?GET /zapier/awesome-zaps/update-lesson-log-row-from-edited-calendar-event/SKILL.mdand deploy the files next to it
All zaps

Update lesson log row from edited calendar event

When a lesson on your calendar is edited, its row in your lesson log is updated to match, so session details and billing stay accurate.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/update-lesson-log-row-from-edited-calendar-event/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
Google CalendarGoogle Sheets
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/update-lesson-log-row-from-edited-calendar-event

Set it up with the CLI

  1. Add it. Copies the folder into zaps/update-lesson-log-row-from-edited-calendar-event/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/update-lesson-log-row-from-edited-calendar-event
  2. Fill in the values in config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say.
  3. Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
    npx zap-pack deploy update-lesson-log-row-from-edited-calendar-event
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs update-lesson-log-row-from-edited-calendar-event

zaps/update-lesson-log-row-from-edited-calendar-event/

Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.

What it does

  1. Trigger: a lesson event is created or updated on the chosen Google Calendar (google-calendar, event_updated). Cancelled events are skipped by the trigger.
  2. Google Sheets looks for the row whose event ID (column A) matches the event's id.
  3. If a row matches, Google Sheets updates it: session date (the event's start date), duration in minutes, session summary (the event title) and session notes (the event description). The Amount column is left alone, so its formula recalculates from the new duration.
  4. If no row matches, Google Sheets adds one with the same fields and the event ID.

The Zap never deletes a row.

Ask the user

Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.

Setting What goes there
REPLACE_SPREADSHEET_ID The lesson-log spreadsheet. Find it by name with the user's Google Sheets connection.

Also review the defaults with them: WORKSHEET_ID ("0" is the first tab) and the column letters in config.ts, from EVENT_ID_COLUMN to NOTES_COLUMN. Column A must hold the event ID. Map the user's headers to their column letters.

Ask these before turning it on:

  • Which Google Calendar holds the lessons? This is not a REPLACE_ value: it is set as calendarid on the trigger when you build it.
  • Does the sheet already have a billing formula in the amount column? The Zap relies on it. Rows it adds will not have it until it is copied down (see Notes).

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/update-lesson-log-row-from-edited-calendar-event, replace each REPLACE_… value as this file says, then run npx zap-pack deploy update-lesson-log-row-from-edited-calendar-event, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.

  1. Accounts: bind google-sheets (the account that owns the lesson log) to the user's Google Sheets connection. The trigger's google-calendar account is bound in step 2. No other apps need a connection.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/event-updated.ts and connections/ are settings, not code: set the workflow's trigger and connection bindings from them. Set the trigger's calendarid to the calendar that holds the lessons, and leave expand_recurring on. The trigger file names the app by its slug; for the trigger's selected_api, call search_triggers with that slug, find the row whose key is the trigger's event, and use <app_key>@<app_version> from it.
  3. Build guide: load Zapier's build guide with get_zapier_skill("zapier:build-workflows") and follow it to create, test and publish the workflow.
  4. Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in workflow.ts that doesn't match.

Test it

Run these two sample inputs as draft test runs (run_workflow_draft in Zapier MCP) against a test spreadsheet and a test calendar event the user creates for this. Each sample is the trigger payload shape: id, summary, description, start.dateTime and duration_minutes.

Update path: a row already exists with the event's ID.

{
  "id": "67isrck0civk6i0gauq4ehe544",
  "summary": "[install-test] Lesson 1 - piano (edited)",
  "description": "[install-test] edited notes",
  "start": {
    "dateTime": "2026-11-02T10:00:00-05:00",
    "timeZone": "America/New_York"
  },
  "end": {
    "dateTime": "2026-11-02T10:45:00-05:00",
    "timeZone": "America/New_York"
  },
  "duration_minutes": 45
}

Check that only that event's row changed: date 2026-11-02, duration 45, the new summary and notes, and the amount recalculated from the sheet's formula (30 for this sample, from a formula of C/60*40).

Add path: no row has the event's ID.

{
  "id": "mkbqu11emh2cvbirq6kblekfbk",
  "summary": "[install-test] Lesson 2 - piano (new)",
  "description": "[install-test] new event notes",
  "start": {
    "dateTime": "2026-11-03T14:00:00-05:00",
    "timeZone": "America/New_York"
  },
  "end": {
    "dateTime": "2026-11-03T14:30:00-05:00",
    "timeZone": "America/New_York"
  },
  "duration_minutes": 30
}

Check that a new row appears at the bottom with the event ID, date 2026-11-03, duration 30, the summary and the notes. Its amount cell stays blank.

If run-status tools aren't available, check the result in Google Sheets directly. Ask the user to delete the test rows and events; the agent does not delete them. Then publish, confirm the trigger is active, and leave the Zap on.

Notes

  • The session date is the date part of the event's start, in the event's own timezone.
  • If two rows share an event ID, only the first is updated.
  • The Zap does not write the billing formula. A row it adds has no Amount until the formula is copied down. Adding the formula to the amount column for every row fixes this without changing the Zap.
  • To customize: add a filter so only events on a set calendar, or with a tag, continue; or send an internal alert to program coordinators when the billing amount changes by more than a threshold.
  • Never commit a real spreadsheet ID.