Solved

More than one level of nested data, is it possible?

  • 8 January 2021
  • 1 reply
  • 19 views

Userlevel 1

I’m trying to configure my Zapier app to support sending a payload such as:

{
"data": {
"obj_id": {
"text": "Foobar"
}
}
}

Looking at https://zapier.github.io/zapier-platform-schema/build/schema.html#fieldschema I figured the above would be possible by defining the following schema:

{
"children": [
{
"children": [
{
"key": "text",
"label": "Text",
"type": "string"
}
],
"key": "obj_id",
"label": "Object Title"
}
],
"key": "data",
"label": "Data"
}

However, this doesn’t seem to work. Any ideas on whether what I’m trying to accomplish is possible?

icon

Best answer by ikbelkirasan 8 January 2021, 19:07

Hi @bernat - Unfortunately, that’s not possible and it is mentioned in the anti-examples:

 

https://zapier.github.io/zapier-platform-schema/build/schema.html#anti-examples-8

View original

1 reply

Userlevel 7
Badge +10

Hi @bernat - Unfortunately, that’s not possible and it is mentioned in the anti-examples:

 

https://zapier.github.io/zapier-platform-schema/build/schema.html#anti-examples-8

Reply