Create Product
stripe.create_product
ActionBusiness appsconnection required
Calls the Stripe API with the connection's secret key.
Create a product in the Stripe catalog.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Stripe
- Secret shape
- the Stripe secret key (sk_...)
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
name The product name customers see on invoices and receipts. | string | Yes | — | — | Gold Plan |
description Longer description shown on checkout pages and invoices. | string | No | — | — | — |
url A public page describing the product. | string | No | — | url format | — |
active Whether the product can be used for new purchases. Stripe defaults a new product to active. | boolean | No | — | — | — |
metadata Key/value pairs stored on the product and returned on every read. | object | No | — | — | — |
idempotency_key Overrides the key this node derives from the step. Set it to a business identifier (an order id, say) when the same write must not repeat across runs; leave it blank and a retry of this step reuses the step's own key. | string | No | — | ≤ 255 characters | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"name": "Gold Plan"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The product id (prod_...). | string | — |
name The product name shown to customers. | string | — |
description The product description, or null. | string | — |
active True when the product can be used for new purchases. | boolean | — |
default_price The product's default price id, or null. | string | — |
url A public page for the product, or null. | string | — |
created Creation time, as a Unix timestamp in seconds. | number | — |
metadata The key/value pairs stored on the product. | object | — |
{
"active": false,
"created": 0,
"default_price": "",
"description": "",
"id": "",
"metadata": {},
"name": "",
"url": ""
}See Create Product run in a workflow.
In a technical demo we add the Stripe connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.