Get Product
stripe.get_product
ActionBusiness appsconnection required
Calls the Stripe API with the connection's secret key.
Retrieve one Stripe product by its id.
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
1 field, 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 |
|---|---|---|---|---|---|
product_id The product to retrieve (prod_...). Supports {{ }} expressions. | string | Yes | — | — | prod_NZKdYqrwEYx6iK |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"product_id": "prod_NZKdYqrwEYx6iK"
}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 Get 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.