Create Card with Card ID : “WooCommerce” (or any) - this card as imaginary customer
Create special Card Type for this Imaginary customer
Link this Card ID in WooCoomerce Upload Task : Parameter ContractCardID
Create Webhook to trigger when contract Activated Or Ended
Enabled : Yes
Custom Mode : Yes
Fire on Changed : Yes
Data Type : Contract
Url : dummy
Criteria : [Workflow Status.Name] In ('Active', 'Closed') And ([All Customers] = True Or [Card Contracts][[Card.Card ID] = 'WOOCOMMERCECARDID'] Or [Card Type] = 'WOOCOMMERCECARDTYPE')
Property Changed : WorkflowStatus
Contents : {FUNCTION:WooCommerceContractUpdateProduct}Create a contract with this imaginary customer only (OR AllCustomers OR Card Type)
-- Note: only would be pick up by Webhook if match Card ID or Card Type in WebhookAdd Product and set active contract
Task product upload will update this product
Result in WooCommerce
a. Beforec. After
When contract ended, Webhook will trigger and Task will run on schedule to update the product to WooCommerce
General
Content
Integrations