Connect Salesforce to Neblex CPQ
A Salesforce opportunity reaches the stage you choose and a quote is waiting in Neblex CPQ with the account, contact, and addresses already matched. The rep configures and prices in CPQ, approvals run there, and every stage the quote moves through is written back to the opportunity. Neblex Integration Fabric supplies the Salesforce connector and the flow; CPQ supplies the API and the event feed.
Why teams connect Salesforce and Neblex CPQ
Reps live in Salesforce. Product rules, price lists, and the approval matrix live in Neblex CPQ. Without a link, a rep copies the account, contact, and opportunity into the quoting tool by hand, then copies the quote number and total back. Every customer ends up spelled two ways, the opportunity amount lags the quote by days, and the forecast is built on whichever number was typed last.
Neblex CPQ has no Salesforce connector of its own, by design. It exposes every customer and quote operation through its API and records every meaningful change in a pull-based event feed that the consumer fetches and acknowledges. Neblex Integration Fabric supplies the other half: a Salesforce connector with 1,296 operations and 95 polled triggers, and a visual flow between the two that maps fields, matches records, pauses for a person when a decision needs one, and writes the result back.
The split of ownership is the point. Salesforce owns the account and the opportunity. CPQ owns the configuration, the price, the approval, and the quote record. Neither side edits what the other owns.
How it works
On the CPQ side there are two surfaces. The first is the API, reached through the Neblex CPQ connector in Integration Fabric, which carries 286 operations. This flow uses postapi_customers_list to find an existing customer, postapi_customers, postapi_customer_addresses, and postapi_customer_contacts to create one, postapi_quotes for the quote header, putapi_quotes_id for the line items, and getapi_quotes_id to read the total. Every call clears the four mandatory access layers and the token's per-module scopes before any business logic runs.
The second surface is the event feed. An event listener subscribes a service account to the event types the flow needs: QUOTE_CREATED, QUOTE_STATUS_CHANGED, and QUOTE_VERSION_CREATED, which are append-only, one ordered row per occurrence, and QUOTE_UPDATED, which is coalesced to the latest state of the quote. CPQ offers no push webhooks. The flow fetches with postapi_integrations_listeners_id_events_fetch on the schedule you set, processes the batch, and acknowledges it with postapi_integrations_listeners_id_events_ack.
On the Salesforce side, the Integration Fabric connector authenticates with OAuth 2.0 and respects the connected user's field-level and object permissions. The flow starts from the changed_list_Opportunity trigger, which is polled on the schedule you set. It reads with get_Opportunity, get_Account, and query, and writes back with update_Opportunity. None of the 95 Salesforce triggers deliver webhooks; if your org can send outbound messages to an HTTPS address, point them at a Neblex webhook endpoint for an event-driven start.
Between them sits the flow: mapping, matching, an optional approval, and a run log.
Worked example: a proposal-stage opportunity becomes a governed CPQ quote, status back
Triggered on the stage change, matched on the opportunity ID, safe to run twice.
- Trigger. The polled
changed_list_Opportunitytrigger fires whenOpportunity.StageNamereaches the stage you pick, for example Proposal/Price Quote. The flow reads the opportunity withget_Opportunity, its account withget_Account, and the primary contact throughquery. - Idempotency. If
Opportunity.Neblex_Quote_Id__cis already populated, the quote exists and the run stops, so a re-fired trigger is harmless. - Resolve the customer.
postapi_customers_listsearches CPQ for a customer whosecustomerNumberequalsAccount.Id. If none is found,postapi_customerscreates the customer,postapi_customer_addressescreates aBILL_TOand aSHIP_TOaddress from the account's billing and shipping fields, andpostapi_customer_contactscreates the contact. CPQ recordsCUSTOMER_CREATEDin the feed. - Create the quote.
postapi_quotescreates the quote header withquoteNamefrom the opportunity name,currencyfrom the opportunity currency,validUntilfrom the close date, and thecustCustomerId,custContactId, andcustBillToIdreferences from step 3. The opportunity ID is stored incustomFieldValues. Thenputapi_quotes_idwrites one line perOpportunityLineItem, keyed on the product code aspartNumber. CPQ recordsQUOTE_CREATED. - Write the number back.
update_OpportunitysetsNeblex_Quote_Id__candNeblex_Quote_Number__c, so the rep can open the quote from the opportunity. - The rep works the quote in CPQ. Configurable products are built in the product configurator, pricing rules apply, and a discount past your threshold moves the quote to Needs Approval and locks it until an approver acts. Each stage move records
QUOTE_STATUS_CHANGEDwithfromStatusandtoStatus. - Status back. When the polled fetch returns a
QUOTE_STATUS_CHANGEDevent, the flow reads the quote withgetapi_quotes_id, thenupdate_OpportunitysetsNeblex_Quote_Status__ctotoStatusandAmounttototalPrice. WhentoStatusis your closed-won snapshot status, the flow can also setStageNameto Closed Won. It then acknowledges the event bylastEventId. - Optional gate. If the quote total is over a threshold you set, the flow pauses for a named approver in Integration Fabric before it touches the opportunity stage. On reject, it logs a note on the opportunity and stops.
Field mapping
The starting map for the opportunity to quote step. Every CPQ field named here exists on the customer, address, contact, quote, or line item record.
| Salesforce | Neblex CPQ | Notes |
|---|---|---|
Account.Id | Customer.customerNumber | Match key. Unique per environment in CPQ, so the account ID is a stable customer number. |
Account.Name, Account.Website, Account.Industry | Customer.name, Customer.website, Customer.industry | Customer.type is required in CPQ; the flow sets it from a lookup on account type. |
Account.BillingStreet, BillingCity, BillingState, BillingPostalCode, BillingCountry | CustomerAddress.line1, city, state, zip, country with type = BILL_TO | Shipping fields map the same way to a SHIP_TO address. line1, city, and country are required. |
Contact.Name, Contact.Email, Contact.Phone, Contact.Title | CustomerContact.name, email, phone, title | phone is required in CPQ, so a contact without one needs a placeholder rule. |
Opportunity.Name | Quote.quoteName | The quote number itself is issued by CPQ, never by Salesforce. |
Opportunity.Id | Quote.customFieldValues | Lets a CPQ-side search find the originating opportunity. |
Opportunity.CurrencyIsoCode | Quote.currency | Multi-currency orgs only; CPQ defaults to USD. |
Opportunity.CloseDate | Quote.validUntil | CPQ locks the quote when this date passes; an admin extends it to unlock. |
OpportunityLineItem.Quantity, OpportunityLineItem.UnitPrice, Product2.ProductCode | QuoteLineItem.quantity, sellingPrice, partNumber | The part must exist in CPQ. Configured products are added by the rep in the configurator. |
Quote.quoteNumber, Quote.status, Quote.totalPrice | Opportunity.Neblex_Quote_Number__c, Neblex_Quote_Status__c, Amount | Return path, driven by QUOTE_STATUS_CHANGED. |
What syncs, each direction
Salesforce to Neblex CPQ
- Customers. Account name, website, industry, and a stable customer number, created once and matched on later runs.
- Addresses and contacts. Billing and shipping addresses as
BILL_TOandSHIP_TO, and the primary contact. - Quote header. Name, currency, validity date, and the customer, contact, and bill-to references.
- Line items. Standard products from the opportunity's line items, keyed on part number.
Neblex CPQ to Salesforce
- Quote identity. The CPQ quote ID and quote number, written to the opportunity on creation.
- Status. Every stage move, from
QUOTE_STATUS_CHANGED, including the closed-won snapshot status. - Amount. The quote total, read after each status event, so the forecast follows the priced quote.
Governance and audit
- Service account scopes. The flow authenticates to CPQ as a service account, not a user. Its token starts with every action disabled on every module, and an administrator enables only read, create, and update on the customer and quote modules. Disabling the account revokes every token beneath it in one step.
- Four layers on every call. Environment header, client certificate, bearer token, and the optional IP allowance, checked in that order, before scopes are evaluated.
- Event acknowledgment. Events are delivered at least once until the flow acknowledges them, so a run that fails mid-batch sees the same events again, and the cursor never regresses. A coalesced
QUOTE_UPDATEDrecord that changed between fetch and acknowledgment is marked stale and arrives again on the next fetch. - Approvals in the flow. Discount and margin approvals run inside CPQ, where the quote locks and cannot be unlocked by anyone until an approver acts. Thresholds that concern the CRM, such as a large deal stage change, pause in Integration Fabric for a named approver.
- Run history. Every run records the opportunity, the customer it resolved, the lines it mapped, and each CPQ and Salesforce response, and can be replayed from the step that failed without re-creating the quote.
- Audit log. CPQ writes an audit entry for every create and update the service account makes, under the service account's name. Each token records when it was last used, so a dormant credential is easy to find and revoke.
Frequently asked questions
Does Neblex CPQ have its own Salesforce connector?
No. CPQ exposes its API and event feed and ships no connectors of its own. The Salesforce connector belongs to Neblex Integration Fabric, which also carries the flow and the run history.
Is the sync immediate?
No. The Salesforce trigger is polled on the schedule you set, from every minute upward, and the CPQ event feed is fetched on the schedule you set. For an event-driven start on the Salesforce side, point an outbound message at a Neblex webhook endpoint.
What happens if the flow runs twice on the same opportunity?
Nothing. Step 2 checks Neblex_Quote_Id__c before creating anything, and CPQ events are acknowledged by ID, so a replayed run finds the quote already there and stops.
Where does a configurable product get configured?
In Neblex CPQ. The opportunity's line items seed standard parts, but a configured line is built in the product configurator, where the rules, the validation gate, and the bill of materials live.
Can someone in Salesforce change a quote after it is approved?
No. The flow writes status and identifiers to the opportunity and never writes back into a CPQ quote. Inside CPQ, an approved quote at a snapshot status is locked, and a change means a new revision, which records QUOTE_VERSION_CREATED in the feed.
Connectors on this page
Salesforce
CRM
- Operations
- 1,296
- Typed outputs
- 57.9%
- Change triggers
- 95 (poll)
- Authentication
- OAuth2
Neblex CPQ
Applications
- Operations
- 286
- Typed outputs
- 100%
- Change triggers
- Poll or inbound webhook
- Authentication
- Bearer
Bring one real product
Bring a real opportunity from your Salesforce sandbox, and we will run it into a CPQ quote and back, with the run log and the event feed open, in one session.