Monthly FreshBooks P&L and tax summary to finance
Each month, this flow pulls last month's profit and loss and tax summary from FreshBooks, logs the figures in Google Sheets and posts them to finance in Slack.
The prompt
On the first of every month, pull last month's profit and loss report and tax summary from FreshBooks. Take the headline figures: income, expenses, net profit, and tax collected, paid and net. Add them as a row in our report tracker in Google Sheets, then post them to the finance channel in Slack with a link to the tracker.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works
What each step does
- Work out last month Works out the first and last day of the month that just ended.
- Get the profit and loss Pulls the profit and loss report for that month from FreshBooks.
- Get the tax summary Pulls the tax summary for the same month.
- Pull the headline figures Takes income, expenses and net profit from the profit and loss, and adds up tax collected, tax paid and net tax across your tax rates. If both reports come back empty, finance gets a message in Slack saying so and nothing goes into the tracker.
- Add the month to the tracker Adds a row for the month to your report tracker in Google Sheets.
- Post the figures to finance Posts the month's figures to your finance channel in Slack with a link to the tracker.
Before you turn it on
- Connect your FreshBooks, Google Sheets and Slack accounts.
- Make a report tracker spreadsheet whose first sheet has these column headers: Month, From, To, Currency, Income, Expenses, Net profit, Tax collected, Tax paid, Net tax. Paste its URL into the flow setting Report tracker spreadsheet.
- Pick your finance channel in Post the figures to finance, and schedule the flow to run on the first of each month.