Best answer

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

  • 8 January 2021
  • 1 reply
  • 106 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

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +12

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