Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Datensynchronisierung & ETL

Datensynchronisierung & ETL

Sync Salesforce pricebook entries to GoHighLevel custom objects with Google Sheets

When you run it, it moves and syncs data using Google Sheets.

Was sie bewirkt

## 📒 Pricebook Entry Sync – Salesforce to GHL Custom Object ### How it works This workflow migrates Pricebook Entry records from Salesforce into GoHighLevel as custom_objects.price_book_entry custom object records. A manual trigger reads a batch of pricebook entries from Google Sheets (containing the Salesforce Pricebook Entry ID and related data), applies a batch limit, and loops through each row. For each entry, the workflow queries Salesforce to fetch the full pricebook, price book entry, and product details. It then creates a price_book_entry record in GHL and immediately creates a GHL association linking it to the corresponding product record. All outcomes — success, GHL create error, association error, and SF query error — are logged back to the Google Sheet with a status update. Wait nodes prevent rate limit errors between API calls. ### Setup steps 1. Replace YOUR_GHL_API_TOKEN in the Authorization header of both GHL HTTP nodes. 2. Replace YOUR_GHL_LOCATION_ID and YOUR_GHL_ASSOCIATION_ID in the GHL HTTP nodes. 3. Connect Salesforce OAuth2 to the SF Query node — replace YOUR_SF_INSTANCE.my.salesforce.com with your Salesforce org domain. 4. Connect Google Sheets OAuth2 to all Sheets nodes — replace YOUR_GOOGLE_SHEET_ID. 5. Confirm your sheet tab matches Pricebook Entries and contains: Salesforce Pricebook Entry ID, Salesforce Pricebook ID, Salesforce Product ID. 6. Adjust Limit Batch Size to control records per run. 7. Run the manual trigger.

Die Schritte

  1. When clicking ‘Execute workflow’
  2. Sheets - Read Pricebook Entries
  3. SF - Query Pricebook & Product Details
  4. GHL - Create Price Book Entry Custom Object
  5. GHL - Associate Price Book Entry to Product
  6. Loop Over Items
  7. Limit Batch Size
  8. Sheets - Update Row Before GHL Sync
  9. Wait Before GHL Create
  10. Sheets - Mark Association Complete
  11. Sheets - Log Association Error
  12. Sheets - Log GHL Create Error
  13. Sheets - Log SF Query Error
  14. Wait After Association Error

Insgesamt 15 Schritte.

Ähnliche Automatisierungen