Workflows
Blocks
Integrations
Stripe

Stripe Action Block

The Stripe Action Block runs Stripe operations from your workflow — create charges and payment links, manage customers and subscriptions, issue refunds, send invoices, and more. 42 operations are available.

Payment Automation: Combine this block with the Stripe Trigger — for example, generate a payment link here, then react to payment_intent.succeeded in another workflow when the customer pays.

Key Features

  • 42 Operations across charges, customers, subscriptions, checkout, invoices, refunds, products, and more
  • Payment Links in One Step: Create a shareable payment URL from a Price ID
  • Full Subscription Lifecycle: Create, update, cancel — with trials, proration, and coupons
  • Invoice Lifecycle: Create, finalize, send, pay, and void invoices
  • Variable Support: Every field accepts {{variables}} from earlier blocks

Operations

GroupOperations
ChargesCreate Charge, Get Charge, List Charges, Update Charge
CustomersCreate Customer, Get Customer, Update Customer, List Customers, Delete Customer
PaymentsCreate Payment Intent, Get Payment Intent, Create Payment Link
InvoicesCreate Invoice, List Invoices, Finalize Invoice, Send Invoice, Pay Invoice, Void Invoice
BalanceGet Balance
CouponsCreate Coupon, List Coupons
CardsAdd Customer Card, Get Customer Card, Remove Customer Card
SubscriptionsCreate Subscription, Get Subscription, List Subscriptions, Update Subscription, Cancel Subscription
Checkout SessionsCreate Checkout Session, Get Checkout Session, Expire Checkout Session
RefundsCreate Refund, Get Refund, List Refunds
Products & PricesCreate Product, List Products, Create Price, List Prices
Payment MethodsList Payment Methods, Create Setup Intent, Create Billing Portal Session

Create Payment Link needs a Price ID (price_...), not a raw amount. Create the product and price first (Create Product → Create Price, or in the Stripe Dashboard), then pass the Price ID. The result contains the shareable URL — reference it as {{blockId.url}}.


Configuration

Each operation shows only the fields it needs. Common ones:

ParameterUsed byDescription
AmountCharges, Payment IntentsAmount in the smallest currency unit (e.g. 2000 = $20.00)
CurrencyCharges, Payment Intents, PricesThree-letter code like usd, inr
Customer IDMost customer-related operationsThe cus_... id
Price IDPayment Links, Subscriptions, CheckoutThe price_... id
Success URL / Cancel URLPayment Links, CheckoutWhere the customer lands after paying or canceling
ModeCheckout Sessionspayment, subscription, or setup
Cancel At Period EndSubscriptionstrue schedules the cancel at period end instead of immediately
Metadata (JSON)ManyJSON object of key/value metadata

Connecting Stripe

  1. Add the Stripe block to your workflow and open its settings.
  2. Click to add a new Stripe connection.
  3. Paste your Secret Key (sk_live_... or sk_test_...) from the Stripe Dashboard under Developers → API keys.
  4. Save and select the credential in the block.
⚠️

This Stripe integration credential (Secret Key) is separate from the Stripe credential used by the bot Payment input block (which stores publishable + secret key pairs). Connecting one does not create the other.


Output

The Stripe API response is stored as the block's output. Reference any field downstream with {{blockId.field}}:

ExampleDescription
{{blockId.url}}The payment link URL from Create Payment Link
{{blockId.id}}The id of the created object (ch_..., cus_..., sub_...)
{{blockId.status}}Object status (e.g. succeeded, active)
{{blockId.data}}The list of items from List operations

Example: Send a payment link by email

  1. Webhook Trigger — receives an order with the customer's email.
  2. Stripe (Create Payment Link) — passes the Price ID of the ordered product.
  3. Gmail (Send Email) — emails the customer with {{stripeBlock.url}} in the body.
  4. A second workflow with a Stripe Trigger on payment_intent.succeeded marks the order as paid.

Related

  • Stripe Trigger — start a workflow when Stripe sends a webhook event
Indite Documentation v1.7.1
PrivacyTermsSupport