Anyone using Microsoft Power Automate/Flow with the Zendesk API

3 コメント

  • Bryan - Community Manager
    コメントアクション Permalink

    Hi Caspar Pritchard -- I haven't used this tool before, but it's apparently encoding extra characters into the JSON payload. Zendesk Support's REST APIs expect straight JSON and will error out if extra characters are added such as the ones shown above. My guess is if you removed the carriage returns on the above payload and put everything on one line, it would work: {"notes": "q6"}

    You can see from the cURL call that without these extra characters, the call works. You can also use other tools such as as Postman or the Developers API Console that do not add such characters. Hope this helps!

    0
  • Caspar Pritchard
    コメントアクション Permalink

    Thanks for the response Bryan.   I'm aware that the JSON is malformed.  I'm putting clean correct json into Microsoft Flow, and then the HTTP Request action just alters it without my consent.  I understand it's doing this because the JSON Zendesk API wants has an embedded {} within a {}, which flow just doesn't like so escapes the " with \".

     

    Not sure what can be done and Zendesk support confirmed today that the issue isn't with their API and told me to resolve it within Microsoft Flow - I understand this but not helpful -> go raise with Microsoft!

    I don't seemingly have a way to update a Zendesk user record using Microsoft Power Automate/Flow!!

     

    I would add the cURL works find in hit bash and api console, so it's just an issue with MS Flow.

     

    0
  • Bryan - Community Manager
    コメントアクション Permalink

    Hi Casper. I know this is no doubt frustrating, but I also want to set a realistic expectation for this kind of situation -- our reach into third party development tool teams is very limited. Since this is a generic issue with MS Flow, directly reaching out to them as a licensed customer would still be the best bet to move this forward.

    0

ログインしてコメントを残してください。

Powered by Zendesk