I am trying to implement the solution given by this website, to start an automation from a cloud page.
There are 3 parts of code.
- HTML page (understood this)
- form-handler code with SSJS (understood this)
- app.js (did not understand this)
I am not able to understand the overall flow. On submit of the form, I get that the data is posted to a form-handler. Then I am not able to understand how app.js plays its part between HTML & form handler.
Can anyone help me crack the logic behind this setup?