Create an intelligent workflow to process customer emails by classifying their intent, setting priorities, and generating personalized responses.

1

Set up email classification

Create a Prompt with these system instructions:

Email classifier Prompt
Analyze support emails and classify them by:

1. Category:

   - Technical Issue
   - Billing Question
   - Feature Request
   - Account Management
   - General Inquiry

2. Priority:

   - P1: Critical - Service down, security issues
   - P2: High - Major functionality blocked
   - P3: Medium - Non-critical issues
   - P4: Low - General questions, feedback

3. Sentiment:
   - Positive
   - Neutral
   - Negative
   - Urgent

Output:
{
"category": "string",
"priority": "number",
"sentiment": "string",
"key_points": ["array of main issues"]
}
2

Add priority scoring

Create a Prompt to determine response handling:

Priority scorer
Determine:

1. Response time SLA(Service Level Agreement)
2. Team assignment
3. Escalation needs
4. Customer tier impact
3

Create help desk ticket

Add an API node to create tickets in your help desk system:

4

Generate personalized response

Create a Prompt for customized responses:

Response generator Prompt
Create a response that:

1. Uses customer name
2. Acknowledges the issue
3. Lists next steps
4. Follows brand voice
5. Includes helpful resources
6. Sets clear expectations

5

Send email response

Configure an API node to send the generated response: