Estimate Military Discount Baskets via SaluteScout HTTP API
Estimate Military Discount Baskets via SaluteScout HTTP API
Regular price
£77.99
Regular price
£77.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
Estimate Military Discount Baskets via SaluteScout HTTP API
Regular price
£77.99
Regular price
£77.99
Sale price
Unit price
/
per
Estimate a Military Discount Basket with SaluteScout—automatically from an n8n form
This n8n workflow takes a brand name and verified discount terms from a form, looks up matching SaluteScout discount guides via the public HTTP API, then calculates an estimated pre-tax basket total with spend and allowance caps—returning a clean HTML summary.
What this workflow does
- Collects inputs through an n8n form submission: brand query, eligible and excluded subtotals, a discount percentage, optional ceilings/allowances, and confirmation that the terms were checked.
- Sets currency and output heading to ensure the results are consistent and readable.
- Searches SaluteScout guides by calling https://salutescout.com/api/agent/guides and retrieving up to five published guides that match the entered brand.
- Validates and matches safely: checks inputs, verifies a direct brand match in the returned guide title or ID, and only prepares a link when a safe matching guide URL is found.
-
Calculates the estimated discount using integer-cent arithmetic:
- Separates eligible vs. excluded goods
- Caps the eligible spend base
- Caps the discount based on remaining allowance
- Returns an HTML completion page with guide lookup status and a formatted table of basket totals and estimated discount.
Use cases
- Automation engineers want a repeatable discount estimation flow inside n8n for merchant term checks.
- SaaS operators building a customer-facing calculator need API-backed guide matching plus capped discount math.
- Teams validating “eligible vs excluded” baskets want a consistent, pre-tax estimate with transparency.
Technical details
- n8n nodes: Form Trigger, Form, Set, Code, HTTP Request, Sticky Note.
- External integration: SaluteScout public API (/api/agent/guides), including matching + capped discount computation.
- Output: HTML summary page with basket totals and estimated discount.
