Edit Ouput Schema - When Executed by Another Workflow

The idea is:

When using the When Executed by Another Workflow trigger or any trigger (if applicable).
And they have a defined input schema.

I believe it would be nice to have, when clicking the Edit Output button, if its empty, to have the mock template represent the actual input schema, so we can simply edit the values.

For example, right now when I click on Edit, I see:

[
  {
    "name": "First item",
    "code": 1
  },
  {
    "name": "Second item",
    "code": 2
  }
]

But my schema is:

  • collections (string)
  • chatInput (string)
  • sessionId (string)

Instead it would be nice if it would pre-fill with:

[
  {
    "collections": "string",
    "chatInput": "string",
    "sessionId": "string"
  },
  {
    "collections": "string",
    "chatInput": "string",
    "sessionId": "string"
  }
]

I think it would be beneficial to add this because:

It would just make it quicker to start when we are already defining the input schema.