Zapier Cli - 如何设置计算输入字段的值?

Zapier Cli - How to set value of computed inputField?

我的 zapier cli 应用程序中有一个资源。在此资源的创建规范中,有一些 inputFields,其中之一是 account_key (computed:true),它的值是我在之前的 API 调用中获得的。我的问题是如何将 account_key 设置为我之前获取的值?

create: {
        display: {
            label: 'Create Client',
            description: 'Creates a new client.',
        },
        operation: {
            inputFields: [
                {key: 'user_id', required: true, type: 'integer', label: 'User', dynamic: 'user.id.email'},
                {key: 'account_key', required: true, type: 'string', label: 'Account Key', computed:true},
                {key: 'address1', required: true, type: 'text', label: 'Address 1'}
            ],
            perform: createClient,
            sample: sample
        },
    },

来自 Zapier Platform 团队的 David。

计算字段仅用于捕获 OAuth 的输出和会话输出。您的身份验证定义中的任何计算字段都将在 bundle.authData 中可用。你不应该在你的行动中有一个明确的范围。

如果您有任何其他问题,请告诉我!