n8n processes return requests from Typeform, updates Shopify inventory and refunds and notifies customers via email.
Prepare n8n Environment
Navigate to http://localhost:5678 (or your n8n hosted URL) and log in with your credentials.
In the sidebar, click “Workflows,” then select “+ New” and name it (e.g., “Campaign Tracker”). Click “+” on the canvas to open the node selector.
Trigger Node: Typeform Webhook
Node: Webhook
Settings:
Path: return-request
Typeform Webhook: https://<n8n-host>/webhook/return-request for form submissions
Output: Return data (e.g., {{ $json.body.form_response.answers[0].text }} for order ID).
Refund Node: Shopify
Node: Shopify
Settings:
Credentials: Shopify API key
Resource: Refund
Operation: Create
Order ID: {{ $node["Webhook"].json.body.form_response.answers[0].text }}
Amount: {{ $node["Webhook"].json.body.form_response.answers[1].number }}
Output: Refund processed.
Update Inventory Node: Shopify
Node: Shopify
Settings:
Resource: Inventory
Operation: Update
SKU: {{ $node["Webhook"].json.body.form_response.answers[2].text }}
Quantity: Increase by return amount
Output: Stock restored.
Notify Node: Email
Node: Gmail
Settings:
Credentials: Gmail API key
To: {{ $node["Webhook"].json.body.form_response.answers[3].email }}
Subject: Return Processed
Body: Your return for order #{{ $node["Webhook"].json.body.form_response.answers[0].text }} has been processed.
Output: Customer notified.
Flow: Webhook (Typeform) → Shopify (refund) → Shopify (inventory) → Gmail (notify).
Execution: ~20 seconds.
Ready to transform your business with our technology solutions? Contact Us today to Leverage Our AI/ML Expertise.