Stripe

Paste an API key

Pull payment, invoice and customer data into flows — perfect after a Stripe webhook.

What you can do

What can you do with Stripe and ASHDOCS?

Stripe tells you a payment happened, and ASHDOCS turns it into paperwork. With a Stripe webhook pointed at your flow, the Look up in Stripe step fetches the full payment intent, charge, invoice, customer or checkout session by ID, and every field Stripe returns is open to later steps. It only reads, so it can't change anything in your Stripe account.

Example flow

  1. 1Trigger: When a webhook arrives. Stripe sends a checkout.session.completed event to the flow's URL.
  2. 2Look up in Stripe, with What to fetch set to checkout_session and Object ID {{trigger.body.data.object.id}}.
  3. 3Create an invoice PDF, with the amount and customer details taken from the session's data.
  4. 4Save to Dropbox, with Folder path set to Sales/Invoices.
  5. 5Add a row to Google Sheets, with the session ID, the amount and the currency from the lookup.
  6. 6Result: Each completed checkout produces an invoice PDF in Dropbox and a line in your sales sheet.

Get your Stripe credentials

  1. 1In the Stripe Dashboard open Developers → API keys.
  2. 2Best practice: click Create restricted key and grant Read on the objects you need (Payment Intents, Customers, Invoices, Charges, Checkout Sessions).
  3. 3Copy the key (rk_live_… / sk_live_…, or the test-mode equivalent).

Add the connection in ASHDOCS

  1. 1Open the Connections page in the flows console.
  2. 2Click “Connect with a key” and pick Stripe.
  3. 3Paste: Secret key. ASHDOCS validates the credentials against Stripe before saving — a bad key is rejected with a plain-English reason, never stored.

Use it in a flow

In the flow builder, add the Stripe step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.

Troubleshooting

“Stripe couldn't find that payment intent”
Check you're using the matching mode — a test-mode key can't read live objects and vice-versa.
Fields come back empty in later steps
Reference them as {{sX.data.amount}}, {{sX.data.customer}} etc. — the lookup output lives under data.

FAQ

Does ASHDOCS ever charge cards?

No. The Stripe step is read-only — it looks objects up, nothing else.

How do I trigger on a payment?

Add a Stripe webhook (payment_intent.succeeded) pointing at your flow's webhook URL, then template {{trigger.body.data.object.id}} into the lookup step.

Which Stripe objects can the step fetch?

Five kinds: payment intents, customers, invoices, charges and checkout sessions. Pick one under What to fetch and pass its ID.

Can I build the flow with a test-mode key?

Yes. A test key reads test objects only, and the dashboard link the step returns opens Stripe's test mode.

Connect Stripe →All 28 integrations