Create a draft reply to the currently opened email using OpenAI

This automation will create a draft email for the currently opened email thread in Gmail using OpenAI.
Bardeen no longer supports Autobooks & Playbooks. Learn more about the new Bardeen.
Find email thread from current page
Action
Merge text
Action
Create OpenAI composed email from text
Action
Create draft email
Action
Steps:

Automating email responses can greatly improve your productivity, especially when dealing with a high volume of emails. This Bardeen playbook takes advantage of OpenAI's capabilities to draft a reply to an email currently open in Gmail. The automation finds the email thread, uses OpenAI to compose a draft reply, and saves it as a draft in Gmail. It saves time and reduces the cognitive load of drafting replies to routine emails.

Here is how this workflow works:

  1. Find Email Thread: Bardeen uses Gmail's integration to find the email thread from the currently open page in Gmail. Gmail is a popular email service that keeps track of all your emails with threaded conversations, tags, and Google-powered search.
  2. Merge Text: The system merges the text "Re:" with the subject of the found email thread. This is a common practice when replying to an email.
  3. Prepare the Text for OpenAI: The system prepares the text for OpenAI by merging "Generate a reply for the following email:" with the body of the found email. This text will be used as an input for OpenAI.
  4. Create OpenAI Composed Email: OpenAI's technology is used to create a composed email from the prepared text. OpenAI is an AI research and deployment company with a mission to ensure that artificial general intelligence benefits all of humanity.
  5. Create Draft Email: A draft email is created in Gmail with the recipient being the sender of the original email and the subject being the merged text from step 2. The body of the email is the composed email from OpenAI.

The new Bardeen – Find leads no one else does:

With our new Bardeen version, you can easily extract data from any website and discover new leads across the web. After extracting data from a website, use Bardeen’s powerful automation tools to validate and enrich your data, run additional scrapers on linked pages, or leverage AI to qualify leads and generate content automatically. Once your data is ready, you can easily export it to CSV, Google Sheets, Airtable, or Notion for further analysis and reporting.

How Bardeen integrates with your existing system:
With Bardeen, you can easily import and export data to spreadsheets or CSV files, then push it to your favorite CRM or outreach tool — like Salesforce, HubSpot, Pipedrive, Apollo.io, or any platform that supports CSV. Most tools offer built-in import options or third-party solutions, making integration seamless and keeping your workflow uninterrupted.
Data Sync between Bardeen and your Tech Stack

"Our Sales and Ops teams can do more in less time to help serve our customers better."

Alex Bouaziz
Co-Founder & CEO at deel.
Enterprise-grade security

SOC 2 Type II, GDPR and CASA Tier 2 and 3 certified — so you can automate with confidence at any scale.

Frequently asked questions

What is Bardeen?
What tools does Bardeen replace for me?
Who benefits the most from using Bardeen?
How does Bardeen integrate with existing tools and systems?
What are common use cases I can accomplish with Bardeen?
By clicking “Accept”, you agree to the storing of cookies. View our Privacy Policy for more information.