Sync price book entries from Salesforce via webhook

Recipe ToolsCRMMarketing

What it does

When someone sends an HTTP webhook request to this automation, it fetches price book entries from Salesforce. The list price and reseller price are returned in the response so the caller has current rates.

Who it's for

Sales operations teams who need to retrieve Salesforce prices programmatically for integrations or custom applications.

How teams use this

Fetch prices for a custom portal

A custom web application calls this automation to retrieve current Salesforce prices and display them to customers. The portal always shows live rates without needing direct Salesforce access.

Integrate prices into an e-commerce platform

An e-commerce system calls the webhook to sync Salesforce price book entries so product listings stay current. Only the calling system changes, the automation logic remains the same.

Add currency conversion to price responses

Extend the automation to accept a currency parameter and convert prices before returning them. Include a currency conversion step so international callers get rates in their local currency.

How it works

  1. Receive the HTTP webhook request. An HTTP webhook call arrives with the price book entry details needed to look up rates in Salesforce.
  2. Search for price book entries in Salesforce. Query Salesforce for price book entries that match the request so the list price and reseller price can be retrieved.
  3. Return prices in the HTTP response. Send the list price and reseller price back to the caller in the HTTP response so they have the current rates.