Actions6
Overview
This node integrates with the Upgrade.chat platform to create new products. It allows users to define various product attributes such as type, pricing, description, and subscription options. This is useful for businesses managing their product catalog in Upgrade.chat, especially when automating product creation workflows that involve different product types (e.g., general goods, events, subscriptions, digital products).
Practical examples include:
- Automatically adding a new digital product with specific pricing and trial periods.
- Creating subscription-based products with custom billing cycles.
- Managing event tickets or general merchandise with detailed descriptions and SKU codes.
Properties
| Name | Meaning |
|---|---|
| Product Type | The category of the product on Upgrade.chat. Options: General, Event, Subscription, Digital. |
| Product Name | The name/title of the product. |
| SKU | The stock keeping unit or product code identifier. |
| Description | A plain text description of the product. |
| Description HTML | An HTML formatted description (without JavaScript or media tags) for richer content display. |
| Logo Url | URL pointing to the product's logo image. |
| Group Name | Optional grouping label for the product. |
| Currency ID | The currency code used for pricing. Options include AUD, CAD, CHF, CNY, EUR, GBP, IND, JPY, NZD, SEK, USD. |
| Unit | Measurement unit for the product quantity. Required for General and Digital product types. Options include Custom, Day, Feet, Hour, Kilogram, Month, Package, Piece, Pound, Unit, Year, Zone. |
| Price Type | Pricing model type. Required for General and Digital product types. Options: Annual, Custom, LifeTime, Monthly, OneTime. |
| Payment Cycle | Billing frequency for the product. Required for General and Digital product types. Options: Annual, Custom, LifeTime, Monthly, OneTime. |
| Subscription Fee | The recurring fee amount for subscription products. |
| No of Cycles | Number of billing cycles. Required except for LifeTime or OneTime plans. |
| Signup Fee | Initial signup fee charged. Required except for LifeTime or OneTime plans. |
| Custom Period Type | Time unit for custom or one-time plans. Options: Days, Months, Weeks, Years. Required for Custom or OneTime plans. |
| Custom No of Period | Number of custom periods. Required for Custom or OneTime plans. |
| Trial Day Count | Number of trial days allowed. Required for OneTime plans. |
| Grace Period Count | Number of grace period days after subscription expiration. |
Output
The node outputs JSON data representing the created product as returned by the Upgrade.chat API. This typically includes all the product details sent during creation along with any additional metadata or identifiers assigned by the service.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Upgrade.chat API via an API key credential configured in n8n.
- The node uses the Upgrade.chat REST API endpoints to perform product creation.
- Proper permissions on the Upgrade.chat account are necessary to create products.
Troubleshooting
- Missing required fields: Ensure all mandatory properties like Product Type, Product Name, SKU, Currency ID, Unit, Price Type, and Payment Cycle are provided. Missing these will likely cause API errors.
- Invalid option values: Selecting unsupported options for enumerated fields (e.g., Currency ID or Product Type) may result in validation errors.
- API authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network issues: Connectivity problems can cause request failures; check network access to Upgrade.chat endpoints.
- HTML description restrictions: Avoid including JavaScript or media tags in the Description HTML field to prevent rejection by the API.
Links and References
- Upgrade.chat Official Website
- Upgrade.chat API Documentation (Assumed typical location, verify actual docs)
- n8n documentation on Creating Custom Nodes
