It's interesting to start with js (I note it for another case) but I'm looking for rather a way to launch workflow through URL, like Nintex WF Ent On prem.
I think this is how it works, you could create a custom ASPX (In which the logic was implemented) and create a url with the required params (ListId / ItemID and so on)
BTW: Just to get ensure, Nintex On Prem , can use (and uses) full trusted server side code but this is in O365 not possible, so you can't compare those
As far as I understood the architecture, you only have this two possibility's: (Please correct me if I'm wrong, or misunderstood something).
1. Create an Provider Hosted App (Azure) (as mentioned by Jan Eyres )
2. Create an SharePoint custom Page
In both cases you need to implement some logic, to call an workflow based on JSOM / CSOM.
Hi, Jean-François Legras, does this answer your question? If so, can you click the "correct answer?" It's helpful to people searching for answers to similar questions.. If you're still working, keep us posted. Thanks!
Your community manager