Turn Clockify hours into monthly client billing drafts

On the first business day of each month, we turn last month's billable Clockify hours into itemized billing emails, saved as Gmail drafts for your review.

Agentic Task
ClockifyGmailFinanceOperationsEmail AutomationAI Reports
PromptCreate

On the first business day of each month at 9am, prepare client billing drafts from last month's tracked time in Clockify and stage them as Gmail drafts for review. Do not send anything: every message must be left as an unsent Gmail draft so a person can sanity-check the numbers before it ever reaches a client.

First, generate a Clockify summary report for last calendar month using Clockify's Generate a summary report, filtered to billable time and grouped by client and then by project. Pull client details, including each client's name and email address, with Find clients on a workspace. Read each project's billable hourly rate with Get all projects on a workspace.

For each client that had billable time last month, group the billable hours by project and format each project's hours to two decimals. Compute the amount owed for a project by multiplying its hours by that project's billable rate. Note that Clockify stores rate amounts as integers in the currency's minor unit (cents), so divide the rate by 100 before treating it as a dollar figure. Sum the per-project amounts into a single total owed for the client.

Then write a clean, itemized billing email for the client: one line per project showing the project name, its hours (two decimals), the rate, and the amount, followed by the total owed. Address the email to the client's email address from Clockify. Create it with Gmail's Create a Draft, one draft per client, and leave it as an unsent draft.

Skip any client with no billable time last month so no empty bills are drafted. Always format hours to two decimals. Never send a draft automatically: the whole point is to keep a human in the loop before any money-related message goes out.

Additional information

What does this prompt do?
  • Adds up last month's billable hours for each client, grouped by project, straight from your Clockify time entries.
  • Multiplies hours by each project's billable rate to calculate what every client owes.
  • Writes a clean, itemized billing email per client and saves it as a Gmail draft, never sending anything on its own.
  • Skips any client with no billable time last month and rounds every project's hours to two decimals.
What do I need to use this?
  • A Clockify account where your team tracks billable time against clients and projects.
  • Billable rates set on your Clockify projects so amounts can be calculated.
  • A Gmail account to hold the draft billing emails for review.
How can I customize it?
  • Change when it runs, for example the first calendar day of the month instead of the first business day.
  • Adjust the billing email wording, subject line, or which address each draft is sent to.
  • Add a footer note, payment terms, or tax line to every bill.

FAQs

Does this send invoices to my clients automatically?
No. Every bill is saved as an unsent Gmail draft so you can check the numbers and hit send yourself. Nothing reaches a client until a person reviews it.
Where do the billable rates come from?
From the rates you have set on each project in Clockify. The workflow reads those rates and multiplies them by the hours tracked last month.
What happens to clients who had no billable work last month?
They are skipped, so you only get drafts for clients who actually owe something.
Can I review and edit a bill before it goes out?
Yes. Everything lands in your Gmail drafts folder, so you can fix the wording or a number before sending.
How are the hours shown on the bill?
Every project's hours are rounded to two decimal places so the totals read cleanly, and each project is listed as its own line item.

Related templates

Chase unsigned contracts and nudge stalled signers daily

Every weekday we find the contracts still waiting on a signature, resend the ones going stale, and post a prioritized chase list to Slack.

Documenso
Gmail
Slack Bot
Agentic Task
Filter spam from Netlify forms before it reaches your CRM

Every new form submission gets judged real or junk, sorted by intent, and only genuine sales leads land in HubSpot with an email brief waiting for your team.

Netlify
HubSpot
Gmail
Agentic Task
Log Netlify form submissions to Sheets and email the team

Every contact and demo request from your Netlify site lands as a row in your tracking spreadsheet and as an email to your shared team inbox.

Netlify
Google Sheets
Gmail
Deterministic Code
Weekly Netlify build health report across every site

Every Monday, get one email that reads build health across all of your Netlify sites, flags which ones got flakier, and logs a running history.

Netlify
Gmail
Google Sheets
Agentic Task
Catch contract auto-renewals before the notice deadline

Every month we read your signed contracts, find the ones about to auto-renew, and warn you before your window to renegotiate closes.

Documenso
Google Calendar
Gmail
+1
Agentic Task
Daily NetSuite collections digest in Slack with email drafts

Every weekday at 8am, see your total overdue balance ranked by account in Slack, with polite reminder emails waiting as drafts in Gmail.

NetSuite
Slack Bot
Gmail
Agentic Task

Stop rebuilding client bills by hand every month.

Let your tracked hours turn themselves into ready-to-review billing drafts, one per client.