According to the Nintex Workflow for O365 REST API documentation, if I want to use the method to import workflow into the existing one I should provide the GUID of the existing workflow (http://help.nintex.com/en-us/sdks/sdko365/Reference/REST/NWO_REF_REST_ImportWorkflowPut.htm) - the question is, how can I obtain it and from where?
Second thing - if I'd like to use "Import into new workflow" method, there really is no way to set the imported workflow name? It has to be the same as the exported one? And therefore the only way to import a workflow to a different list/ library in the same site is to create a workflow for that list/ library and then overwrite it using the above mentioned method? Has anyone used the REST API to for example publish workflows on many lists from a single source (maintenance purposes)?