Библиотека / Синхронизация данных и ETL
Синхронизация данных и ETL
Sync Salesforce pricebook entries to GoHighLevel custom objects with Google Sheets
When you run it, it moves and syncs data using Google Sheets.
Что делает
## 📒 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.
Шаги
- When clicking ‘Execute workflow’
- Sheets - Read Pricebook Entries
- SF - Query Pricebook & Product Details
- GHL - Create Price Book Entry Custom Object
- GHL - Associate Price Book Entry to Product
- Loop Over Items
- Limit Batch Size
- Sheets - Update Row Before GHL Sync
- Wait Before GHL Create
- Sheets - Mark Association Complete
- Sheets - Log Association Error
- Sheets - Log GHL Create Error
- Sheets - Log SF Query Error
- Wait After Association Error
Всего шагов: 15.
Похожие автоматизации
Синхронизация данных и ETLMigrate Salesforce product catalog from Google Sheets to GoHighLevel custom objectsШагов: 19Синхронизация данных и ETLCreate GoHighLevel product and pricebook records from Google SheetsШагов: 11Синхронизация данных и ETLSync NPD product pricing from Google Sheets to GoHighLevel custom objectsШагов: 11Синхронизация данных и ETLСоздание зон Geotab для новых рабочих заданий SalesforceШагов: 14