Blog

Sending the invoices to your Google Drive account

Posted by:

You are here:
< Back

To send the invoices to a Google Drive account automatically you need to do two steps.

1.- Getting your drive configuration file

2.- Configuring a google drive folder to accept invoices

3.- Configuring the drive account in Woo pdf invoice

Getting your drive configuration file

  1.  Go to google api console (you will need a google account)
  2. Click in ‘Select a project’ and then in ‘New Project’

  3. Define a project name, it can be whatever you want. Then click in ‘Create’. You will be directed to a new page

  4. Make sure your project is selected in the top bar

  5. Click in Library, you will be directed to a new page.

  6. Look for the ‘Google Drive API’ and click it.

  7. Click ‘Enable’

  8. Make sure your project is selected in the top bar. Go to credentials and then click in “Create credentials” and “Service account key”

  9. Select any service account name, make sure JSON is selected and click create. A file is going to be automatically downloaded.

  10. That’s it now you can use that file to configure your drive access.

Configuring a google drive folder to accept invoices

Now that you have your account set up, you need to configure one of your google drive folders to accept files from your new project.

  1. Go to credentials/Manage Service Accounts

  2. You should see a list of all your accounts (in this case there should be only one). Copy its email

  3. Now go to your google drive account, right click in any of your folders and click in share

  4. Paste the email that you just created and click in send

  5. That’s it!

 

Configuring the drive account in Woo pdf invoice

  1. Now that you have your configuration file, open it (you can open it in any text editor like notepad) and copy its content. This is an example of its content:

  2. Go to your invoice designer and click in drive. Then paste your config content into the JSON Config box. Then in the ‘Selected folder’ box define where the invoices should be stored.

  3. And that’s it. Now when the invoice is created it will be send automatically to your drive account.
0
  Related Posts
  • No related posts found.

Add a Comment