Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to use Payload Builder in Flow Designer

JLeong
Mega Sage

Hi Guys,

In Flow Designer, I would like to create an action to build JSON payload. I tried a few things but I could not achieve this payload:

I need to send values with ActionType and gPayload, under the gPayload, there are Owners (string of array), Members (string of array) and an email (string)

{
"values":{
"ActionType":reqGoogleSuite,
"gPayload":{
"Owners":12345,09876
"Members":54321,90997
"Email":"abcd@rrd.com",
}
}

 

Could someone please assist?

 

Thank you!

 

1 REPLY 1

Daniel Draes
ServiceNow Employee
ServiceNow Employee

Your Owners and Members are not a true JSON array - at least not by the sample you shared. Is that correct?

 

If so, you will need some scripting to create the string as required.