NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Hi, good morning everyone!

I'm going talk about an automated email response workflow called eBuddy that aims to be a friendly assistant to the Comms DRIs.. It takes an incoming email, processes it, and drafts a tailored response with minimal human effort.


-----------------------Slide 2----------------------------

When an email arrives, a Mail rule triggers an AppleScript that extracts emails details and encodes it into a JSON and sends it to the Python script which is the core engine of the workflow. 

It takes the parsed email data and drives all the logic and decision-making for the automation

It first decodes the JSON to extract the key email fields — like sender, subject, message content, and thread metadata and then sends this information to Apple-Genai. 

GenAI analyzes the message and extracts key search terms, which are then used to run targeted queries against Confluence.

The workflow is also designed to handle cases where there’s no good documentation match or the sender isn’t asking for docs. In those cases, the language model is still able to generate an appropriate response based on the email alone.


Confluence returns the top two pages for each query— giving us enough context.

Those pages are then passed back to GenA to draft the email content which would tailored to the original message, and sent back to the Python script.

With the drafted email content ready, we then trigger an AppleScript to create the actual email draft. 

This script generates a ‘Reply All’ message within the original thread to preserve context and continuity. The draft can then be reviewed by the comms DRI before sending. This ensures that while the process is highly automated, there’s still a human in the loop — providing oversight and maintaining quality before any response goes out.

-----------------------Slide 3----------------------------
Demo 

Now that we’ve seen how the automation works under the hood, let me show you a live example so you can see it in action end-to-end.

The rule for this demo is set up such that any email sent to me will automatically be processed for a draft response but I have also created a script that will trigger a draft response for any selected email while showing the logs 

1. So let's go over that first --- [ long thread email ]


2 . Now let's see how this might look when we receive an email [ send myself an email ] 




The Mail rule has just triggered AppleScript, which converted the email into structured JSON. That was picked up by the Python script, which decoded the fields and passed the message to GenAI.”

“GenAI extracted search terms, sent three queries to Confluence, and is now using the top six pages to draft the response content.”

And here’s the final draft — automatically created as a ‘Reply All’

-----------------------Slide 4----------------------------

Key Advantages of This Automation:

1. Significant Time Savings
It reduces the manual effort involved in reading, researching, and drafting replies — especially for repeatable or documentation-related inquiries.

2. Operational Efficiency

3. Human Oversight Maintained

4. Scalability
This solution can easily scale with increased email volume, without requiring a linear increase in effort.

5. Adaptability to Non-Doc Queries


6. Configurable Across Use Cases
“This workflow isn’t limited to comms-related emails. It’s designed to be highly pluggable and configurable. Different AppleScript rules can be easily set up to handle other categories of emails — across teams, topics, or mailboxes. That means this same framework can be extended to support multiple use cases with minimal changes.”




------

Demo
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.