getDynamicSchema( )


Important: This is a handler function. Implement it only as part of the service plugin.


This endpoint returns a JSON schema object that's used to dynamically update the fields available to a Wix user when they configure an automation.

Wix calls this endpoint when a user selects an option from an item selection filter configured for a trigger. Wix appends the returned schema to the payload schema you defined for the trigger and makes the fields available to the Wix user's automation.

Method Declaration
Copy
Method Parameters
payloadGetDynamicSchemaEnvelope
Returns
Return Type:GetDynamicSchemaResponse | Promise<GetDynamicSchemaResponse>
Errors
ProviderNotFoundWixErrorclass
Did this help?