How to call "SetWordTemplate" action from a Plugin
Today I needed to be able to call the Microsoft action "SetWordTemplate" from a Plugin and encountered the following error:
Frustrated, I was starting to think I may have to resort to an Azure Function or similar if I wanted to achieve this functionality but on a hunch thought I tried one last potential work-around and hey presto, it worked!
The answer lies in using the ExecuteMultiple request to run the "SetWordTemplate" action in the Plugin rather than executing it directly.
About an hour after figuring this out, someone else in our team ran up against the exact same issue, so it has already proved to be a very valuable hunch!
Hope this helps someone with the same issue.