Set or Unset Quote as Primary Using Workflow Rules
A primary quote is the main quote associated with a pipeline. When multiple quotes exist for the same pipeline, you can designate one quote as the primary quote.
When a quote is marked as primary, its line items are synchronized with the Products tab of the associated pipeline. This ensures the pipeline reflects the products, quantities, and pricing defined in the selected quote.
Workflow rules let you automate actions based on specified conditions. Using workflow rules, you can automatically set or unset a quote as the primary quote for its associated pipeline. This helps ensure the correct quote is always marked as primary without requiring manual updates.
After synchronization, any changes made to the line items or taxes in either the primary quote or the Products tab will automatically be reflected in the other, ensuring both remain identical.
Note for non-admin users: If you don’t have access to view or manage Workflow rules and webhook, contact your BoldSales administrator to request the required permission.
Note for administrators: For managing permissions, refer to Managing Setup and Data Management Permissions.
Use cases
Set the first created quote as primary
When a representative creates the first quote for a new pipeline, the workflow instantly marks it as the primary quote. The quote becomes the primary sales document for the pipeline, and its line items are synchronized with the Products tab of the associated pipeline.
Make an accepted quote primary
When a quote’s status changes to Accepted, the workflow immediately sets it as the primary sales document. The accepted quote replaces the current primary quote (if one exists), and the pipeline reflects the products and pricing from the accepted quote.
Unset a primary quote when it becomes invalid
If a quote is updated to Declined, Revoked, or any other inactive status, the workflow automatically unsets it as primary. The quote is no longer considered the primary sales document. The pipeline will not have a primary quote until another quote is set as primary manually or through a workflow rule.
Create a workflow to set or unset a primary quote
Access workflow rules
-
Click Setup in the left sidebar.
-
In the Setup drawer, navigate to Process Management > Workflow Rules, or Automation > Workflow Rules. Alternatively, use the search bar in the drawer and type Workflow Rules.
-
Click
button.
-
Enter a name and description for the workflow rule by clicking
at the top-left (optional).
Set triggers
The Set quote as primary or Unset quote as primary action is available only when the trigger module is Sales Documents > Quote. If you select any other trigger module, this action will not be available.
- Select Sales Documents > Quote in the Trigger module dropdown.
- Select a trigger type such as:
- Record created
- Record edited
- Record created/edited
- Date/time
If you choose the trigger type as Record created/edited or Record edited, you can set the Occurrence to choose whether the workflow runs Only the first time or Every time the record is created or updated.
Add conditions
- Click Add Condition.
- Select a field and define the criteria.
- Click Add condition to create more conditions.
- Choose whether all or any conditions must be met.
- Click Add Group to add another condition group.
- Use And or Or logic between groups.
Note: You can add up to 10 conditions. Once added, conditions must be met for the workflow to run.
Click or
to proceed.
Define actions
After setting the trigger and conditions, configure what the workflow should execute.
Instant actions vs. Delayed actions behavior
When configuring actions in a workflow rule, Instant actions and Delayed actions are mutually exclusive for the same action type.
- If you add an action under Instant actions, that same action will not be available to select under Delayed actions.
- Similarly, actions configured under Delayed actions cannot be added again as Instant actions within the same workflow rule.
However, you can choose either option based on your requirement:
- Use Instant actions to execute the action immediately when the workflow is triggered.
- Use Delayed actions to schedule the action to run after a specified time instead of executing it instantly.
For example: Review a quote before making it primary
A sales representative creates a quote that needs managerial review before it becomes the primary quote. Configure a delayed action to run after a specified period. The quote is automatically marked as primary after the delay, giving the team time to review and update it before the change takes effect.
Set quote as primary and unset a quote as primary
- Click the Action dropdown under Instant/Delayed actions menu.
- Select Set quote as primary or Unset quote as primary.
A note appears below the action:
“This action sets/unsets the triggered sales document as the primary for the linked pipeline record”. This means the workflow automatically updates the quote that triggered the workflow. Depending on the selected action, the quote is either marked as the primary quote for its associated pipeline or has its primary status removed.
For example: Automatically set an accepted quote as primary
Scenario: A sales team wants an accepted quote to automatically become the primary quote for its associated pipeline.
- Trigger module: Sales Documents > Quote
- Trigger type: Record edited
- Condition: Status is Accepted
- Action: Set quote as primary
Result: When a quote status changes to Accepted, the workflow automatically marks it as the primary quote for the linked pipeline.
The following image shows the Set quote as primary action.
The following image shows the Unset quote as primary action.
Change an instant action to a delayed action
If you want an instant action to execute after a specific time instead of immediately:
- In the Instant Actions section, locate the configured action.
- Click the more actions menu next to the action.
- Select Set delay.
- Specify the required delay duration.
- Save the changes.
Change a delayed action to an instant action
If you no longer want a delayed action to wait before execution:
- In the Delayed Actions section, locate the action.
- Click the more actions menu next to the action.
- Select Convert to instant.
- Save the changes.
For more information on instant and delayed actions, visit Instant Actions and Delayed Actions.
Review and finalize
- Review the configured triggers, conditions, and actions. Initially, the workflow is in an Inactive state. Turn on the Inactive toggle to activate the workflow once saved.
- Click Create at the top‑right to save the workflow rule.
Notes
- Only one quote can be marked as the primary quote for a pipeline at a time.
- If the primary quote is unset, the pipeline will not have a primary quote until one is set manually or through a workflow.
- The Set quote as primary and Unset quote as primary actions are available only for quote records.
- When a new quote is set as primary, it automatically replaces the existing primary quote.
Once activated and saved, BoldSales automatically sets or unsets a quote as the primary quote when the configured workflow criteria are met.