Process e-commerce orders with payment verification, inventory, Gmail, and Slack
Ready for 3.0What this workflow does
This workflow has 26 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Gmail and Slack.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Validate Order (Code): runs custom JavaScript code
- Format Error (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Slack: uses Slack
- API - Verify Payment (HTTP Request): calls an HTTP API
- Format Validation Error (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Respond - Validation Error (Respond to Webhook): sends the response back to the webhook caller
- API - Check Stock (HTTP Request): calls an HTTP API
- Format Payment Failed (Code): runs custom JavaScript code
…plus 14 more steps. See the full node list below.
Services it uses
Other Gmail + Slack templates (957)
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 (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Receive orders via webhook with automatic payment verification, stock checking, inventory reservation, shipping label generation, confirmation emails, and Slack notifications. WHAT IT DOES: Accepts order data (customer info, items array, payment ID, shipping…