n8n Workflow: CrossBorderHK HKG→Shenzhen Fare Estimate via API + Resend Email
n8n Workflow: CrossBorderHK HKG→Shenzhen Fare Estimate via API + Resend Email
Regular price
£50.99
Regular price
£50.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: CrossBorderHK HKG→Shenzhen Fare Estimate via API + Resend Email
Regular price
£50.99
Regular price
£50.99
Sale price
Unit price
/
per
Get HKG→Shenzhen fare estimates automatically—then email a fixed trip summary and log everything
This n8n workflow collects an internal HKG-to-Shenzhen transfer request via an authenticated n8n Form, calls the CrossBorderHK transfer-estimates API for a starting-fare reference (or manual-review outcome), and sends a structured trip summary through Resend—while recording submission and delivery status in an n8n Data Table.
What this workflow does
- Receives staff submissions from an n8n Form secured with Basic Auth.
- Normalizes form fields into a consistent payload and generates a unique submission ID.
- Tracks every request by upserting the submission into an n8n Data Table.
- Calls the CrossBorderHK estimate API using an authenticated HTTP Request, capturing the response even if the API returns an error.
-
Classifies the result as:
- a starting-fare reference,
- a manual-review requirement, or
- an API error.
- Builds an HTML email summary containing the relevant amount or reasons based on the API response.
- Sends the email via the Resend API to a fixed internal recipient, then writes the provider message ID and delivery status back to the Data Table (or marks delivery as unknown when ambiguous).
Use cases
- Automation for internal teams estimating CrossBorderHK HKG→Shenzhen transfer fares from staff-submitted trip details.
- Operations workflows that need manual-review triggers when the API cannot provide a clear estimate.
- Audit-ready tracking of submission and email delivery status in a centralized n8n Data Table.
Technical details
- Nodes / components: Form Trigger, Basic Auth, Code, Switch, HTTP Request, Data Table, Sticky Note.
- Integrations: CrossBorderHK estimate API (HTTP Header Auth) and Resend (HTTP Header Auth).
- Logging: upsert submission records and update with Resend message ID + delivery status.
