Skip to main content

Quote split assistant

A chat agent for a quote of which a part cannot be sent yet: lines without a price or with too little stock. It moves those lines to a separate quote for a colleague to work out, so you can send the customer the rest today.

In short
Where you use itOn a quote in the Sales Hub, behind the Workflows button
StartsWith a chat message
Changes in PropellerCreates one or two new quotes, removes lines from the quote you have open and creates actions
Uses AINo. It follows two fixed rules
TextsEnglish or Dutch, a setting
Runs in n8nOne per message
DifficultyAdvanced. Decide first who handles the separate quotes

What you get​

The agent first shows what it would move and asks yes or no.

The AI Agents dialog on a quote with the chat of the quote split agent: its proposal to move one line with too little stock to a separate quote and its question to answer yes or no

After your yes:

  • Lines without a price go to a new quote for a pricing review.
  • Lines with less stock than their quantity go to a new quote for a stock review.
  • The other lines stay in your quote, which is saved.
  • Each new quote gets an action in the Action Hub for the colleague you set.

The new quotes are normal quotes for the same customer. The colleague who handles one works it out and sends it like any other quote.

What you need​

  • An n8n account with the credential Propeller API key. See Set up n8n.
  • An API key with Owner access on Order Data and User management.
  • Backoffice access and the Configuration role with Owner access, to register the agent.

How it works​

The proposal uses the quote as it is open on the page. After a yes the agent answers at once and does the work in the background. Reload the quote in your browser to see the result. After a no, nothing changes.

Good to know

The workflows and agents in the Agent Hub are free to use and adapt. They are examples, not supported product features. Test them in a test environment and check the results before you use them on real customers.

Install it​

Install a workflow from the library explains each step.

  1. Import the file into n8n.
  2. Check that the eleven nodes that talk to Propeller use the credential Propeller API key.
  3. Open the Settings node and set who gets the actions. See the table below.
  4. Follow Register the agent in Propeller with the values below.
  5. Open a test quote with a line that has no price or too little stock, click Workflows, pick the agent and type "Split this quote".
FieldValue
TriggerChat
Interaction modeMulti turn
PlacementsSales Hub · Quote editor, a quote in the editor

The agent answers with its proposal. Answer yes only on a quote you can change: the split is real. When every line has a price and enough stock, the agent says there is nothing to split.

Make it yours​

SettingDefaultWhat it does
PRICING_ADMIN_USER_IDnullThe colleague who gets the action for the pricing review. The number is in the Id column under Admin > Backoffice Users. With null it goes to nobody
PRODUCT_ADMIN_USER_IDnullThe colleague who gets the action for the stock review
PRICING_REVIEW_STATUSnullThe code of the status the quote for the pricing review gets. The status must exist. See Set up order statuses
PRODUCT_REVIEW_STATUSnullThe same for the quote for the stock review
LANGUAGE'EN'The language of the answers: 'EN' or 'NL'

Limits​

  • The agent removes lines from a quote. When a step fails halfway, a line can be gone from your quote without being in a new quote. You then get the action "Quote split incomplete", which names the step. Check the quote and the new quotes by hand.
  • The new quotes take the product and the quantity of a line. A price or a note you typed on the line is not copied.
  • Only the main lines of a quote are checked, not the lines that belong to another line.