GHL's public API can read workflows. It cannot create them. Your browser creates them all day long, because the builder talks to a different API with a different kind of token. This is the ten page write up of how to borrow that token and build workflows from a script, including everything I got wrong on the way.
Instant PDF download. You'll also get my daily blog on AI and business. Unsubscribe anytime.
Where the long-lived Firebase refresh token lives in your browser, and the code that mints fresh session tokens so an overnight job does not die at 60 minutes.
Create, save name and steps together, add the trigger, autosave, eyeball it, publish. Plus the trick of reading GHL's own JSON back so you never guess a schema again.
PUT wiping every step, the validator's hatred of nulls, == versus is, autosave quietly unpublishing a live workflow, and the whole-system check that found two bugs nothing else caught.
Written for people who are comfortable with an HTTP request and a bit of Python. It uses an internal, undocumented API, so use it in accounts you or your client own and administer.
Book a free call | Home | Sitemap