{"product_id":"gohighlevel-webhook-to-api-task-automation-n8n-workflow","title":"GoHighLevel Webhook to API Task Automation (n8n workflow)","description":"\u003ch3\u003eTurn GoHighLevel Webhooks into API-Driven Task Automations (with File Upload)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow receives a \u003cstrong\u003eGoHighLevel webhook\u003c\/strong\u003e, downloads up to \u003cstrong\u003ethree uploaded files\u003c\/strong\u003e, sends all data to your external \u003cstrong\u003etask API\u003c\/strong\u003e via \u003cstrong\u003emultipart\/form-data\u003c\/strong\u003e, then \u003cstrong\u003epolls task status\u003c\/strong\u003e and reports the result back to GoHighLevel through a webhook callback.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives webhook submissions from GoHighLevel\u003c\/strong\u003e (POST) including contact details, custom fields, and file URLs from LeadConnector\/GoHighLevel.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and normalizes key fields\u003c\/strong\u003e, including converting state into a \u003cstrong\u003e2-letter code\u003c\/strong\u003e and reformatting \u003cstrong\u003edate of birth\u003c\/strong\u003e into \u003cstrong\u003eMMDDYYYY\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDownloads up to three files\u003c\/strong\u003e using authenticated HTTP requests, keeping the binaries for the next step.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a JSON payload string\u003c\/strong\u003e (variables_json) that includes login details, narratives, and consumer identity\/address data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSubmits an external task request\u003c\/strong\u003e to \u003ccode\u003e\/api\/external\/tasks\u003c\/code\u003e with \u003ccode\u003evariables_json\u003c\/code\u003e and the three files attached.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePolls task status every minute\u003c\/strong\u003e until the external API returns \u003cstrong\u003ecompleted\u003c\/strong\u003e or \u003cstrong\u003efailed\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls back GoHighLevel\u003c\/strong\u003e to a webhook-trigger URL with the outcome (completed\/failed), using the original request’s \u003cstrong\u003econtact ID\u003c\/strong\u003e, \u003cstrong\u003ephone\u003c\/strong\u003e, and \u003cstrong\u003ename\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSend GoHighLevel lead intake data to an external system that creates background tasks requiring document uploads.\u003c\/li\u003e\n  \u003cli\u003eAutomate status updates so your GoHighLevel workflow can react immediately when the external task finishes.\u003c\/li\u003e\n  \u003cli\u003eHandle onboarding or application flows where applicants provide multiple documents and your API must receive them together.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e GoHighLevel\/LeadConnector webhooks + authenticated file downloads (Bearer token) + external task API endpoints (\u003ccode\u003e\/api\/external\/tasks\u003c\/code\u003e and status polling endpoint).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used:\u003c\/strong\u003e \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003ccode\u003emerge\u003c\/code\u003e, \u003ccode\u003eaggregate\u003c\/code\u003e, \u003ccode\u003ewait\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore behavior:\u003c\/strong\u003e multipart\/form-data submission with \u003ccode\u003evariables_json\u003c\/code\u003e, then minute-based polling and webhook status callback.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45764325802163,"sku":"N8N-17851","price":53.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/HCQ3sZWV49_8g5ZsIDEoS_4VR3Dps4.png?v=1786007404","url":"https:\/\/buyflowscripts.com\/products\/gohighlevel-webhook-to-api-task-automation-n8n-workflow","provider":"N8N Commerce","version":"1.0","type":"link"}