Skip to main content
Best answer

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

  • January 8, 2021
  • 1 reply
  • 116 views

bernat

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?

Best answer by ikbelkirasanBest answer by ikbelkirasan

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
Did this topic help you find an answer to your question?
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

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • Answer
  • January 8, 2021

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