Use ChatGPT to Auto-Respond to Emails (and Create Tasks)

 

superSYSTM™ Details

Learn how to use ChatGPT & Zapier to review, draft and send emails, plus create tasks on your calendar.

Compatibility

✓ paid Zapier plan
✓ paid openAI + ChatGPT subscriptions


Installation Guide

 

Step 0A Create Emails Labels or Alias

This workflow is triggered by a new labeled email specifically for projects. You can choose not to do this step, but then the workflow will run for every email that hits your inbox. I recommend either creating a Projects label or an alias like projects@systms.club.

Don’t forget to create sample data with your own info to test this workflow! Write a & send an email from another account you have.

For my use case, I used, “hi! I’m having trouble with my contact form in Tally not adding submissions to Notion. Can you help?”

Step 0B Create OpenAI API Subscription

In order to use OpenAI’s API, you need an additional paid subscription for tokens.

  1. go to www.openai.com

  2. login using your ChatPT credentials

  3. open the Default Project dropdown in the top left corner

  4. create a new project (name it Zapier ChatGPT)

  5. (open project)

  6. select Dashboard in top right corner

  7. select API Keys in left-side panel

  8. create new Secret Key (name it Zapier ChatGPT)

  9. copy key (you will not be able to access this again)

  10. select Billing in left-side panel

  11. add payment method

  12. add spend limit (I did $5 + auto-recharge)

Zapier Workflow

The following Zapier workflow uses four apps:

  • Gmail

  • Formatter by Zapier

  • ChatGPT

Step 1 (Trigger) New Labeled Email

Trigger Event: New Email

Configure: (Label or Mailbox)

Step 2 Formatter by Zapier — Name

Setup Event: Text

Configure:

  • Transform: Split Text

  • Transform Help: empty

  • Input: From Name (Gmail)

  • Separator: add a space ( ) to indicate the split happens after the first word

Step 3: ChatGPT

Action Event: Summarize Text

Configure:

  • Text to be Summarized: (Gmail)
    Body Plain

  • Info 1: empty

  • Model: gpt-4o-mini

  • Max Tokens: 2048

  • Temp: 1.0

  • Top P: 1.0

Step 4: Formatter by Zapier — Date

This step will format the date to always be the following day at 10AM.

Action Event: Date / Time

Configure:

  • Transform: Add/Subtract Time

  • Input: (Gmail) Date

  • Expression: + 1 Day

  • To Format: (copy this) YYYY-MM-DD 10:00

Step 5: Formatter by Zapier — Date

This step formats the date for 1hr after 10AM to use in the calendar step below.

Action Event: Add/Subtract Time

Configure:

  • Input: Output from Step 4

  • Expression: +1 hour

  • To Format: MMMM DD YYYY HH:mm:ss

Step 6: Create Google Calendar

Action Event: Create Detailed Event

Configure:

  • Calendar (select)

  • Summary:
    [ Task - Summary from Step 3, Name from Step 1 ]

  • Start Date: Step 4 Output

  • End Date: Step 5 Output

Step 7: ChatGPT

This step reviews and drafts a response to the initial email.

Action Event: Conversation with Assistant

Configure:

  • Message: Step 1 Raw Snippet

  • Response Instructions: draft prompt

My prompt is: draft an appropriate email response but do not include a sign-off. if applicable include language that we will complete the request as soon as possible.

Step 8: Gmail

Action Event: Reply to Email

Configure:

  • Thread: Step 1 ID

  • To: Step 1 Email

  • From: add your email

  • From Name: customize optional

  • Body: Step 7 Response Parts


Customizable Options

✓ All primary elements of this superSYSTM™
can be customized.

superSYSTM™ Notes

This workflow is simple and effective for using ChatGPT to review incoming emails, draft & send replies, and create tasks on your calendar based on the email content.


Previous
Previous

The systmsOS™ Lab

Next
Next

Production Hub for Podcasters