Make.com Integration
Automate U.S. surplus lines tax calculations in your Make.com scenarios. Connect the Surplus Lines Tax API to 1,500+ apps with a powerful visual workflow builder.
What is Make.com?
Make.com (formerly Integromat) is a visual automation platform that lets you design, build, and automate workflows across your apps and services—without writing code. With Make's intuitive drag-and-drop interface, you can create sophisticated integrations in minutes.
Why Use Make.com Integration?
- Visual Workflow Builder — Design automations with an intuitive drag-and-drop interface
- 1,500+ App Integrations — Connect to Google Sheets, Slack, Airtable, databases, and more
- Advanced Logic — Built-in routers, filters, iterators, and error handlers
- Real-Time Processing — Instant triggers via webhooks for immediate calculations
- Batch Operations — Process multiple policies efficiently with iterators
- Powerful Scheduling — Automate rate updates and batch calculations on your schedule
Prerequisites
Before using the Make.com integration, ensure you have:
-
Make.com Account
Free or paid Make.com account. Sign up at make.com
-
Surplus Lines Tax API Key
Get your API key at app.surpluslinesapi.com. New accounts include 100 free queries.
-
Connected Apps (Optional)
Depending on your use case, you may need connections to Google Sheets, webhooks, databases, or other apps.
How It Works
The Make.com app connects your scenarios to the Surplus Lines Tax API with three modules:
Trigger Module
Watch rows, webhook, schedule, or manual trigger
Surplus Lines API Module
Calculate tax, search rates, or fetch states
Action Module
Update spreadsheet, send notification, return webhook response
Installation
The Surplus Lines Tax API app is available in the Make.com app directory and ready to use in your scenarios.
Quick Start
- Log in to your Make.com account at make.com
- Click Create a new scenario
- Search for "Surplus Lines Tax API" in the module selector
- Add the module to your scenario
- Configure your API credentials (see Configuration below)
New to Make.com?
Check out Make's Getting Started Guide to learn the basics of scenarios, modules, and connections.
Configuration
Step 1: Create API Connection
- In your scenario, add a Surplus Lines Tax API module
- Click Add next to the Connection field
- Enter a connection name (e.g., "Surplus Lines API")
- Paste your API key from app.surpluslinesapi.com
- Click Save
Keep Your API Key Secure
Never share your API key publicly or expose it in client-side code. Make.com securely stores your credentials.
Step 2: Configure Module
- Select your connection from the dropdown
- Choose the module operation (Calculate Tax, Search Rates, or Get States)
- Map input fields from previous modules or enter values manually
- Click OK to save the module
Testing the Integration
Quick Test Scenario
- Create a new scenario
- Add a Tools → Set Variable module with test data:
- state: Texas
- premium: 10000
- Add the Surplus Lines Tax API → Calculate Tax module
- Map the state and premium variables
- Click Run once
Expected Result: You should see tax calculation output with Texas tax ($485), stamping fee ($18), and total due ($10,503).
Template: Google Sheets Tax Calculator
Automatically calculate surplus lines taxes for new rows in Google Sheets. Perfect for batch processing policies.
⚡ Ready-to-Use Template
How It Works
Module 1: Iterator - Loop through new rows
Module 2: Surplus Lines Tax API - Calculate Tax
Module 3: Google Sheets - Update row with results
Error Handler: Writes errors to Status column
Required Google Sheet Columns
- State - State name (e.g., "Texas")
- Premium - Premium amount
- Tax Amount - Calculated tax (auto-filled)
- Total Due - Grand total (auto-filled)
- Status - Success/Error message (auto-filled)
Setup Steps
- Click "Use This Template" above
- Connect your Google Sheets account
- Connect your Surplus Lines API key
- Select your Google Sheet and worksheet
- Turn the scenario ON
Template: Daily Tax Rate Sync
Automatically update a Google Sheet with the latest surplus lines tax rates for all states. Runs daily to keep your rates current.
⚡ Ready-to-Use Template
How It Works
Module 1: Google Sheets - Clear Values (A2:D54)
Module 2: Surplus Lines Tax API - Search Rates
Module 3: Iterator - Loop through all states
Module 4: Google Sheets - Add row with state data
Google Sheet Structure
Creates/maintains a sheet with these columns:
- State - State name
- Rate - Current tax rate (%)
- Stamping Fee - Stamping fee rate (%)
- Last Updated - Timestamp of sync
Setup Steps
- Click "Use This Template" above
- Connect your Google Sheets account
- Connect your Surplus Lines API key
- Create a new Google Sheet with headers: State | Rate | Stamping Fee | Last Updated
- Select your Google Sheet in the scenario
- Turn the scenario ON
Template: Webhook-Based Calculator
Real-time tax calculations via webhook API. Perfect for integrating with external systems, apps, or custom forms.
⚡ Ready-to-Use Template
How It Works
Module 2: Surplus Lines Tax API - Calculate Tax
Module 3: Webhook Response - Return success JSON (200)
Error Handler (from Module 2):
→ Module 4: Tools - Set Variable (errorMessage)
→ Module 5: Webhook Response - Return error JSON (400)
Webhook Request Format
POST https://hook.us2.make.com/YOUR-WEBHOOK-ID
Content-Type: application/json
{
"state": "Texas",
"premium": 10000
}
Success Response (200)
{
"success": true,
"data": {
"state": "Texas",
"premium": 10000,
"totalTax": 489,
"totalDue": 10489,
"taxBreakdown": {
"surplusLinesTax": 485,
"taxRate": 0.0485,
"stampingFee": 4,
"stampingFeeRate": 0.0004
}
}
}
Error Response (400)
{
"success": false,
"error": "Invalid state provided",
"message": "Invalid state or premium value provided"
}
Error Handling: The scenario includes an error handler that catches invalid inputs (e.g., invalid state names, negative premiums) and returns a properly formatted error response with HTTP 400 status code.
Setup Steps
- Click "Use This Template" above
- Connect your Surplus Lines API key
- Copy the webhook URL from the trigger module
- Turn the scenario ON
- Test with cURL or Postman using the request format above
Module: Calculate Tax
Calculate surplus lines tax for any U.S. state and premium amount with detailed breakdowns.
Required Parameters
| Parameter | Type | Description |
|---|---|---|
state |
Text | State name or abbreviation (e.g., "Texas" or "TX") |
premium |
Number | Premium amount in USD (must be positive) |
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
wet_marine |
Boolean | Wet marine coverage (affects Alaska) |
fire_insurance |
Boolean | Fire insurance (affects SD, MT) |
electronic_filing |
Boolean | Electronic filing (affects MT stamping fee) |
fire_marshal_rate |
Number | Fire marshal tax rate 0-1% (Illinois only) |
medical_malpractice |
Boolean | Medical malpractice (exempt in PR) |
workers_comp |
Boolean | Workers compensation (exempt in VA) |
year |
Number | Tax year (affects Iowa rates 2024-2027) |
new_business |
Boolean | New vs renewal policy (affects Oregon $10 fee) |
Example Output
{
"State": "Texas",
"State Code": "TX",
"Premium": 10000,
"Total Tax": 489,
"Total Due": 10489,
"Tax Breakdown": {
"Surplus Lines Tax": 485,
"Tax Rate": 0.0485,
"Stamping Fee": 4,
"Stamping Fee Rate": 0.0004
}
}
Module: Search Rates
Retrieve current tax rates for all U.S. states and territories, or filter by a specific state.
Optional Parameters
| Parameter | Type | Description |
|---|---|---|
state |
Text | Optional. Filter by specific state name or 2-letter code (e.g., "Texas" or "TX"). Leave empty to get all states. |
Returns
Array of rate objects, each containing:
- State name
- Surplus lines tax rate (%)
- Stamping fee rate (if applicable)
- Special rules and notes
Example Output
{
"success": true,
"request_id": "req-1770111587080-zv53yfmdb",
"count": 53,
"data": [
{
"state": "Alabama",
"state_code": "AL",
"tax_rate": "6%",
"stamping_fee": null,
"filing_fee": null,
"service_fee": null,
"surcharge": null,
"regulatory_fee": null,
"fire_marshal_tax": null,
"slas_clearinghouse_fee": null,
"flat_fee": null,
"special_notes": null,
"payment_frequency": "Annually",
"legislative_source": "https://law.justia.com/codes/alabama/..."
},
{
"state": "Texas",
"state_code": "TX",
"tax_rate": "4.85%",
"stamping_fee": "0.04%",
"filing_fee": null,
"service_fee": null,
"surcharge": null,
"regulatory_fee": null,
"fire_marshal_tax": null,
"slas_clearinghouse_fee": null,
"flat_fee": null,
"special_notes": null,
"payment_frequency": null,
"legislative_source": "https://statutes.capitol.texas.gov/..."
}
// ... remaining 51 states
],
"account": {
"balance": "9.62",
"free_queries_remaining": 0,
"was_free_query": false
}
}
Module: Get States
Get a list of all supported U.S. states and territories as 2-letter postal codes.
Parameters
None required.
Returns
Array of 2-letter postal codes for all 50 states plus District of Columbia, Puerto Rico, and U.S. Virgin Islands.
Example Output
[
"AL",
"AK",
"AZ",
...
"TX",
...
"WY"
]
Module: Get Historical Tax Rate
Look up tax rates that were in effect on a specific date. Perfect for policy audits, renewals, and historical compliance verification.
New Feature
Historical rates allow you to calculate taxes using the rates that were in effect at a specific point in time—essential for policy audits and retroactive calculations.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
state |
Text | Yes | State name or 2-letter code (e.g., "Texas" or "TX", "California" or "CA") |
date |
Date | No | The date for which to retrieve historical rates (YYYY-MM-DD format). Defaults to today's date if not provided. |
Example Output
[
{
"success": true,
"state": "Texas",
"state_code": "TX",
"query_date": "2024-01-02",
"rate": {
"tax_rate": "0.0485",
"stamping_fee": "0.0004",
"filing_fee": "0.0000",
"service_fee": "0.0000",
"surcharge": "0.0000",
"regulatory_fee": "0.0000",
"fire_marshal_tax": "0.0000",
"slas_clearinghouse_fee": "0.0000",
"flat_fee": "0.00",
"effective_from": "2024-01-01T00:00:00.000Z",
"effective_to": null,
"legislative_source": "https://statutes.capitol.texas.gov/docs/IN/htm/IN.225.htm",
"confidence": "unknown"
},
"account": {
"balance": "0.00",
"free_queries_remaining": 408,
"was_free_query": true
}
}
]
Use Cases
- Policy Audits — Verify taxes were calculated correctly using rates in effect at policy inception
- Renewals — Compare current rates to prior year rates for renewal quotes
- Compliance — Document historical rate information for regulatory filings
- Retroactive Calculations — Calculate taxes for backdated policies
Troubleshooting
"Connection failed" error
Your API key is invalid or expired. Verify your key at app.surpluslinesapi.com.
"Insufficient balance" error
Your account balance is depleted. Add funds at app.surpluslinesapi.com.
"Invalid state" error
Check the state name spelling. Use full names (e.g., "Texas") or standard abbreviations (e.g., "TX").
Scenario not triggering
- Verify scenario is ON (toggle in top-right corner)
- Check webhook URL is correct (for webhook triggers)
- For Google Sheets triggers: verify polling interval (not instant)
- Check scenario execution history for errors
Getting Help
Contact us at support@undtec.com for assistance.
Pricing
Make.com integration usage follows the same pricing as the REST API:
| Free Tier | 100 free queries for new accounts |
| Per Query | $0.38 per calculation |
| Monthly Minimum | $18/month (after free tier) |
| Initial Deposit | $50 (credited to your balance) |