Automate Your Supplier Invoice Approval Workflow on Google Workspace

Approval Workflows , Finance Use Cases

A step-by-step guide on automating supplier invoice approval using familiar and simple tools — Gmail and Google Sheets. Can save your Finance team up to 20h a week!

Table of Contents

Supplier invoicing is one of the many and recurring business processes that take place in a business setting. AccountingTools define supplier invoice as:

“The bill issued by a vendor for goods delivered or services rendered to a customer. The recipient of a supplier invoice issues its own invoices to its customers, and so may refer to supplier invoices as vendor invoices to more clearly differentiate them.”

As a business, you probably receive a couple of these requests weekly or monthly from your suppliers. Although vital to continue receiving or using goods or services on time, the process of constantly and manually monitoring and approving your inbox for every supplier invoice that arrives can be tedious and time-consuming.

That’s why Supplier Invoice Approval Workflow automation is a must. There are various ways and approaches to automating this process. In this post, we will show you how you can now create an automated Supplier Invoice Approval workflow in several easy steps.

Take note that for our scenario the entire Supplier Invoice Approval Workflow automation:

Summary Of The Process

  1. Supplier sends the invoice as an email attachment to a specific inbox.
  2. The supplier’s information, i.e. who is the employee handling the supplier, the supplier folder, etc., is looked up from a Google Sheet based on the email address sending the invoice.
  3. The invoice gets stored in the Google Drive folder specific to the supplier.
  4. A task is assigned to the handler of the supplier to review and approve/reject the invoice:

— If it’s rejected, the supplier gets notified, and the process is terminated

— If it’s approved, proceed to the payment processing

  1. A task is assigned to the Account Payable team to process the payment.
  2. The Account Payable team either Approves the makes the payment or rejects the payment.
  3. The supplier is notified of the result.

Let’s get started! 

Step-by-step creation of the Supplier Invoice Approval Workflow Automation

Crate a Google Sheet

Create a Google Sheets with two Sheets, one for your Supplier Lookup Table, and another one for Logging. In the Lookup sheet, create the columns for the information you’d like to lookup based on the supplier’s email address.

In the Logs Sheet, create a set of columns for each stage of the process you’d like to log and track.

The Drive folder for each of your suppliers where their recurring invoices will be stored for documentation. Please note that you need to use the Folder Id instead of the Folder Name in the Lookup table. That’s because Google Drive is very forgiving and lets us have multiple Folders with the same Name in the same location.

Select a Trigger For Your Flow

Select the trigger action. Choose New Email. This means this Supplier Invoice Approval workflow will be activated every time an email arrives in the appointed inbox that receives supplier invoices.

Add an If Condition

This is where the real magic starts. From the left-hand side of your monitor, click Control Flow and drag and drop If Condition.

After setting the clause of the if condition, the branch will look like this.

Log To History

From the designer panel, click Utilities and drag and drop Log To History to the True branch. This will help you determine the solution. When the flow begins, if no attachment was detected, the flow will be directed to the True branch. What Log To History does is state why a certain error or Flow termination occurs.

Select Control Flow from the left-hand side of your screen and drag and drop Terminate Workflow. If it’s true that no document was attached from the email, the entire workflow is terminated.

Generate ID

Click Utilities then drag and drop Generate GUID.  This will assign a unique identification number to your document should you look for it in the future.

Get Email

From the left-hand side of your screen, click GMail. then drag and drop Get Email. This will retrieve the email information of the invoice sender.

Go to Text, then drag and drop Extract Value.

Lookup Supplier

From the left-hand side of your screen, click Google Sheets, then drag and drop Lookup Row. This step will involve the Supplier Mapping Sheet created earlier and from what Drive it was saved.

Step 10.1. Adding Lookup Supplier step.

Click Setting. Name it “Lookup Supplier”. Connection is the internal person who will handle this information. In our case, this Google Drive is owned by Wonder Woman, our personnel who handles the supplier invoicing tasks. Clicking the Drive icon, select the Sheet(Supplier Mapping sheet) assigned for supplier’s information. 

In the Sheet Name, make sure it’s the right sheet.

Step 10.2. Configuring Lookup Supplier. Routing the right files.

Get Invoice

From your left-hand monitor again, click Collection, then drag and drop Query Collection.

Step 11.1. Adding the Query Collection step.

Again, go to Settings. I named this action “Get Invoice from Attachments”. Click the parameter icon(the one encircled in red), and then select from the dropdown list Get Email Information. Select Attachment. Also, make sure that you select the First item.

Step11.2. Configuring the Query Collection step to retrieve the right information.

Save Invoice

Find Google Drive from your left-hand screen, then drag and drop Save File.

Step 12.1. Adding the Save File step into the Supplier Invoice Approval Workflow automation

Go to Settings, then name this step as “Save Invoice To Drive”. Connection is the Drive you want the file stored in, in this case, it’s Wonder Woman’s Drive. Click the parameter and select Get Invoice From Attachment. From the dropdown list, select Payload.

Step 12.2. Configuring the Save File step by assigning the right Google Drive to store the files.

For the Destination Folder, click parameter and choose Lookup Supplier. From the dropdown list, select Row, and then, Folder ID[D].

Step 12.3. Configuring the right supplier folder of the Supplier Invoice Approval Workflow Automation.

Map a Supplier

Select Google Sheets from your left-hand screen, then drag and drop Add Row. This step will automatically add a new row to your Supplier Mapping sheet along with the information of the invoice sender.

Step 13.1. Integrating Add Row step into the Supplier Invoice Approval workflow automation.

Go to Settings and name the step appropriately. The connection is still Wonder Woman’s drive. Click the Drive icon and choose the Supplier Mapping sheet. For the Log section, click the Google Sheets icon and choose the appropriate sheet in your Supplier Mapping file.

Step 13.2. Configuring the Add Row Step.

Scroll down  and enable Has Header. Add all the necessary column for your log such as:

  • Internal Id
  • Date Received 
  • Supplier
  • Invoice Url
  • Handler
  • Handler Approval Date
  • Handler Approval Outcome
  • Finance Approval Date
  • Finance Approval Outcome
Step 13.3. Adding all the information that should be logged.

Communicate

Select Communication from the left-hand side of your screen, then drag and drop Assign Task.

Step 14.1 Adding Assign Task step to SUpplier Invoice Approval Workflow Automation.

Go to Settings and name this step “Get Handler’s Approval”. Add two outcomes, one for the approval and one for the rejection. You can add the synonyms of approve/reject as shown in the example.

Step 14.2. Configure the Assign Task step.

Configure the Assignee section by clicking the parameter icon. Click Lookup Supplier, and then from the dropdown list, choose Handler[C].

Step 14.3. Configuring the Assignee section.

To configure the Email Subject, click the parameter icon, and then select Lookup Supplier. Select Row, and from the dropdown list, select Name[A]. This will automatically retrieve the name of the invoice sender.

Step 14.4. Configuring the Email Subject section of the Assign Task step.

Again, the parameter icon and then choose Generate Internal Id. From the dropdown list, select GUID. This will retrieve the specific invoice that the handler will review.

Step 14.5. Configuring the GUID.

Configure the body of the message that will be sent to the invoice handler by clicking the parameter icon. Next is clicking the Lookup Supplier, then Row. From the dropdown list, choose Name[A].

Step 14.6. Configuring the Body of the Email.

Head to the parameter icon, then Save Invoice To Drive.  From the dropdown list, select View Link. This action will include a link to the submitted invoice that the handler needs to review.

Step 14.7. Configuring the attached link to the Emai Body.

Select Control Flow from your left-hand screen, then drag and drop the If Condition.

Step 14.8. Add If Condition.

Go to the Settings and name this step as “Approved?”, and then, set the right clause for this condition.

Step 14.9. Configuring the If Condition.

Click GMail, then drag and drop Send Email to False branch.

14.10. Adding Sen Email Step to the False Branch.

Click the Settings icon and start filling in the right information. Name the step as “Notify the Supplier”. The Connection is Wonder Woman’s email address. Then click the parameter icon(encircled in red) and choose From.

Step 14.11. Configuring the Notification receiver.

The body of the rejection email will look like this.

Step 14.12. Configuring the Email Body.

 Get the right parameters:

Go to the parameter icon, then select Lookup Supplier. Click Row, then from the dropdown list, select Name[A]. This action will automatically retrieve the name of the invoice sender.

Step 14.13. Configuring the name.

Next is the Approval comment of the invoice handler. Click the parameter icon, then click Get Handlers’s Approval. From the dropdown list, choose Comment. This step will automatically retrieve the personnel’s comment as to why the invoice was rejected.

Step 14.14. COnfiguring the Comment retrieval.

For the Attachment section of the rejection email, you can click first the parameter icon(encircled in red), and then Get Invoice From Attachment, then from the dropdown list, choose Payload. This will automatically retrieve the said invoice and send it back to the supplier to fix it.

Step 14.15. Configuring to retrieve the right attachment.

Select Control Flow, then drag and drop Terminate Flow. This is the last part, the Supplier Invoice Approval Workflow will terminate should the condition yield False.

Step 14.16. Adding the Terminate Flow step.

Should the condition yield True, then you move to the next step of the Supplier Invoice Approval Workflow automation.

Assign Task To Finance

Click Communication from your left-hand screen, then drag and drop Assign Task. to True branch.

Step 15.1. Adding Assign Task step to True branch in Supplier Invoice Approval Workflow automation.

Go to the Settings icon and input the name of the task.

Step 15.2. of the Supplier Invoice Approval Workflow automation. Configuring the Assign Task step.

Configure the Email Subject section by clicking the parameter icon, and then select Generate Internal ID. From the dropdown menu, click GUID.

Step 15.3. Configuring the Email Subject by adding the GUID.

You can configure the email body by clicking the parameter icon, then clicking Lookup Supplier. Click again the Row, and from the dropdown list, select Name[A]. This will retrieve the name of the supplier who sent the invoice.

Step 15.4. Configuring the Email body section.

Go to the parameter icon, then click Lookup Supplier. Select Row, and then click Handler[C]. This will automatically retrieve the name of the personnel handling the invoice.

Step 15.5 Configuring the Handler retrieval.

Click the parameter icon, then select Save Invoice to Drive. From the dropdown list, select View Link. This step will automatically attach the invoice that needs checking.

Step 15.6. Configuring the link attached.

Record an Approval

Choose Google Sheets from the left-hand screen, and then drag and drop Update Row. This step will log the response of the invoice handler to the Supplier Mapping sheet.

Step 16.1. of Supplier Invoice Approval Workflow automation. adding Update Row step.

Go to Settings. In the File section, click the Drive icon and select the Supplier Mapping sheet.

Step 16.2 of Supplier Invoice Approval Workflow automation, configuring Update Row step.

For the Row section, click the parameter icon. Then click the Log Receiving of the Invoice, and from the drop-down list, select Row Number. This will automatically record the invoice information to your Supplier Mapping sheet.

Step 6.3. Configuring the FIle section.

Enable Header and add two columns for Finance Approval Date[H] and Finance Approval Outcome[I].

Step 16.4. Configuring the column.

Assign a value to each column by clicking the parameter icon. Choose Assign Task To Account Payable, then from the dropdown list, select Response Time.

Step 16.5. Assigning values to the columns.
Step 16.5 Assigning value to columns.

Proceed To Notify The Supplier

Select Control Flow, then drag and drop If Condition.

Step 17.1. of Supplier Invoice Approval Workflow automation, adding If Condition.

Go to Settings, and then name the step. In our workflow, it’s “Approved?”. Then set the condition.

Step 17.2. Setting the clause for If Condition.

If the condition is true, then payment will be made to the account, and the entire Supplier Invoice Approval Workflow will successfully end.

If false, the team will send an automated rejection letter to the invoice sender. Select GMail from the left-hand side of your screen, and then drag and drop Send Email to the False branch.

Step 17.3. Adding Send Email step to False branch.

Click Settings and name the step as “Notify the Supplier”. Connection is Wonder Woman’s email address. Configure To section by clicking the parameter icon and clicking Context. Click Parameter, and from the dropdown list, select From.

Step 17.4. Configuring the To section of the email.

Set the body of the email notification by clicking the parameter icon. Then click Lookup Supplier. Click Row, and from the dropdown list, select Name[A].

Step 17.5. Configuring the Body of the email.

Configure the Attachment section by clicking the parameter icon. Click Get Invoice from Attachments, and from the dropdown list, select Payload.

Step 17.6. Configuring the attachment.

Read More On Approval Workflow automation

Approval Flow For Legal
Sales Proposal Approval
Access Approval Workflow For IT
Vendor Approval
Documents Approval Workflow

Related post

IT automation trends for 2023
Top 5 IT Automation Trends to Expect in 2024

General, ,

In 2024, IT process automation and the adoption of automated technologies are set to result in substantial advantages for businesses that embrace it. By minimizing costs, enabling greater productivity, and opening the door to significant opportunities for growth, automation can create or enhance a team’s competitive advantage, particularly during challenging economic times. Growth in the …

Read more
Zenphi: Revolutionizing Process Orchestration for Google Workspace and Beyond

General , Integrated AI Usage,

Exploring the landscape of business process automation, you’ll encounter a wide range of tools, and it’s not always straightforward to grasp their differences or determine the best fit for your needs. The ideal solution is one that ensures a smooth, end-to-end process flow with minimal manual intervention, seamless data integration, and significant time savings. While …

Read more

Leave A Comment

Your email is safe with us.


Approval Workflows – The Ultimate Guide
Ready to eliminate bottlenecks, reduce manual tasks, and empower your team with faster, more reliable approvals?