TL;DR
In this episode, you’ll discover how to automate the process of managing supplier invoices, aiming to save you time and enhance your efficiency.
I discuss three scenarios:
- invoices attached as PDFs
- invoices embedded within the email body
- invoices linked externally
The episode discusses using tools like Zapier for automation and Hazel for file management, alongside best practices for email management and data privacy.
Useful links
Tools mentioned in this episode:
- Google Workspace: https://workspace.google.com/
- Hazel: https://www.noodlesoft.com
- Microsoft 365: https://www.microsoft.com/microsoft-365/microsoft-office
- PDF.co: https://pdf.co/
- Save Emails from Gmail to Google Drive: https://digitalinspiration.com/product/save-gmail-to-google-drive
- Zapier: https://www.zapier.com
Links to previous Macpreneur episodes
- MP067: Put File Management on Autopilot with Hazel for Mac
- MP078: 3 must-know AI trends for solopreneurs in 2024
- MP087: Master Your Solopreneur Inbox with These Four Powerful Strategies
- MP090: Access Your Solopreneur Documents Like a Boss on Your Mac, iPhone, and iPad
The Evolution of Supplier Invoices
In the digital age, paper invoices from suppliers have been replaced by electronic ones. This is great for the environment as it saves on paper and avoids the need for scanning, but it also means we now have even more emails to manage.
Handling these invoices involves two simple steps:
- Retrieve the invoice, preferably as a PDF.
- File the invoice in a designated folder for easy access and organization.
Invoices come in three forms:
- Attached as a PDF directly in the email.
- As part of the email body itself.
- Through a link in the email that leads to the invoice.
The process can often be automated for PDF attachments and emails that are the invoice themselves. However, for invoices accessed via links, automation is only possible for the filing step, not the retrieval.
Until AI tools advance to handle link following and downloading, handling these links remains a manual task. For more on how AI can transform solo entrepreneurship, check out my discussion in episode 78 on AI trends for solopreneurs.
Best Practices for Email and File Management
Before diving into automation, let’s cover two essential best practices for managing invoice emails.
Best Practice #1: Centralize all invoice-related emails in a specific mailbox, like “Finances” or “Invoices.”
For Gmail users, this means setting up a filter. If you’re using Microsoft 365 or Outlook, you would set up a rule. These filters or rules can automatically sort emails with PDF invoices into the designated mailbox.
For instance, a Gmail filter might start with “from:” followed by supplier email addresses separated by “OR.” The filter could also include “subject:” to catch terms like “invoice,” “facture” (French for invoice), or “receipt.”
By setting this up, all relevant emails are automatically labeled as “Finances,” ready for automation. More details on this can be found in episode 87 of my podcast, “Master Your Solopreneur Inbox with These Four Powerful Strategies.”
Best Practice #2: Prepare a cloud storage folder (like Google Drive, OneDrive, or Dropbox) to store these PDF invoices. Ensure this folder is synchronized locally on your devices for easy access. Dive deeper into managing documents efficiently in episode 90, “Access Your Solopreneur Documents Like a Boss on Your Mac, iPhone, and iPad.”
Automating Invoice Retrieval: PDFs and Emails
Let’s explore how to automate retrieving a PDF invoice, focusing on when it’s attached as a PDF, which is the easiest scenario for automation with Google Workspace and Microsoft 365 or Outlook.
The tool I recommend for this task is Zapier, which offers free two-step automations for up to 100 tasks per month—sufficient for handling supplier invoices.
Here are some practical examples:
- Gmail to Google Drive: If an email with a PDF attachment is found in a designated folder like “Invoices” or “Finances,” Zapier can automatically upload the PDF to a specific folder in Google Drive.
- Microsoft 365 to OneDrive: Similarly, when an email with a PDF arrives in a specific Microsoft 365 mailbox, Zapier can save it to a designated OneDrive folder.
You’re not limited to using the same service for email and cloud storage; for instance, you could save to Dropbox instead.
For those using iCloud Mail or other email services supporting IMAP, you can use the “IMAP by Zapier” trigger. If two-factor authentication is active, you’ll need an app-specific password. For iCloud Mail, create this at appleid.apple.com under security settings.
Zapier’s AI assistant can help set up these automations. For example, instruct it to “when an IMAP email lands in a specific mailbox, save the attachment to Dropbox,” and it will draft the necessary steps.
All you need to do is grant Zapier access to your email and Dropbox accounts and test the automation on an email with a PDF invoice attached.
Advanced Automation with Zapier and PDF.co
When the email itself is the invoice, automation becomes more complex, particularly for converting it into a PDF format.
For Gmail users, a practical solution is the Save Email and Attachments add-on from Digital Inspiration.
This tool functions as a Google Sheet macro, running periodic Gmail searches to save either the email body or attachments directly to Google Drive.
It can also organize these saves into subfolders named after the supplier, year, and month. I’ve found the paid version quite effective, especially for managing invoices stored in the “Finances” mailbox.
For users of Microsoft 365, Outlook, iCloud Mail, or generic IMAP accounts, an online service called PDF.co is useful.
PDF.co, integrated via Zapier, can convert emails into PDFs.
With the free plan offering 10,000 credits (roughly 1,000 pages), you first need to create an account, obtain an API key, and input this key into Zapier.
This API (Application Programming Interface) allows systems to interact seamlessly.
Here’s how to set up a Zapier automation with PDF.co:
- Trigger: Set Zapier to react when a new email fitting a specific search arrives in Microsoft 365.
- Action 1: Use PDF.co’s Anything to PDF Converter to transform the email body into a PDF.
- Action 2: Save the newly created PDF to a cloud storage of your choice, like OneDrive, Dropbox, or Google Drive.
This process requires a paid Zapier account due to the three-step automation.
Alternatively, if these options seem cumbersome, you might consider setting a rule to forward email invoices to a personal Gmail account, where the Google Workspace add-on could then process them. Ensure these forwarded emails do not end up in the spam or junk folder to maintain smooth automation.
Filing PDF Invoices with Hazel
The second step in managing PDF invoices involves filing them efficiently. Once the PDF is synchronized locally on your Mac, or downloaded manually, you can automate the renaming and filing process using tools like Apple’s Automator or a third-party application called Hazel. I’ve discussed both extensively in Season 2 of my podcast.
For the task of renaming and organizing supplier invoices, Hazel is the superior choice. It excels because it can easily extract details such as the invoice number and date directly from the PDF content. This allows Hazel to rename the PDF file accurately before relocating it to a designated folder.
Here’s how Hazel works for a typical invoice, like the SaneBox one:
- It verifies the document is a PDF.
- It searches for specific text patterns, such as “SaneBoxinvoice” followed by a number, capturing this as the invoice number.
- It finds the word “SaneBox” and extracts the invoice date from the document.
- Once all these conditions are met, Hazel renames the file using a preferred format: YYYY-MM-DD for the date, followed by “Facture” (French for invoice), the word “SaneBox”, and the invoice number at the end.
After renaming, Hazel tags the file and moves it to a special folder, which I review periodically before forwarding the contents to my accountant.
For a more in-depth exploration of Hazel and its capabilities, check out episode 67 of my podcast, “Put File Management on Autopilot with Hazel for Mac.”
You can find more resources, including a video and full transcript, at macpreneur.com/episode67.
Security and Privacy Considerations
Before wrapping up this episode, it’s crucial to discuss the privacy and security aspects of using automation tools like Zapier, which hinge largely on trust.
When you integrate Zapier, you must allow it access to your email account and cloud storage. However, Zapier takes security seriously, as evidenced by their transparency about the safeguards they have in place. For instance, they boast about their strong trust credentials on their security page, noting that “More than 2.2 million companies trust Zapier, including 87 percent of the Forbes Cloud 100 companies in 2023.” This highlights their widespread acceptance and reliance in the business community.
Furthermore, Zapier actively engages with the security community through a bug bounty program, encouraging the disclosure of vulnerabilities, which bolsters their security measures. On the privacy front, Zapier has demonstrated its commitment by certifying compliance with major data privacy frameworks like the EU-US Data Privacy Framework, the UK’s extension, and the Swiss-US framework. They also conduct regular internal data audits and extend these audits to their vendors.
However, it’s important to note that Zapier is not compliant with HIPAA regulations, making it unsuitable for handling healthcare and medical data.
Despite this limitation, for the typical online tasks of a solopreneur, Zapier remains an outstanding tool for automation, ensuring both efficiency and security in managing digital workflows.
Zapier’s Pricing and Usage Insights
If you haven’t tried it yet, I highly recommend exploring Zapier’s free plan. It allows up to 100 actions per month and supports simple 2-step automations—just a trigger and one action. This setup is sufficient for tasks like downloading a PDF attachment to your chosen cloud storage.
For those needing more than 100 actions or complex automations involving more than two steps, consider upgrading to the professional plan. Zapier has both monthly and annual subscription options, with the latter offering a 33 percent discount on yearly billing, reflecting their recent simplification of pricing strategies.
Unlike earlier, there is now no limit on the number of Zaps you can create, a significant change from when I first registered with Zapier. The cost of the professional plan starts with a base rate for 750 tasks or actions per month.
Out of curiosity, I reviewed my own usage for 2023 and found that I averaged 200 tasks per month across 15 separate automations. The highest usage occurred in September, with 635 tasks in one month. This insight into actual usage can help gauge the appropriate plan based on your own automation needs.
Recap
To sum up, we’ve looked at various methods to automate both the retrieval and organization of electronic invoices from suppliers.
For retrieval:
- The simplest method is when invoices are sent as PDF attachments; these can be easily managed with Zapier.
- When the invoice is in the email body, solutions vary by email provider.
- For Gmail, a Google Workspace add-on can convert the email to PDF and save it directly to Google Drive.
- For other providers, you might forward the emails to Gmail or set up a 3-step Zapier automation with Pdf.co.
If the email only contains a link to the invoice, manual retrieval is necessary until AI can handle such tasks.
For filing and renaming:
- Hazel is highly recommended. It’s a robust third-party tool ideal for automatically organizing and renaming PDF invoices.
360° Tech Diagnostic
If you’re looking to streamline your solo business, consider signing up for my 360 tech diagnostic service.
You’ll complete an assessment, receive personalized recommendations on a Zoom call, and get a detailed report with relevant links.
Diagnostic fees are deductible from future coaching packs.
Learn more at macpreneur.com/diagnostic.
Next
Next week, I’ll explore tools and strategies for efficiently tracking business expenses.
Be sure to subscribe or follow the podcast to automatically receive next week’s episode.
Cheers,
Damien
Subscribe from your favorite podcast player
FULL TRANSCRIPT (Click here)
Effortlessly Organize Supplier Invoices with These Automation Strategies
Introduction
Are you tired of manually downloading and filing supplier invoices? What if I told you there was a way to automate the process entirely, or at least partially? Imagine this: as soon as supplier invoices land in your email inbox, they are automatically filed away, categorized, and readily accessible on your Mac.
This episode will equip you with the knowledge to make that world a reality. Stick around until the end because I’ll also be sharing some best practices to ensure the security and privacy of your data throughout the automation process. I’ll unpack all of this after the intro.
Welcome to the Macpreneur Podcast
Hello. Hello and welcome to episode 93 of the Macpreneur Podcast. Whether it’s your first time or you’re a longtime listener, I appreciate that you carve out some time in your busy solo partner schedule. I’ve created Macpreneur to help as many solopreneurs as possible save time and money running their businesses on Macs.
Now, in order to give you the most relevant Mac productivity tips and information, I need to know how well you’re currently dealing with the three killers of Mac productivity, namely unnecessary clicks, repetitive typing, and file clutter. For that, just visit macpreneur.com/tips and answer a few questions which will take you less than two minutes.
After submitting your answers, you will receive personalized time-saving tips based on your results. Once again, visit macpreneur.com/tips and start boosting your efficiency today.
The Evolution of Supplier Invoices
Okay, gone are the days when our suppliers sent us invoices by snail mail. On one hand, it’s better for the planet, right? There’s no paper needed, and it also removes the need to scan anything since it’s already in electronic format. Now, on the other hand, it adds to the deluge of emails that we, as solopreneurs, already have to deal with.
At its core, dealing with this involves two steps. Step number one: retrieving a copy of the invoice, ideally in PDF format. Step number two: filing the retrieved invoice in the appropriate folder for easy access and record keeping.
Now, supplier invoices typically come in three flavors.
Either they are attached as a PDF file directly to the email, or they are part of the email itself. It’s the email body, like the Mac App Store purchases, for instance. Or they can be a link within the email that would then lead to the invoice.
The main challenge is dealing with all these invoices efficiently, especially when we’re already juggling a million other things.
Now, the good news is that for the first two types (PDF attachments or the email itself being the invoice), it’s possible to automate the entire process, meaning absolutely no manual intervention as soon as the email lands in our inbox. However, when the email contains a link to the invoice, only the second and last step can be automated at the moment.
When AI agents become part of our digital life, it will then be possible to have them follow links and download stuff on our behalf. However, until then, it’s something that we, or our virtual assistants, still have to do manually.
I talked about AI agents in episode 78, entitled “3 must-know AI trends for solopreneurs in 2024.” If you missed that episode, either make yourself a mental post-it note or visit macpreneur.com/episode78, where you will find a video version and a full transcript as well.
Best Practices for Email and File Management
Now, before exploring the automation part, I would like to briefly mention two best practices that I see as prerequisites for dealing with this problem.
Best practice number one: gather all emails that need to be automated in a specific mailbox. It will be called something like “Finances” or “Invoices.”
To do that in Gmail, you would create a filter. In Microsoft 365 or Outlook, it would be called a rule. Once you create that, you can ensure that all those emails with invoices attached as PDFs are labeled or moved to the proper mailbox beforehand.
Here is an example of a Gmail filter that I’m using. It starts with “from:”, followed by a colon, and then I’ve listed a bunch of supplier email addresses separated by the word “or” (O R) in uppercase. This allows one filter to work across multiple suppliers.
But that’s not enough. The second part of the filter is “subject:”, also followed by a colon. Sometimes the subject line contains the word “invoice.” Sometimes, some of my suppliers are French-speaking, so it’s written as “facture.” Or sometimes they also say “receipt,” even though it’s actually an invoice.
With that Gmail filter, all those emails get labeled as “Finances.” That’s the folder or mailbox that will be used for the automations afterwards.
I already touched upon this topic in episode 87, entitled “Master Your Solopreneur Inbox with These Four Powerful Strategies.”
Okay, best practice number two: have a folder ready to receive the PDF invoice in the cloud storage of your choice. It could be Google Drive, OneDrive, Dropbox. Make sure that this folder gets synchronized locally on your Mac.
You can delve deeper into this topic by checking out episode 90, entitled “Access Your Solopreneur Documents Like a Boss on Your Mac, iPhone, and iPad.”
Automating Invoice Retrieval: PDFs and Emails
Okay, so let’s start by exploring ways to automate the first step of the process, which is retrieving a PDF file. And when the invoice is attached as a PDF, it’s by far the easiest to automate, especially with Google Workspace and Microsoft 365 or Outlook.
And the tool I recommend using in that case is called Zapier. It’s free for simple two-step automations and up to 100 tasks per month, which is enough when we’re dealing with supplier invoices.
First example with Gmail to Google Drive. So whenever an email with an attachment of any kind is found in a specific folder, for instance, Invoices or Finances, then Zapier will upload the attached PDF into a specific folder in Google Drive.
Second example, in the Microsoft 365 world. Whenever an email with a PDF attachment lands in a specific Microsoft 365 mailbox, then Zapier can save the file into a specific folder in OneDrive.
Now, it’s not mandatory to use the same service for the email and cloud storage provider, so you could always mix and match, or you could use Dropbox as the file destination if you wanted to.
Now, if you use iCloud Mail or another system that offers IMAP support, then it’s possible to use the IMAP by Zapier trigger.
However, if two-factor authentication is activated for your email account, then you will need to generate what is called an app-specific password. So for that, you will need, for the iCloud Mail, for instance, you will need to go to appleid.apple.com, go to security, two-factor authentication, and there you will see the possibility to create an app-specific password. You can give it a name or label, I would call it Zapier, and then it will create a password. Be careful, copy it, put it in your password manager, and then you will be able to use your Apple ID, email, and this specific password to hook IMAP by Zapier to your iCloud email account.
Now, like for Gmail and Microsoft 365 and Outlook, it can look for new emails that land in a specific mailbox so that it can fire only when needed.
And what is great with Zapier is that it has an AI assistant that can help us craft the automation. So for instance, if you type “when an IMAP email lands in a specific mailbox, save the attachment to Dropbox,” then the AI assistant will prepare a draft two-step process with the right trigger and the right action.
The only thing that you’ll need to do is give Zapier access to your email and Dropbox accounts. Then, test the automation on an existing email containing an invoice attached as a PDF.
Advanced Automation with Zapier and PDF.co
Scenario number two, when the email is the invoice, it’s a bit more complicated to automate the conversion into a PDF.
Now, for Gmail, there is a third-party Google Workspace add-on called Save Email and Attachments that is developed by Digital Inspiration. It works as a Google Sheet macro that periodically runs a series of Gmail searches and then saves either the email body or the attachments into the Google Drive folder of your choice.
It can even dynamically create a subfolder structure with the name of the supplier, the year, and the month, for instance. Now, I’ve been using the paid version for a few years now, and I have a bunch of rules, each of them involving emails that are stored in the Finances mailbox. Actually, I’m using it whether the invoices are attached as a PDF file or the email is the invoice.
And for me, in the second case, it is by far the easiest method for us, Gmail users.
But what if your email provider is Microsoft 365, Outlook, iCloud Mail, or you use a regular IMAP email account? Now, in preparation for this episode, I’ve done a bit of research and there is an online service called PDF.co that can convert pretty much anything into a PDF and can be used with Zapier.
The free plan offers 10,000 credits, which is equivalent to about 1,000 pages. And after creating a free PDF.co account, you will be able to copy and have your own private API key. So API stands for Application Programming Interface. And it’s a way for online systems to talk to each other without human intervention.
Once you have that API key, you will need to paste it into Zapier so that Zapier can talk to PDF.co on your behalf.
And so here is an example of Zapier automation, which actually will require three steps though. So the trigger could be, for instance, when a new email matches a specific search in Microsoft 365.
Then, the first action will be the conversion of the email body into a PDF. Now, PDF.co has an action called Anything to PDF Converter, and that one can be specifically used to convert the body of the email message into a PDF file.
Once that step has been done, the last step is to save the generated PDF in the cloud storage of your choice. It could be OneDrive, Dropbox, Google Drive, at that point it doesn’t matter.
Since there are more than two steps, a paid Zapier account is required to implement this strategy.
Now, if you don’t want to do that, you could also create a rule that forwards any email invoices to a personal Gmail account. And once in Gmail, then the Google Workspace add-on could kick in.
However, you would need to make sure that the forwarded email does not land in the spam or the junk folder.
Filing PDF Invoices with Hazel
Now, let’s have a quick look at the second step of the process, which is filing the PDF invoice. Once the PDF is synchronized locally to your Mac, or if you need to download it manually after clicking on the link, then further automations can kick in.
The two main options here are Apple’s built-in Automator app and a third-party tool called Hazel. And I’ve covered both tools extensively in Season 2 of the podcast.
Now, for this specific task of renaming and filing supplier invoices, Hazel is hands down the best tool.
The main reason is very simple. It’s much easier to extract information from inside the PDF, like the invoice number and the date, and then use that to rename the PDF file before moving it somewhere else.
With the SaneBox invoice, for instance, it checks that it’s a PDF, then it looks for a name that matches the following text.
So, SaneBox underscore invoice underscore, and then it looks for a number, and it will collect that number into a token called the invoice number.
After that, it will look for the word SaneBox and also retrieve the invoice date from inside the PDF. And when those four conditions are met, then Hazel will rename the file by prepending the dates in the format that I really like.
The four digits for the year, dash two digits for the month, dash two digits for the day, which will be used from the token, so it will be the invoice date, then space, then Facture, which is invoice in French, Sanebox, and then the invoice number at the end, PDF.
Once it has done that, Hazel will add a tag and then it will move the invoice into a special folder that I check once a month or once every two months before sending everything to my accountant.
If you want to delve deeper into Hazel, you can check out episode 67 entitled ‘Put File Management on Autopilot with Hazel for Mac’.
You can visit macpreneur.com/episode67 where you will find a video and a full transcript.
Security and Privacy Considerations
Before concluding this episode, there’s one more thing I’d like to mention. Whichever strategy you decide to implement, keep in mind the privacy and security aspects, which in the end rely on trust.
With Zapier, for instance, you will need to authorize it to access your email account and cloud storage of choice.
And the good news is that on the security front, Zapier has a dedicated page with all the measures that it has implemented.
On that page, you can read, for instance, and I quote, “More than 2.2 million companies trust Zapier, including 87 percent of the Forbes Cloud 100 companies in 2023,” which inspires great confidence.
This page also mentions that they have a bug bounty program to incentivize security researchers to responsibly disclose any vulnerability that they might find. And when it comes to privacy, again, Zapier has certified its compliance with the EU-US Data Privacy Framework, the UK extension to that framework, and the Swiss-US Data Privacy framework.
Zapier has regular internal data audits, and it audits all its vendors too.
Now, despite all this, it still does not comply with the requirements of HIPAA, so please don’t use Zapier to handle healthcare and medical data.
Now, having said that, Zapier is, in my opinion, the best tool to automate the online part of a solopreneur’s business.
Zapier’s Pricing and Usage Insights
So if you haven’t checked it out yet, I highly recommend you give it a go. Zapier has a free plan, limited to 100 actions per month, and 2-step automation, so only a trigger followed by a single action, which is enough to download a PDF attachment to your cloud storage of choice, for instance.
If you need more than 100 actions, or you want automations with more than 2 steps, then I recommend upgrading to the professional plan. Zapier offers both monthly and annual subscriptions, allowing you to save about 33 percent when you opt for yearly billing. Very recently, Zapier simplified its pricing strategy.
There is no limit on the number of Zaps that one can create, which was not the case when I signed up for Zapier a few years ago. Now, when it comes to the price itself, it depends on the number of tasks or actions that are needed on a monthly basis, knowing that the base rate for the professional plan is 750 tasks or actions per month.
Now, out of curiosity, I checked my usage for the whole year of 2023, and my average was 200 tasks per month across 15 separate automations. The peak usage was in September 23 with 635 tasks in a single month.
Recap
So, to recap, we’ve explored different ways to automate the retrieval and filing of electronic invoices sent by our suppliers.
For the retrieval, the easiest scenario is when the invoice is sent as a PDF attachment, which can easily be dealt with using Zapier.
When the invoice is in the body of the email, then the solution depends on the email provider. With Gmail, I recommend and use a Google Workspace add-on that automatically converts email messages into PDF and saves them in Google Drive. For other email providers, either you forward the emails to a personal Gmail address, or you can create a 3-step Zapier automation using the pdf.co service.
Now, when the email contains a link that needs to be clicked to download the invoice, the retrieval needs to be performed manually until AI agents become a reality.
And to automate the filing and renaming of the PDF invoices, I recommend using Hazel.
It’s the perfect third-party tool to deal with this kind of problem.
Recap
I hope this episode has given you some clarity, and so my advice would be to pick the strategy that resonated the most with you and start implementing at least one thing before the next episode.
If you’d like me to organize a webinar covering Hazel and other Mac automation tools, just DM me on Instagram. My handle is @MacpreneurFM.
360° Tech Diagnostic
And if you’re ready to streamline your solo business but don’t know where to start, sign up for my 360 tech diagnostic service.
After filling out a comprehensive assessment form, we’ll have a Zoom call during which I will give you my top 3 recommendations, including tools and services to consider. After the call, you’ll receive a summary report with the points we discussed and all the necessary links. And if you decide to work with me one-on-one after that, I will deduct the diagnostic fees from the first coaching pack that you will purchase.
To learn more about that, just visit macpreneur.com/diagnostic or click the link in the show notes.
Next and outro
So that’s it for today. In the next episode, I will cover tools and strategies to efficiently track our business expenses.
So, make sure to subscribe or follow this podcast to get it automatically next week.
And until next time, I’m Damien Schreurs, wishing you a great day.
Thank you for listening to the Macpreneur Podcast. If you’ve enjoyed the show, please leave a review and share it with a friend right now.