Triage complaints with Gemini and create Jira issues

ProductivitySales EnablementProject ManagementMarketingCollaboration

What it does

When a new email arrives with the Customer complain label in Gmail, this automation sends it to Gemini to analyze urgency and classify the complaint by department. It creates a Jira issue with the analysis, attaches any files from the email, and alerts Slack if anything fails.

Who it's for

Customer support teams who need to automatically log and categorize complaints into Jira without manual review.

Apps used

How teams use this

Reduce manual complaint sorting time

Complaints are automatically analyzed and classified into departments without someone having to read each email. Jira issues are created instantly with all context, so support teams start work immediately.

Route complaints to the right team

Gemini classifies each complaint by department so billing issues go to Finance and technical issues go to Engineering. This ensures faster resolution and reduces handoffs between teams.

Flag high-urgency complaints for escalation

Add a condition to check the urgency level from Gemini and create a separate high-priority Jira issue or send an immediate Slack alert when urgency is critical. This ensures urgent complaints get attention first.

Preserve all evidence in one place

Attachments and email content are automatically linked to the Jira issue so support teams have everything needed to investigate without searching Gmail or shared drives.

How it works

  1. Monitor for new complaints. A new email is added under the Customer complain label in Gmail, starting the intake process.
  2. Analyze email for urgency. The email body is sent to Gemini to identify urgency level and summarize key concerns based on predefined questions you provide.
  3. Classify complaint by department. Gemini categorizes the complaint into the appropriate department such as Billing, Support, or Technical based on the email content.
  4. Create Jira issue with analysis. A Jira issue is created with the urgency level, classification, and complaint summary from the Gemini analysis for tracking and resolution.
  5. Attach email files to the issue. Any attachments from the original email are downloaded from Gmail and uploaded to the Jira issue for complete context and reference.