Resumen de la bandeja de entrada de Gmail
Este flujo de trabajo automatiza la gestión de la bandeja de entrada mediante la integración de inteligencia artificial, transformando el volumen de correos electrónicos en información procesable y sintetizada.
+2
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
ChatOutput-qsrsy[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Chat Output]
style ChatOutput-qsrsy stroke:#a170ff
Prompt-cu2bi[<div><img src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt]
style Prompt-cu2bi stroke:#a170ff
ParseData-6kq7u[<div><img src="/_astro/braces.Djq0PW4_.svg" style="height: 20px !important;width: 20px !important"/></div>Extract Text]
style ParseData-6kq7u stroke:#a170ff
GmailMesageComponent-oada2[<div><img src="/_astro/gmail.CLxyIGOu.svg" style="height: 20px !important;width: 20px !important"/></div>Get Messages]
style GmailMesageComponent-oada2 stroke:#a170ff
OpenAIModel-efuet[<div><img src="/_astro/openAI.BhmuxEs3.svg" style="height: 20px !important;width: 20px !important"/></div>OpenAI]
style OpenAIModel-efuet stroke:#a170ff
ParseData-6kq7u -.- Prompt-cu2bi
linkStyle 0 stroke:#a170ff
GmailMesageComponent-oada2 -.- ParseData-6kq7u
linkStyle 1 stroke:#a170ff
Prompt-cu2bi -.- OpenAIModel-efuet
linkStyle 2 stroke:#a170ff
OpenAIModel-efuet -.- ChatOutput-qsrsy
linkStyle 3 stroke:#a170ff
Gmail Inbox Summary
🧩 Overview
This workflow automates the process of reading and summarizing emails from a Gmail inbox. It functions as a personal assistant that securely connects to your email, processes the latest messages, and uses artificial intelligence to generate a concise, easy-to-scan summary. It transforms a cluttered inbox into actionable, summarized information, saving time and improving productivity.
⚙️ Main Features
- Securely connects to a Gmail account to fetch the latest emails from the inbox.
- Processes and structures raw email data into a readable text format.
- Utilizes an OpenAI language model to generate clear, bullet-point summaries for each email.
- Presents the final, organized summary in a user-friendly chat interface.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| Get Messages | Connects to Gmail and retrieves the latest emails from the inbox. | Number of emails to fetch, target inbox label. | Structured email data. |
| Extract Text | Converts the structured email data into plain text for analysis. | Raw email data. | Formatted text containing email information. |
| Prompt | Constructs a detailed instruction for the AI model, defining the summarization task and format. | The formatted text of the emails. | A complete prompt message ready for the AI. |
| OpenAI Model | Analyzes the provided emails and generates concise, bullet-point summaries based on the prompt instructions. | The prompt containing the email text and summarization instructions. | AI-generated text containing the summarized emails. |
| Chat Output | Displays the final, AI-generated email summary to the user in a clear chat format. | The summarized text from the AI model. | A formatted message in the chat interface. |
🧠 Notes
- The workflow requires valid credentials for both Google Gmail and the OpenAI API to function.
- By default, it fetches and summarizes the 10 most recent emails from the primary inbox (INBOX).
- The AI model is instructed to filter out unnecessary greetings, signatures, and irrelevant content to focus on the core message.
- The output is designed for quick scanning, presenting summaries in a consistent "From: [sender] — [summary]" bullet-point format.