Connectors

/

HubSpot

/

Create a HubSpot discount, fee or tax
Write

Add HubSpot discounts, fees and taxes without duplicates

For finance and sales operations teams who set up quote and invoice adjustments in HubSpot by asking their AI assistant.

Try PopdockAI free
Get a live demo
Create a HubSpot discount, fee or tax
Create a 10% discount in HubSpot called Partner Discount for our quotes.
No discount called Partner Discount exists in HubSpot yet. - Type: discount - Label: Partner Discount - Value: 10, as a percentage Shall I create it?
HubSpot
Sample figures. Your results come from your own account.
hubspot-get-discounts
hubspot-get-fees
hubspot-get-taxes
hubspot-update-discount
hubspot-update-fee
hubspot-update-tax
hubspot-add-discount
hubspot-add-fee
hubspot-add-tax

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

HubSpot

HubSpot
Run it on your own HubSpot data.

Connect HubSpot, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

A discount set up wrong shows up on every quote

Adding a discount, fee or tax in HubSpot looks simple, but it is easy to create a second one with the same name or enter 15 as a fixed amount when you meant 15 percent. The mistake then appears on every quote that uses it.

Without PopdockAI

  • Check the existing discounts, fees and taxes by eye
  • Pick percentage or fixed in the form
  • Create a second one with the same name by accident
  • Find the error on a customer quote

With PopdockAI

  • Existing records with the same name are found first
  • You can update the existing one instead of duplicating it
  • A percent sign means percentage, and over 100 percent is queried
  • You see the type, label and value before it is created

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Create a `{adjustment-type}` (discount, fee or tax) called `{label}` worth `{value}`, as a percentage when `{value}` ends in % and a fixed amount otherwise.

**Step 1: Check for duplicates**

Call the matching read tool with `name.contains` = `{label}`:
* discount: `hubspot-get-discounts`
* fee: `hubspot-get-fees`
* tax: `hubspot-get-taxes`

If one exists, show its name, type and value, and ask whether to update it instead. If the user chooses update, use only the matching `hubspot-update-discount`, `hubspot-update-fee` or `hubspot-update-tax` tool with the fields they confirm.

**Step 2: Confirm**

Show the type, label, PERCENT or FIXED, and the number to send (without the % sign). Wait for an explicit yes.

**Step 3: Create**

Call exactly one, once: `hubspot-add-discount`, `hubspot-add-fee` or `hubspot-add-tax`, with `label`, `type` and `value`.

**Step 4: Report**

Give the new record's ID and how it will appear on quotes and invoices.

**Rules & Guidelines:**

* Only the one add tool in Step 3 (or the one update tool the user chose) may write, once, after confirmation.
* Do NOT call any other write tool: no other hubspot-add, hubspot-update, hubspot-rename, hubspot-remove, hubspot-subscribe, hubspot-unsubscribe or hubspot-import tool.

**Validation:**

* If `{adjustment-type}` is not discount, fee or tax, ask which and stop.
* A percentage above 100 is almost always a mistake; ask before sending it.

Who it's for

One answer, three teams that use it

Finance managers

Add tax rates without errors

Set up a tax as a percentage or fixed amount correctly, so invoices calculate the right amount.

Create a 7.5% tax in HubSpot called Ohio Sales Tax.

Sales operations

Create approved discounts for quoting

Add the discount reps are allowed to use, with duplicates caught before they confuse anyone.

Add a discount called Annual Prepay Discount of 12% in HubSpot, unless one already exists.

Billing specialists

Set up fees that appear correctly

Create fixed fees with the right value and see how they will appear on quotes and invoices.

Create a fixed fee of 150 called Setup Fee in HubSpot for our quotes.

How it works

What PopdockAI does when you ask

You give the type, label and value and your AI assistant checks HubSpot for a match. Nothing is created until you have seen exactly how it will be set up and said yes.

01

Ask

You give the type, the label and the value, such as 10% or 25.

Your AI tool

02

Check

It searches HubSpot for an existing one with that name and offers to update it instead.

hubspot-get-discounts
hubspot-get-fees
hubspot-get-taxes

03

Confirm

You see the type, label, percentage or fixed, and the value, and say yes.

No items found.

04

Create

It creates the record and gives you its ID.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for HubSpot and one secure connection to your AI tool. No code, no exports.

get-data

hubspot-get-discounts

Returns discounts defined for quotes and invoices, with type and value from the HubSpot connector. Filter by type, value, name.
get-data

hubspot-get-fees

Returns fees defined for quotes and invoices, with type and value from the HubSpot connector. Filter by name, type.
get-data

hubspot-get-taxes

Returns taxes defined for quotes and invoices, with type and value from the HubSpot connector. Filter by type, name.
run-action

hubspot-update-discount

Updates a discount in HubSpot. Only the fields you pass are changed. Required: Discount ID. Optional: Label, Type, Value. Writes to HubSpot.
run-action

hubspot-update-fee

Updates a fee in HubSpot. Only the fields you pass are changed. Required: Fee ID. Optional: Label, Type, Value. Writes to HubSpot.
run-action

hubspot-update-tax

Updates a tax in HubSpot. Only the fields you pass are changed. Required: Tax ID. Optional: Label, Type, Value. Writes to HubSpot.
run-action

hubspot-add-discount

Creates a discount in HubSpot for use on quotes and invoices and returns the new discount's ID. Required: Label, Type, Value. Writes to HubSpot.
run-action

hubspot-add-fee

Creates a fee in HubSpot for use on quotes and invoices and returns the new fee's ID. Required: Label, Type, Value. Writes to HubSpot.
run-action

hubspot-add-tax

Creates a tax in HubSpot for use on quotes and invoices and returns the new tax's ID. Required: Label, Type, Value. Writes to HubSpot.
Read only.Nothing in HubSpot Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Quote adjustments set up right the first time

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation