Creating a product
Navigate to products section and click create product- Fill in a name. This will be used to create a product in Stripe and show up on your checkout pages.
- Fill in an ID. You’ll use this when using Autumn’s APIs or SDKs to refer to this product.
- Click “Create Product”. You’ll be taken to the product editing page.
Product items
Products are made up of product items. These can be:- Features - define the features that your customers get access to with this product
- Prices - how much customers should pay for this tier. These can be one off prices or subscriptions
- Feature Prices - for charging based on usage of a feature, you can add both a feature and price together
Product Properties
Default Product
Set this is the product should be automatically applied to a customer when they’re created. This is typically for free products that give customers access to a limited set of features without paying.If you set a product to be default, and it has a price, Autumn will still
apply it to the customer. However, since there are no payment details for the
customer by default, Autumn will send an invoice the customer’s email.
Add on Product
Set this if the product is an add on. This will mean it can be purchased together with other productsProduct Groups
If you have multiple groups of subscriptions, and customers can have a product from each of these subscription groups live at the same time, use this field. All product tiers from the same group should have the same value.ExampleLet’s say you have two different types of chatbots - one for customer support and one for sales. You want customers to be able to have both types of chatbots at the same time, but only one tier from each type.You would create two product groups:
-
“Customer Support Chatbots” (group: “support”)
- Basic ($49/month - 1,000 tickets)
- Advanced ($149/month - 5,000 tickets)
- Enterprise ($399/month - Unlimited tickets)
-
“Sales Chatbots” (group: “sales”)
- Starter ($79/month - 500 leads)
- Growth ($199/month - 2,000 leads)
- Enterprise ($499/month - Unlimited leads)
Free Trials
You can set a free trial for a product with prices. This will give customers a set amount of days to try the product for free. To enable a free trial:- Go to the product page
- In the sidebar, you’ll see a “Free Trials” section. Click on the + icon to add a new free trial
- In the popup, fill in the how many days the trial should last.
- Click “Update Product”
If you’re using the customer
fingerprint
field, you can also choose to limit
the free trial to one per customer.Using the CLI
The schema for our
product
and feature
builders follows the same schema as
our API.Example autumn.config.ts
Example autumn.config.ts
autumn.config.ts
npx atmn auth
to authenticate yourself with the CLI.
Then run npx atmn push
to push your changes to Autumn’s sandbox environment.