I would like to automate this process of generating action plans as per email from customers. I am tyring to figure out how to do that. That would be appreciated if you point me to the similar threads or effective ways to implement what I would like to do.
Please share your workflow
I am trying to automate the following steps
1. From Slack, I would like to ask n8n to trigger a gmail node to explore my gmail inbox messages that have piled for the last 30 minutes
2. Summarize the context of emails with Field Sets
3. Classify email into relevant topics using Text Classifier
4. Add a label to email based on the classifier
5. Summarize action plans based on the classifer. For example, if an email is from potential customers, then the next node, OpenAI node, summarizes what needs to be done based on the prompt
6. Send the action plans to the team member via Slack if the GPT node finishes summarizing
7. This team member responds to this messege sent from n8n on Slack
That would be nice if I am given a template. I am trying to figure out how to deploy what I would like to do with n8n.
If I just code in Python, I would say, my python code pulls all the email pieces received for the last 30 minutes, apply a ioop function and store timestamps and contexts of the emails. Then, I apply LLM to each piece of email to summarize what actions needs to be taken if its sales email etc.
Please let me know if I am mistaken.
Suppose I set every 30 minutes on Schedule Trigger then this first Gmail node gather all the pieces of email received for the last 30 minutes instead of only one most recent one. Then this AI model takes care of classifiying and summarizing those emails?