Product Action: Set Product Type Action
The Set Product Type Action allows users to update a product's type field. This Action enables consistent product categorization, improved organization, and streamlined product management when products are created or modified through automation Workflows.
Configuring the Action
| Field Name | Description | Example |
|---|---|---|
| Product Type | The category or classification for the product. This field supports static text or dynamic Tokens to create customized type values. | {{ product.vendor }} - Apparel |
Example Configuration
Here are examples of how to use static and dynamic values for product type assignment:
| Use Case | Example Input |
|---|---|
| Static Type Assignment | Clothing |
| Vendor-Based Type | {{ product.vendor }} Collection |
| Tag-Based Categorization | {{ product.tags | join(', ') }} |
| Conditional Type Logic | {% if product.price > 100 %}Premium{% else %}Standard{% endif %} |
Troubleshooting & Usage Tips
Product type is not updating
Confirm the Workflow is triggered by an event that includes product data (e.g., Product Created or Product Updated). Check Action Testing to verify that a product is selected and the Workflow has appropriate permissions.
Tokens show blank values
The testing product may not contain data for the Tokens used. Use Change Selection in the Action testing panel to choose a different product with the required attribute data.
Credit Cost
The Set Product Type Action costs one Action Credit per run on Lite plans and is unlimited on Unlimited plans.
Custom Actions
The Set Product Type within Custom Actions is fully supported. Additional information and examples are available in the documentation.