Unable to paste text into Workflow Web Service Request | XM Community
Skip to main content

Hi, I have been working on a workflow for a survey that triggers a web service request to my server. I had it working with a small JSON payload, but when I try and paste a larger amount of plain text JSON into the body input box, nothing happens. The input box just goes back to the beginning of the box and nothing is pasted. I get the suspicion this is related to a character limit on the input box.
Are there any workarounds to specifying a large JSON payload body on a workflow web service request? I really need this functionality.
I've attached the example payload as a txt file. Thank you!
QualtricsBody.txt

Hi Photoperiod,
you can give it a try via an predecessor code task.
In this code task you can past you JSON Body and then return it as a variable.
Use this variable afterwards in the webservice call as piped text.
BR Manuel


Hey, MaHuMhp, that is a great idea. I just tried it and am told the body exceeds a 6000 character limit. I guess that explains the issue. So, I guess I will use the API as a workaround to the problem. Thank you for the help!


Leave a Reply