What it is for
Subscription billing and revenue operations platform for managing customers and subscriptions.
Chargebee triggers react instantly to events in the app.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Chargebee and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Chargebee step, click "Connect" and paste it into: Site, API Key.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Site | Text | Yes |
| API Key | Secret key | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Subscription: fill in Customer ID, Item Price ID; use the data selector to map values from earlier steps.
- Cancel Subscription: fill in Subscription ID; use the data selector to map values from earlier steps.
- Create Customer: no required fields; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (8)
Events that can start a flow. Expand each one to see its fields.
Subscription CreatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Subscription CancelledWebhook (paste the URL in the app)0 fields
No fields to configure.
Subscription RenewedWebhook (paste the URL in the app)0 fields
No fields to configure.
Subscription ChangedWebhook (paste the URL in the app)0 fields
No fields to configure.
Payment SucceededWebhook (paste the URL in the app)0 fields
No fields to configure.
Payment FailedWebhook (paste the URL in the app)0 fields
No fields to configure.
Invoice GeneratedWebhook (paste the URL in the app)0 fields
No fields to configure.
Customer CreatedWebhook (paste the URL in the app)0 fields
No fields to configure.
Actions (5)
Operations available as flow steps. Expand each one to see its fields.
Create Subscription14 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | Yes |
| Item Price ID | Text | Yes |
| Quantity | Number | No |
| Auto Collection | Fixed list | No |
| Billing Cycles | Number | No |
| Trial End (Unix Seconds) | Number | No |
| Start Date (Unix Seconds) | Number | No |
| Coupon ID | Text | No |
| PO Number | Text | No |
| Invoice Notes | Long text | No |
| Payment Source ID | Text | No |
| Invoice Immediately | Yes / No | No |
| Net Term Days | Number | No |
| Metadata | Key / value pairs | No |
Cancel Subscription15 fields
| Field | Type | Required |
|---|---|---|
| Subscription ID | Text | Yes |
| Cancel Option | Fixed list | No |
| Cancel At (Unix Seconds) | Number | No |
| Cancel Reason Code | Text | No |
| Credit Option for Current Term Charges | Fixed list | No |
| Unbilled Charges Option | Fixed list | No |
| Contract Term Cancel Option | Fixed list | No |
| Account Receivables Handling | Fixed list | No |
| Refundable Credits Handling | Fixed list | No |
| Invoice Date (Unix Seconds) | Number | No |
| Decommission | Yes / No | No |
| Termination Fee Item Price ID | Text | No |
| Termination Fee Quantity | Number | No |
| Termination Fee Unit Price (cents) | Number | No |
| Termination Fee Service Period (Days) | Number | No |
Create Customer23 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | No |
| First Name | Text | No |
| Last Name | Text | No |
| Text | No | |
| Company | Text | No |
| Phone | Text | No |
| Locale | Text | No |
| Preferred Currency Code | Text | No |
| Auto Collection | Fixed list | No |
| Net Term Days | Number | No |
| Allow Direct Debit | Yes / No | No |
| VAT Number | Text | No |
| Taxability | Fixed list | No |
| Invoice Notes | Long text | No |
| Metadata | Key / value pairs | No |
| Billing Address: First Name | Text | No |
| Billing Address: Last Name | Text | No |
| Billing Address: Line 1 | Text | No |
| Billing Address: Line 2 | Text | No |
| Billing Address: City | Text | No |
| Billing Address: State | Text | No |
| Billing Address: ZIP / Postal Code | Text | No |
| Billing Address: Country | Text | No |
Get Customer1 fields
| Field | Type | Required |
|---|---|---|
| Customer ID | Text | Yes |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
