Email Automation
Scheduletrigger Workflow
On a schedule, it handles email with OpenAI / ChatGPT using Jira, Outlook.
What it does
## Try It Out! ### This n8n template watches an outlook shared inbox for support messages and creates an equivalent issue item in JIRA. ### How it works * A scheduled trigger fetches recent Outlook messages from an shared inbox which collects support requests. * These support requests are filtered to ensure they are only processed once and their HTML body is converted to markdown for easier parsing. * Each support request is then triaged via an AI Agent which adds appropriate labels, assesses priority and summarises a title and description of the original request. * Finally, the AI generated values are used to create an issue in JIRA to be actioned. ### How to use * Ensure the messages fetched are solely support requests otherwise you'll need to classify messages before processing them. * Specify the labels and priorities to use in the system prompt of the AI agent. ### Requirements * Outlook for incoming support * OpenAI for LLM * JIRA for issue management ### Customising this workflow * Consider automating more steps after the issue is created such as attempting issue resolution or capacity planning. ### Need Help? Join the [Discord]({{ $env.WEBHOOK_URL }} or ask in the [Forum]({{ $env.WEBHOOK_URL }} Happy Hacking!
The steps
- Schedule Trigger
- Get Recent Messages
- OpenAI Chat Model
- Structured Output Parser
- Markdown
- Create Issue
- Mark as Seen
- Generate Issue From Support Request
- Error Handler
Similar automations
Email AutomationCreate Jira tickets from Gmail and Outlook support emails with OpenAI and Slack48 stepsCustomer Support & HelpdeskCreate Jira Issues from Outlook Emails with OpenAI10 stepsCustomer Support & HelpdeskCreate Jira Issues from Outlook Support Emails8 stepsEmail AutomationTriage invoice disputes from Gmail with OpenAI and Jira15 steps