Google Mail
Google Sheets
playbook Template

Classify past emails and save to Google Sheets

This automation will find emails from your specified timeframe and categorize them as wanted or unwanted based on your classifier. It will then save the results to a Google Sheets spreadsheet.

This is a Bardeen playbook. It's a pre-built automation template you can run in one-click to perform a repetitive task. Get started with our free Chrome extension.

Explore other automations
This playbook has been deprecated.
Explore Bardeen's playbook catalog for other automations or build your own.

How does this automation work?

Find emails
Action
Classify customized text
Action
Add data to sheet tab
Action

Bardeen’s playbook for classifying past emails and saving the categorized data to Google Sheets is designed to increase efficiency in email management. By automating the categorization process, users can swiftly organize their inbox based on specific criteria without manual sorting. This saves time and ensures that important emails are easily accessible. With this automation, you can analyze email trends, manage your inbox more effectively, and maintain a structured record of email communications in a spreadsheet format.

Here's how this workflow operates to classify emails and log them into Google Sheets:

  • Step 1: Find emails in Gmail - Utilizing Google Mail, this command finds all emails within your specified date range. Gmail is known for its robust search and organization capabilities.
  • Step 2: Classify emails with Bardeen AI - Bardeen AI Actions are then used to categorize the text of the found emails based on the classification task you input. This is where the automation applies your custom logic to organize emails.
  • Step 3: Save to Google Sheets - Finally, the categorized emails are added to a Google Sheets spreadsheet. Google Sheets is a powerful tool for sharing and analyzing data collaboratively.
Run this Google Mail automation with Bardeen in minutes.

How to run the playbook

Are you drowning in a sea of emails, spending valuable time sifting through your inbox to find crucial messages while unwanted ones clutter your digital workspace? It's a common frustration.

Consider a practical solution that effortlessly tackles this email overload. This automation scans and identifies emails within your specified timeframe, categorizing them as either valuable or unwanted based on your unique classifier. No more tedious manual sorting or missing important correspondences.

It also takes the results and securely stores them in a Google Sheets spreadsheet, simplifying your record-keeping process. Whether you're tracking leads, managing subscriptions, or keeping tabs on critical updates, this automation streamlines your email management, freeing up your time for more meaningful tasks.

Bid farewell to email chaos and regain control over your digital communication. It's time to declutter your inbox and optimize your workflow.

Let’s set it up!

Step 1: Pin the playbook and integrate Google Sheets

First, click the “Pin it” button at the top of this page to save this automation. You will be redirected to install the browser extension when you run it for the first time. Bardeen will also prompt you to integrate Google Sheets.

Activate Bardeen (or hit Option + B on Mac or ALT + B on PC on your keyboard) and click on the playbook card. The setup flow will start.

Bardeen will then prompt you to modify your email classifier. You can choose an existing one or create a new classifier with criteria for your emails. 

After you click “customize classifier”, Bardeen’s classifier configuration will launch. You will be asked questions about the emails you want to keep. Answer in as much detail as possible. This will ensure that the classifier is more accurate.

After you answer your questions, Bardeen will request that you create your categories. Your emails will be classified based on your categories and descriptions here. For example, I entered “Emails with Invoice” as a category and added a description. Emails that fit that description will be categorized as “Emails with Invoice” and any other emails will be categorized as “unwanted”.

Finally, we recommend that you train your classifier with sample emails to increase accuracy of the results. 

Finally, enter the category that will trigger the automation and update your Google Sheets row. For this example, I want all emails with invoices and receipts to be saved in my spreadsheet. So I entered “Emails with Invoice” as the classification I want. This will ensure that only emails that fit this category will be saved to my spreadsheet.

Click on “Save Input” and checkmark Google Sheets and your classifier. This will save you time from setup in the future. You can edit Inputs later by hovering over the playbook. 

Step 2: Run the playbook to classify past emails as wanted or unwanted and save to Google Sheets

Press Option + B on Mac or ALT + B on PC on your keyboard to launch Bardeen. Click on the playbook card and run the playbook to classify your emails from a timeframe. It will go over every email for the timeframe, categorize them based on your classifier and save the results and classification to a Google Sheets spreadsheet.

You can also edit the playbook and add your next action to further customize the automation.

Find more Gmail and Google Sheets integrations.

You can also find more about how to increase your personal productivity.

Run this Google Mail automation with Bardeen in minutes.

Available actions & triggers

Apps:
Classify past emails and save to Google Sheets
Classify past emails and save to Google Sheets
Classify past emails and save to Google Sheets
Types:
Both
Actions
Triggers
When label is added to email
When label is added to email
Trigger
Get table from Google Sheet
Get table from Google Sheet
Action
When row changes
When row changes
Trigger
Find emails
Find emails
Action
When email is sent to my trigger address
When email is sent to my trigger address
Trigger
Find email thread from current page
Find email thread from current page
Action
When row is added to or changed in Google Sheet
When row is added to or changed in Google Sheet
Trigger
When row is added to Google Sheet
When row is added to Google Sheet
Trigger
Update or add rows in/to sheet
Update or add rows in/to sheet
Action
Delete email
Delete email
Action
how does bardeen work?

Your proactive teammate — doing the busywork to save you time

Integrate your apps and websites

Use data and events in one app to automate another. Bardeen supports an increasing library of powerful integrations.

Perform tasks & actions

Bardeen completes tasks in apps and websites you use for work, so you don't have to - filling forms, sending messages, or even crafting detailed reports.

Combine it all to create workflows

Workflows are a series of actions triggered by you or a change in a connected app. They automate repetitive tasks you normally perform manually - saving you time.

get bardeen

Don't just connect your apps, automate them.

200,000+ users and counting use Bardeen to eliminate repetitive tasks

Effortless setup
AI powered workflows
Free to use
The #1 AI Automation Extension for Chrome

FAQs

Bardeen - Playbook / Autobooks: Is it possible to create a Playbook that scrapes data from a website and sends it as an email attachment?

You can create a Bardeen Playbook to scrape data from a website and then send that data as an email attachment.

Youtube: Can I download a Youtube video to my computer using Bardeen?

Unfortunately, Bardeen is not able to download videos to your computer.

Google Sheets: What is the best way to export data to Google Sheets?

Exporting data (ex: scraped data or app data) from Bardeen to Google Sheets is possible with our action to “Add Rows to Google Sheets”.

Meetings: Is there a playbook to record and summarize meetings?

There isn't a specific AI use case available for automatically recording and summarizing meetings at the moment

Playbooks/Autobooks: How do I edit an action in a Playbook or Autobook?

Please follow the following steps to edit an action in a Playbook or Autobook.

Scraper: How can I get data from multiple sections of a profile (Eg: getting the experience section on a linkedin profile)?

Cases like this require you to scrape the links to the sections and use the background scraper to get details from every section.

By clicking “Accept”, you agree to the storing of cookies. View our Privacy Policy for more information.