Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

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.