Issue GST e-invoices and e-way bills for Shopify orders via GSP and Google
Ready for 3.0What this workflow does
This workflow has 32 nodes and runs on Shopify events (plus 1 other trigger). Along the way it connects Shopify, Gmail, Slack and Google Sheets and 1 more. It also calls replace-gsp and gotenberg:3000 over HTTP.
How it runs
Trigger: On Shopify events (plus 1 other trigger).
- Seller & GST Config (Code): runs custom JavaScript code
- Lookup Register Entry (Google Sheets): uses Google Sheets
- Read HSN Map (Google Sheets): uses Google Sheets
- Check 24h Window (Code): runs custom JavaScript code
- Read GST Register (Google Sheets): uses Google Sheets
- Can Cancel? (If): checks a condition and branches into true / false
- Build GST Document (Code): runs custom JavaScript code
- Authenticate with GSP (Cancel) (HTTP Request): calls replace-gsp (POST)
- Alert Slack: Cannot Cancel (Slack): uses Slack
- Route by Compliance Type (Switch): routes items into 4 branches
…plus 20 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: replace-gsp, gotenberg:3000
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Shopify Trigger
n8n-nodes-base.shopifyTrigger - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Convert to File
n8n-nodes-base.convertToFile - Google Drive
n8n-nodes-base.googleDrive - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
Quick overview This workflow triggers on paid Shopify orders, calculates GST and compliance routing, generates e-invoices (IRN/QR) or e-way bills via a GSP API, renders a PDF invoice with Gotenberg, archives it to Google Drive, emails it via Gmail, logs to…