๐ŸŽซ Handle Zendesk WooCommerce refund tickets with Slack and Gmail

โšก 36 views ยท ๐ŸŽซ Ticket Management & Triage

Description

Zendesk Refund Ticket Automation with WooCommerce Order Lookup, Slack Alerts & Gmail Emails

This workflow automatically handles refund-related Zendesk tickets for WooCommerce orders. When a new refund ticket is created, it verifies whether the ticket is related to WooCommerce, fetches the order details, checks refund eligibility and then routes the case based on the refund type. Damaged items notify the internal team via Slack, while other refund cases trigger customer emails via Gmail for further proof or confirmation.

Quick Implementation Steps

  1. Import the workflow JSON into n8n
  2. Connect Zendesk, WooCommerce, Slack and Gmail credentials
  3. Update Slack channel and Gmail sender settings
  4. Activate the workflow
  5. Start receiving and processing refund tickets automatically

What It Does

This workflow listens for new Zendesk tickets and checks whether they are related to WooCommerce refunds. If the ticket qualifies, it extracts the order ID from the ticket description and fetches the corresponding order from WooCommerce.

Once the order data is retrieved, the workflow validates the order status and checks whether a refund already exists. Eligible cases are merged with ticket data and routed based on the refund reason, such as damaged items, wrong items, partial refunds or full refunds.

For damaged items, the workflow immediately notifies the internal support team via Slack. For other refund types, it sends structured and context-aware emails to customers using Gmail, requesting proof or informing them about next steps.

Whoโ€™s It For

Requirements to Use This Workflow

How It Works & Set Up

Setup Instructions

  1. Import Workflow

    • Upload the workflow JSON into your n8n instance.
  2. Zendesk Trigger Configuration

    • Connect Zendesk OAuth credentials
    • Trigger runs when a new ticket is created
  3. WooCommerce Configuration

    • Add WooCommerce API credentials
    • Ensure permission to fetch orders by ID
  4. Slack Setup

    • Select the Slack channel for damaged item alerts
  5. Gmail Setup

    • Connect Gmail OAuth
    • Configure sender email and reply settings
  6. Activate Workflow

    • Save and activate the workflow
    • New refund tickets will now be processed automatically

How To Customize Nodes

Add-ons (Optional Enhancements)

Use Case Examples

> There can be many more similar use cases depending on business needs.

Troubleshooting Guide

IssuePossible CauseSolution
Order ID is nullOrder number not in ticket textAsk customers to include order number
Workflow not triggeringZendesk trigger misconfiguredCheck trigger event type
Slack message not sentChannel or credentials incorrectReconnect Slack account
Email not deliveredGmail OAuth expiredReauthorize Gmail
Workflow stops earlyOrder already refundedThis is expected behavior

Need Help?

If you need help setting up this workflow or extending it with advanced automation then our n8n workflow developers at WeblineIndia are happy to assist.

๐Ÿ”— Nodes Used

Slack, Zendesk Trigger, WooCommerce, Gmail

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup