Swallow
  • YOUR FIRST MODEL
    • Setting up your first project
    • Manual setup of a new product
    • Excel Model Upload
    • Create your team
    • Essential concepts
      • Syntax
      • Steps
      • Collections
      • Try Model
      • Spotlight
  • PROCESS
    • Team Management
    • Governance & Collaboration
  • BUILD
    • Building with AI
    • Step builder
      • Understanding step types
      • Ordering step blocks
      • Placeholder mode
      • Up/Downloading models
      • Sharing your model
      • Running tests
    • Inputs
    • Enriching Raw Data
      • Transform Data
      • Enrich via API
      • Data Set
      • Collection
      • Custom Code
    • Setting Up Decisions
      • Exclusions
      • Excesses
      • Endorsements
      • Refer
    • Making Calculations
      • Factors
      • Calculation
    • Outputs
  • TEST
    • Creating New Tests
    • Running Tests
    • Editing Tests
    • Reading & Interpreting Tests
    • Impact Testing
  • DATA
    • Working with real-time data
    • Data Views
    • Data Quotas
    • Troubleshooting
    • API Webhooks
    • Data Downloads
  • ADMIN & SETTINGS
    • Project Management
    • Account Management
  • INTEGRATIONS
    • Introduction
    • Payments
      • Stripe
      • GoCardless
      • Adyen
    • Alerting
      • Slack
      • Zapier
    • Data
      • AWS S3
      • Google Sheets
    • Admin
      • Socotra
      • Guidewire
      • Hubspot
      • Salesforce
  • Developer API
    • Introduction
    • Authentication
    • Errors codes
    • Endpoints
      • /quotes
      • /projects
      • /tests
      • /process
Powered by GitBook
On this page
  • 1. Add a new exclusion
  • 2. Create your exclusion
  • Name
  • Expression
  • 3. Save your new exclusion
  • 4. Add, edit or delete exclusions
  • 5. Save the step
  1. BUILD
  2. Setting Up Decisions

Exclusions

Using the 'Exclusions' step in the builder to create rules for rejecting quotes

PreviousSetting Up DecisionsNextExcesses

Last updated 12 months ago

The 'Exclusions' step allows you to protect your business, by making decisions on which quotes, prices, customers or risks you want to reject, based on any factor.

How might you use the 'Exclusions' step?

If you were building a pricing model for insurance, there may be certain kinds of risk that you don't want to accept on your book at all.

For example, you may want to create a rule to reject quotes based on the age of something being too old, which could apply to a property, a vehicle or even a customer.

1. Add a new exclusion

To get started, click the cog symbol in the top right of the 'Exclusions' step.

Once you've opened the step, click the 'ADD' button in the top right of exclusions table.

2. Create your exclusion

There are only two elements to each exclusion, whether you're adding a new exclusion or editing an existing one.

Name

Give your exclusion a descriptive name. This will be shown in your table of exclusions, so make sure it's unique and easy to understand.

Expression

Write an expression to build your exclusion rule. This will need to include which data input(s) you want to be looking at, and define the conditions that you will use to reject a quote.

Here's an example of how you would structure an expression using the vehicle's manufacture date as an input, choosing to reject any quotes for vehicles manufactured before the year 2000:

({{vehicle_year_of_manufacture}} < 2000)

To learn how to structure your expression in more detail, debug and to see the full glossary, check out our full page on Syntax.

3. Save your new exclusion

Once you're happy with the exclusion you've added, just press the 'Save' button in the bottom right of the modal and you're ready to add more exclusions to the table from your Collection if you want to.

4. Add, edit or delete exclusions

To add more new exclusions, repeat the steps above. Alternatively, you can edit and delete exclusions you've already added.

To bulk edit all exclusions, you can use the buttons to the top left of the exclusions table download as a CSV, edit and then re-upload your exclusions table.

5. Save the step

Once you're happy with all of the exclusions in your table, just press the 'Save' button in the top right of the screen. You're now ready to head back to the 'Build' screen.

Once you've added the 'Exclusions' step and named it, like you will with any other step in the Build tool (), you'll need to add your exclusion rules.

more on that here
The Exclusion step
ADD button for new exclusions
Adding a new exclusion dialogue
Save exclusion button
Upload and download buttons
Save step button