FeaturedE-commerce#Shopify#Zendesk#Returns#E-commerce#Webhook#Human Review

Shopify Order Exception Review

Check a Shopify order against your return rules and draft a Zendesk reply. A reviewer approves the order note and exact customer message.

Workflow at a glance

The full canvas, before you import it

#Shopify#Zendesk#Returns#E-commerce#Webhook#Human Review

Select a node to see its settings.

20 nodes · Free & source-available

Shopify Order Exception Review

Your verified Shopify or Zendesk event supplies a matched order and support ticket. The workflow reads the order, prepares a policy assessment and pauses before adding the note and sending the reply.

Setup

  • Connections. Webhook + HTTP API. Use a Shopify Admin API access token and Zendesk OAuth. The workflow uses Shopify Admin GraphQL for store order reads and note updates.
  • Model. Select an owned model credential in draft. Keep the example model if your provider supports it, or choose a model that can return structured responses and use tools.
  • Intake. Set the workflow to POST and enable Header Auth or a workflow-scoped execution token. Have a trusted relay verify the source event, deduplicate by event ID and forward the example JSON shape. Configure the relay to acknowledge the source promptly and track the Heym run separately.
  • Reviewers. Connect a Slack Bot credential to teamApproval, configure Slack Interactivity and replace the review channel and allowed user ID with your private channel and designated reviewers. Support verifies the order and ticket link, the note and the public customer reply before either write.
  • Set the store hostname in both Shopify nodes. Save the Shopify token with order read/write access as ShopifyAdmin and the Zendesk OAuth access token as ZendeskTickets in Heym Bearer credentials.
  • Set the Zendesk subdomain and have the relay link the order to its authenticated ticket before sending a request. This flow appends a note and posts a reply without issuing a refund.

Example request

Use this synthetic JSON body in a test run. Replace the sample IDs and addresses with test records you control before approving.

{
  "eventId": "shop-exception-8921",
  "eventType": "order.refund_requested",
  "orderGid": "gid://shopify/Order/123456789",
  "ticketId": 40291,
  "reason": "Customer reports a damaged box and asks for a return label.",
  "policyContext": "Damage report came two days after delivery. Photo received by Zendesk."
}

Paste the workflow onto a new canvas and enter the sample JSON in the cURL dialog using Generic body mode. Reject a test review to confirm that the protected actions are skipped.

Setup references

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates