In my Zapier CLI application, I have defined a resource that includes input fields in its create specification. One of these fields is named ‘account_key’ and is marked as computed. I retrieve its value from a prior API request. How can I effectively assign the fetched value to ‘account_key’ during the resource creation process?
create: {
display: {
label: 'Add New Client',
description: 'Creates a new client entry.',
},
operation: {
inputFields: [
{key: 'identifier', required: true, type: 'integer', label: 'User Identifier', dynamic: 'user.id.email'},
{key: 'account_id', required: true, type: 'string', label: 'Account ID', computed: true},
{key: 'location', required: true, type: 'text', label: 'Primary Address'}
],
perform: addNewClient,
sample: sampleData
},
},