Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Data Sync & ETL

Data Sync & ETL

Sync NPD product pricing from Google Sheets to GoHighLevel custom objects

When an API call/webhook arrives, it moves and syncs data using Google Sheets.

What it does

## 📦 Marginal & NPD Product Sync – GHL Product Catalogue Automation ### How it works An external system (e.g. your ERP or a Google Sheets Add-on) triggers this workflow via webhook, passing two spreadsheet IDs: one with the NPD product list and one with the margin data. The workflow reads the NPD sheet, filters rows where SKU Status is NPD, then loops through each product. For every item, it reads the margin sheet to calculate the correct pricing — handling both Bespoke (custom-priced) and Standard pricing types. Each product is then created in GoHighLevel via two sequential API calls: first to the standard Products endpoint (with a price book entry), then to two custom GHL objects (custom_objects.products_1 and custom_objects.price_book_entry) that store extended product and pricing data. The loop continues until all NPD products are synced. ### Setup steps 1. Add your GHL Private Integration Token as YOUR_GHL_API_TOKEN in the Authorization header of all four active HTTP nodes. 2. Replace YOUR_GHL_LOCATION_ID in the JSON body of all four HTTP nodes. 3. Connect Google Sheets OAuth2 to both Sheets nodes. 4. Trigger the webhook by sending a POST request with { "spreadsheetId": "...", "marginSpreadsheetId": "..." } — both fields are required. 5. Review the Calculate Pricing code node and adjust margin lookup logic if your margin sheet columns differ.

The steps

  1. Webhook
  2. Sheets - Get NPD Product Rows
  3. Filter NPD Status Products
  4. Loop Over NPD Products
  5. Sheets - Get Margin Data
  6. Calculate Pricing
  7. Is Bespoke Pricing?
  8. GHL - Create Custom Object Product (Bespoke)
  9. GHL - Create Custom Object Product (Non-Bespoke)
  10. GHL - Create Custom Object Price Book Entry (Bespoke)
  11. GHL - Create Custom Object Price Book Entry (Non-Bespoke)

Similar automations