Create Subscription
Creates a subscription in Stripe.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node (optional if credentials provided) |
| Customer ID | inCustomerID | The customer to subscribe (cus_...) |
| Metadata | optMetadata | Key-value pairs for additional data (optional) |
| Price ID | inPriceID | The price ID for the subscription item (price_...) |
Outputs
| Property | Field | Description |
|---|---|---|
| Result | outResult | Created subscription object |
| Subscription ID | outSubscriptionID | The created subscription's ID |
Options
| Property | Field | Description |
|---|---|---|
| Credentials | optCredentials | Stripe API key |
| Trial Period Days | optTrialDays | Number of trial days before billing starts |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
- Stripe API Key — Secret API key for Stripe authentication
value— Secret Key (password, required). Your Stripe Secret API key (starts with sk_test_ or sk_live_)
Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.
Related nodes
Cancel Subscription · Get Subscription · List Subscriptions
Elsewhere in the package: Connect · Disconnect · Create Customer · Get Customer · Update Customer · Delete Customer · List Customers · Search Customers · Create Payment Intent · Get Payment Intent and 17 more
See also
- Stripe — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries