Log completed time entries into central billing sheet
Each completed time entry becomes one row in your central billing sheet the same day, with the date, hours and project filled in, and duplicates or internal time left out.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/log-completed-time-entries-into-central-billing-sheet/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/log-completed-time-entries-into-central-billing-sheet
Set it up with the CLI
- Add it. Copies the folder into
zaps/log-completed-time-entries-into-central-billing-sheet/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/log-completed-time-entries-into-central-billing-sheet - 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. - 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 log-completed-time-entries-into-central-billing-sheet - Check it. Its recent runs, with status and errors.
npx zap-pack logs log-completed-time-entries-into-central-billing-sheet
zaps/log-completed-time-entries-into-central-billing-sheet/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/google-sheets.tsThe
google-sheetsaccount it uses - triggers/hook.tsWhat starts it:
webhookhook_v2 - workflow.tsThe code; each
ctx.stepis a step in the Zap
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.
SKILL.md
View MarkdownWhat it does
- Trigger: a time tracker posts each stopped entry to a Webhooks by Zapier catch hook (
webhook,hook_v2). - Filter: entries for an internal project, or in a non-billable category, stop here and write nothing.
- Formatting (plain code, no app step): hours are the end minus the start, as decimal hours to two places; the date is the end timestamp as MM/DD/YYYY; tags and notes join into the description.
- Google Sheets looks up the entry ID in the first column. If the entry is already there, the run stops (duplicate).
- Google Sheets appends one row: entry ID, date, staff name, project, hours, description.
The Zap only appends rows. It never edits or deletes what is already in the sheet.
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 central billing spreadsheet. Look it up with the user's Google Sheets connection. |
Also review the defaults with them: WORKSHEET_ID ("0" is the first tab), the column keys in config.ts (COL$A to COL$F must be mapped to the sheet's own headers: entry ID, date, staff, project, hours, description), and INTERNAL_PROJECTS and NON_BILLABLE_CATEGORIES at the top of workflow.ts.
Then ask:
- Which columns hold the entry ID, date, staff, project, hours and description, and which projects are internal or categories non-billable?
- What field names does the time tracker send for the entry ID, start and end times, user name, project, tags, category and notes? The code reads
id,start,end(ISO timestamps), and optionallyuser_name,project,tags(a list),categoryandnotes. If the tracker names them differently, change the mapping in the code before installing. - Should dates follow the timezone in the timestamp (as this zap does), or a fixed one?
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/log-completed-time-entries-into-central-billing-sheet, replace each REPLACE_… value as this file says, then run npx zap-pack deploy log-completed-time-entries-into-central-billing-sheet, 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.
- Accounts: bind
google-sheets(the Google account that owns the billing sheet) to the user's Google Sheets connection. Webhooks by Zapier needs no connection. - Source: publish
workflow.tsandconfig.ts, withREPLACE_SPREADSHEET_IDreplaced by the user's answer.triggers/hook.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - 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.tsthat doesn't match.
Test it
Run this sample as a draft test before publishing, with a test spreadsheet, not the live billing sheet:
{
"id": "install-test-001",
"start": "2026-10-29T09:00:00Z",
"end": "2026-10-29T10:30:00Z",
"user_name": "Install Test",
"project": "[install-test] Client A",
"tags": ["design", "review"],
"category": "Billable",
"notes": "[install-test] sample entry"
}
Expected: one new row with entry ID install-test-001, date 10/29/2026, hours 1.5, staff Install Test, project [install-test] Client A, and description design, review - [install-test] sample entry. Then run the same payload again: the run should finish as a duplicate and add no row. If run-status tools aren't available, check the result in Google Sheets directly.
Then publish, confirm the trigger is active, and give the user the webhook URL to point their time tracker at. Ask the user to delete the test rows and the test sheet; the agent doesn't delete test data.
Notes
- Only the first tab is written, and only the first match counts as a duplicate.
- The date comes from the end timestamp's own date part; for a timestamp with a non-UTC offset, that is the local date. Hours are rounded to two decimal places.
- Anyone with the webhook URL can add rows, so keep it and the spreadsheet ID out of shared copies.
- To notify on long entries, add a Slack or email step after the append that runs when
hoursis above a threshold, such as 8. To handle entries with no project, create a task in the project tool instead of writing a row.