The documentation for setting up Dictionary type inputs in the Zapier CLI does not seem to provide how to implement them with the other inputs for Field mapping. I am receiving errors when attempting to set up and test the dictionary field in my Zap. Any examples of an active Dictionary input set up in the CLI/Clarifying documentation would be greatly appreciated.
Hi dict: true
to your input field configuration.
For example:
{
"key": "metadata",
"Label": "Metadata",
"dict": true
}
In this example, you can reference this as bundle.inputData.metadata
. which will give you an object of key-value pairs. Both the keys and the values are strings.
For example:
bundle.inputData.metadata
value would be:
{
"key1": "value1",
"key2": "value2"
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.