📋 How This Works
This page displays invoices synced automatically from GoHighLevel (GHL) to this website.
🔄 Workflow Details
- Workflow Name: GHL to Website Invoices FINAL
- n8n URL: Open in n8n
- Schedule: Runs automatically every 1 hour
- Data Source: GoHighLevel Invoices API
⚙️ Technical Flow
- Schedule Trigger - Fires every hour
- Fetch and Send Invoices (Code Node) - Fetches invoices from GHL API, formats them, and POSTs to this server
📁 Files on Server
invoices.php - This display page
invoice-data.json - Raw invoice data (view)
update-invoices.php - Receives data from n8n workflow
🔑 API Credentials Used
- GHL Location ID:
irVfo6wOnCATH12ZaaOQ
- GHL API: PIT Token (stored in workflow code)
- Update Key:
PlatinumFunding2024Secret (in URL param)
🛠️ To Manually Refresh
- Go to n8n workflow
- Click "Execute workflow"
- Refresh this page