Automated Accounts Payable: Step-By-Step Guide

Table of Contents

A step-by-step guide on how to build automated accounts payable process using tools that you’re likely already using — like Google Sheets and Gmail. A detailed video tutorial below.

Processing and approving invoices can be a time-consuming task. In this guide, you will learn how to streamline your accounts payable process using Zenphi's AI tools and Google Sheets. This process ensures accurate data capture, efficient approval routing, and timely payment processing. If your company is already using Google Workspace (G Suite), it will also be the most budget-friendly and data-secure solution that would allow you to automate multiple process, including 3 way invoice matching, payment approvals and more. Learn how to extract values from your documents and get your invoices approved and paid by your team in a few easy steps!

What is the accounts payable process?

The accounts payable process is how a company receives, checks, approves and pays supplier invoices, then records the payment.

Most teams follow the same seven steps. The order changes a little from company to company.

  1. Receive the invoice. It arrives by email, a supplier portal, a form or a shared folder.
  2. Capture the data. The supplier, invoice number, amount, due date and PO number are read from the invoice and entered into a system.
  3. Code it. Each invoice is tied to the right cost center or account.
  4. Match it. The invoice is checked against the purchase order, and against the goods receipt in 3-way matching.
  5. Approve it. The right person approves or rejects it, based on the amount or the cost center.
  6. Pay it. The payment goes out by the due date.
  7. Record it. The payment is recorded and reconciled in your books.

Capturing data, matching and approving are where automation helps most, and they are what the rest of this guide covers. For the wider picture, see our invoice processing page and the 4 functions of accounts payable.

Why Automated Accounts Payable

One of the most common tasks for accounts payable teams is processing invoices, handling payments, and obtaining approvals from different departments. This process can be very time-consuming, involving extensive reviews and communications, which can lead to human errors. When a supplier invoices you for a product or service, you typically have 30 days to pay your bill, making it crucial to handle everything on time to avoid any penalties. Also, if your business processes require issuing a lot of commission invoices upon receiving invoices from your customers, delays and errors can have a much stronger effect: decreased liquidity and cash flow disruptions.

Read here how a wholesale company solved these problems completely in 3 months.

According to Gartner, the biggest obstacles in the smooth invoice-to-cash (I2C) process are the following:

  • Manual Data Entry — leads to typos, miskeyed information, and incorrect data being input, which can cause delays and errors downstream in the payment process.
  • 3 way Invoice Matching disruptions
  • Broken and Inefficient Approval Workflows.

Most of these obstacles are removes by introducing automated accounts payable process. And this post will guide you all the way from zero to hero and allow you to build your 100% automated accounts payable workflow.

To make it even easier, we have created a YouTube tutorial that guides you through the steps found in this guide. Feel free to follow along!

AI for accounts payable: where it fits in the process

AI helps most with reading invoices, matching them and routing approvals. You still review the exceptions.

  • Reading invoices. AI pulls the supplier, invoice number, amount, due date and PO number from the invoice, whatever its layout.
  • Matching. The workflow compares the invoice with the purchase order and flags anything that doesn’t match, before anyone approves it.
  • Approval routing. Each invoice goes to the right approver, with reminders, so nobody chases it by email.

AI doesn’t replace the review. In Zenphi’s invoice capture guide, invoices the AI is less sure about (at or below 0.80 confidence) go to the AP team before any payment action.

You can build this with different tools: document AI or OCR for the reading, your accounting system for matching and posting, and a workflow layer to connect them. Below is one way to do it with Zenphi.

Video Tutorial: Automated Accounts Payable

Accounts Payable Automated Process Overview

Our workflow will have five main sections, each with different actions

  1. Adding the extracted fields to a Google Sheet.
  2. Reviewing if the supplier is already registered.
  3. Getting approval from the Accounts Payable Department for the information in the Google Sheet.
  4. Requesting the payment from the Payments Team.
  5. Notifying the supplier that the payment has been made.

Zenphi, the #1 Intelligent Document Processing solution for Google Workspace, makes it easy to add or remove actions, so feel free to adjust this guide to fit your accounting needs.

Step 1: Set Up Your Zenphi Account

Let's get started by setting up your Zenphi account! Click here to create your free account. Once you're in, it's time to build your first automated flow.

In Zenphi, a 'flow' refers to the entire workflow process. It consists of a ‘trigger’ that initiates the flow and subsequent actions, which are the steps carried out in the process. For this example, we will use the ‘Google Drive File Add Trigger.’ This trigger will start our flow whenever a file is added to a folder of our choice. This ensures that you never miss an invoice – as soon as it’s added to your Google Drive, Zenphi takes care of the rest!

Step 1 screenshot: creating a flow in Zenphi

Step 2: Adding the Invoice Fields to Google Sheets

The first action in this AP workflow is the 'Expense Document Processor' action. This action is very useful for any finance use case, allowing you to parse various fields such as the invoice number, purchase order number, due date, and more. In this example, we will be extracting the supplier name, total due, due date, and invoice number from the received invoice.

Since this action can provide dozens of different fields, to make it easier, we will store only the ones we need inside a variable using the 'Set Variable' action. This allows easy access to the values we wish to use. Then, we will add these values to our previously created Invoice Google Sheet. This action only requires you to indicate which value should be assigned to which column.

Step 2 screenshot: adding the invoice fields to Google Sheets in Zenphi

Step 3: Reviewing if the Supplier is Already Registered

You may receive invoices from the same supplier multiple times, so we have created a sheet inside Google Sheets with a list of previous suppliers and their contact information for easy access. Using the ‘Lookup Row’ action, we will search inside that sheet, setting the search column as the Supplier Name and searching by the previously extracted name. Then, using the ‘If Condition’ action, we will determine if there is an existing record for the supplier.

If we don't find a record, we will use the ‘Request Data’ action. This handy action allows us to request information from a designated recipient. We can build a Zenphi form to send out to the AP team to retrieve the necessary information. Then, using the ‘Add Row’ action, we can add the information for the new supplier to the Google Sheet, specifying that this time we want to update the Supplier sheet.

Lastly, we will use the ‘Lookup Row’ action again to retrieve the updated information for the supplier. This way, we will be able to contact them after the approval or payment process.

Step 3 screenshot: checking whether the supplier is already registered in Zenphi
READY TO IMPROVE YOUR ACCOUNTS PAYABLE WORKFLOWS?Average results your peers get after using Zenphi for 30 days or less
99%Compliance
100%Accuracy
86%Time saved

(Improvements due to Zenphi automations in %)

Step 4: Getting Approval from the Accounts Payable Department for the Information in the Google Sheet

Getting approval from the Accounts Payable department is a crucial step in this process. We want them to review the information added to our Google Sheet and authorize the invoice to proceed to the next team. Using the ‘Assign Task’ action, we can assign a task for someone to review. The AP department will be able to select whether they approve or reject the invoice.

After their decision, we will use the ‘If Condition’ action to direct the flow to the corresponding branch: if the response outcome is Approved, it will follow the true branch. If the invoice is rejected, the flow will use the ‘Update Row’ action to change the status of the reviewed invoice to ‘Rejected’ and send a rejection email using the ‘Send Email (Gmail)’ action. This email will be sent to the supplier using the contact information from the Supplier Sheet, which was either requested or already in the listing.

Using the ‘Format Outcome Time’ action, we can format the response time to notify the supplier exactly when the invoice was rejected. If the invoice is approved, we will retrieve the updated invoice information. We will use the ‘Lookup Row’ action once again to search through the Invoice sheet and retrieve the invoice details.

Step 4 screenshot: the approval step in the Zenphi flow

Step 5: Requesting the Payment from the Payments Team

If the invoice is approved, our next step is to ensure it is paid. We will once again use the ‘Assign Task’ action to request the Payments Team to process the previously approved invoice. Here, we can use the token picker to include information in the email body such as the amount due, payment due date, and approval date by the AP department.

In this case, the only available outcome for the task is “Completed Payment.” This allows the Payments Team to process the payment and mark it as completed by clicking the corresponding button.

Once this task is finished, we will proceed to use the ‘Update Row’ action once again. This action will enable us to change the status of the paid invoice to “Paid.”

Step 5 screenshot: requesting the payment from the Payments Team in Zenphi

Step 6: Notifying the Supplier of the Completed Payment

Last but not least, we will notify the supplier that the payment has been completed. Using the ‘Send Email (Gmail)’ action we can send out a confirmation email. Here you can add any necessary information to the email body. In this example, we have indicated the date of completion as well as the invoice number.

Step 6 screenshot: notifying the supplier in Zenphi

Step 7: Testing your Completed Flow

Now, all that’s left is to save and publish our flow. Once it is published, your flow will begin to monitor your selected folder and analyze any invoices that arrive in your Google Drive.

Zenphi makes it really easy to customize your process, so feel free to add any other actions to ensure your accounts payable process runs how you’d like it to. It’s as easy as that to start saving time by automating your AP workflow! Read more about automating 3 way invoice matching flow or a simplier version – 2 way invoice matching.

Also, you can access our detailed video tutorials on Zenphi community portal: Invoice processing with Gemini; how to save data from email attachments to Sheets; how to analyze data fro invoices using AI and more.

Accounts payable process: frequently asked questions

What are the steps in the accounts payable process?

The accounts payable process has seven steps: receive the invoice, capture its data, code it, match it to the purchase order, approve it, pay it and record the payment. The order changes a little between companies.

How do you automate accounts payable?

Start where the manual work is: reading invoices and chasing approvals. Set a trigger for new invoices, extract the data with AI, check the supplier, send the invoice for approval and request the payment. This guide walks through each step in Zenphi.

How can AI help accounts payable?

AI reads invoices, flags mismatches against the purchase order and routes approvals, so your team reviews exceptions instead of typing data. Invoices the AI is unsure about can be routed to a person before any payment.

The #1 Accounts Payable Process Automation Solution For Google Workspace Environment

Ready to change your manual document processing into set-and-forget workflows? If you use Google Workspace in your business you can easily do it today! Reach out to Zenphi experts and let us help you tailor your document-centric workflows to achieve maximum efficiency and cut opertional costs.